lib/android: update README with info on the 2 core implementations
authorAlexis Laferrière <alexis.laf@xymus.net>
Fri, 13 May 2016 16:26:24 +0000 (12:26 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Mon, 16 May 2016 21:49:27 +0000 (17:49 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

lib/android/README.md

index 47e0cec..b6bcf7e 100644 (file)
@@ -64,7 +64,16 @@ integer as argument. They are applied in the Android manifest as
   only be used by low-level implementations of Nit on Android.
   Its usefulness will be extended in the future to customize user applications.
 
-## Project entry points
+## Android implementation
+
+There is two core implementation for Nit apps on Android.
+`android::nit_activity` is used by apps with standard windows and native UI controls.
+`android::game` is used by, well, games and the game frameworks `mnit` and `gamnit`.
+
+Clients don't have to select the core implementation, it is imported by other relevant modules.
+For example, a module importing `app::ui` and `android` will trigger the importation of `android::nit_activity`.
+
+## Lock app orientation
 
 Importing `android::landscape` or `android::portrait` locks the generated
 application in the specified orientation. This can be useful for games and