You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
rubenwardy f85e9ab925
Add nametag background setting and object property (#10937)
11 months ago
mkdocs Update API site build (#9622) 2 years ago Add all src folders to doxygen (#9603) 2 years ago Android: add Android Studio support, completely redone java part (#9066) 2 years ago
builtin_entities.txt Document builtin entities (#9453) 1 year ago
client_lua_api.txt Fix double word "true" in minetest.is_nan explanation (#10820) 1 year ago
fst_api.txt Add HTTP API to main menu (#9998) 2 years ago
lgpl-2.1.txt Remove doc/gpl-2.0.txt, add doc/lgpl-2.1.txt 8 years ago
lua_api.txt Add nametag background setting and object property (#10937) 11 months ago
main_page.dox Actually add Doxygen main page 6 years ago
menu_lua_api.txt Use consistent temp folder path (#10892) 12 months ago
minetest.6 Add LevelDB player database (#9982) 2 years ago
minetestserver.6 Clean up and tweak build system 7 years ago
mod_channels.png Implement mod communication channels (#6351) 4 years ago
protocol.txt Protocol Docs: Python check bump to Python 3 3 years ago
texture_packs.txt Implement override.txt support for special tiles (#10140) 1 year ago
world_format.txt Removed some obsolete code (#10562) 1 year ago

Minetest: Android version

The Android port doesn't support everything you can do on PC due to the
limited capabilities of common devices. What can be done is described

While you're playing the game normally (that is, no menu or inventory is
shown), the following controls are available:
* Look around: touch screen and slide finger
* double tap: place a node or use selected item
* long tap: dig node
* touch shown buttons: press button
* Buttons:
** left upper corner: chat
** right lower corner: jump
** right lower corner: crouch
** left lower corner: walk/step...
left up right
** left lower corner: display inventory

When a menu or inventory is displayed:
* double tap outside menu area: close menu
* tap on an item stack: select that stack
* tap on an empty slot: if you selected a stack already, that stack is placed here
* drag and drop: touch stack and hold finger down, move the stack to another
slot, tap another finger while keeping first finger on screen
--> places a single item from dragged stack into current (first touched) slot

Special settings
There are some settings especially useful for Android users. Minetest's config
file can usually be found at /mnt/sdcard/Minetest.

* gui_scaling: this is a user-specified scaling factor for the GUI- In case
main menu is too big or small on your device, try changing this


In order to build, your PC has to be set up to build Minetest in the usual
manner (see the regular Minetest documentation for how to get this done).
In addition to what is required for Minetest in general, you will need the
following software packages. The version number in parenthesis denotes the
version that was tested at the time this README was drafted; newer/older
versions may or may not work.

* Android SDK 29
* Android NDK r21
* Android Studio 3 [optional]

Additionally, you'll need to have an Internet connection available on the
build system, as the Android build will download some source packages.


The new build system Minetest Android is fully functional and is designed to
speed up and simplify the work, as well as adding the possibility of
cross-platform build.
You can use `./gradlew assemblerelease` or `./gradlew assembledebug` from the
command line or use Android Studio and click the build button.

When using gradlew, the newest NDK will be downloaded and installed
automatically. Or you can create a `` file and specify
`sdk.dir` and `ndk.dir` yourself.

* In order to make a release build you'll have to have a keystore setup to sign
the resulting apk package. How this is done is not part of this README. There
are different tutorials on the web explaining how to do it
- choose one yourself.

* Once your keystore is setup, enter build/android subdirectory and create a new
file "" there. Add following lines to that file:

><path to your keystore>
> key.alias=Minetest