fltk/ide/AndroidStudio3
Albrecht Schlosser 2153a93430 Fix line endings.
Note: we recommend `git config core.autocrlf true'.
2018-12-20 19:42:17 +01:00
..
app Android: fixed fl_beep to plat different sound for differen beep types, testing Doxygen to generate driver developer documentation 2018-06-23 10:06:04 +00:00
FL Android: moved include files as well 2018-03-05 23:27:31 +00:00
gradle/wrapper Android: Implemented Pixmap drawing, also much cleanup in Fl_Android_Graphics_Driver. 2018-03-27 21:54:04 +00:00
AndroidStudio3.iml Android: moved to IDE directory. 2018-03-05 23:17:51 +00:00
build.gradle Android: Updated to current Android Studio and NDK, fixed STL to use Google provided ANdroid STL. 2018-06-21 11:17:07 +00:00
gradlew Android: moved to IDE directory. 2018-03-05 23:17:51 +00:00
gradlew.rename_to_bat Fix line endings. 2018-12-20 19:42:17 +01:00
HelloAndroid.iml Android: moved to IDE directory. 2018-03-05 23:17:51 +00:00
README.md Android: Fixed bug when deleting complex clipping areas 2018-03-18 13:44:37 +00:00
settings.gradle Android: finally taught AndroidStudio where the SVN root directory is 2018-03-10 17:35:00 +00:00

Hello Android

Hello Android is an FLTK sample app that derives from the Android Studio sample project Native Plasma. This sample uses Android Studio 3 and CMake.

Pre-requisites

  • Android Studio 3.0+ with NDK bundle.

Getting Started

  1. Download Android Studio
  2. Launch Android Studio.
  3. Open the Android directory inside the FLTK directory.
  4. Open the AndroidStudio project by loading the HelloAndroid directory.
  5. Click Run/Run 'app'.

Micrososft Windows Users

The file 'gradlew.zip' must be unzipped before you can use AndroidStudio. It contains the required file 'gradlew.bat'. This was neccessary because some svn setups block anything that looks like an executable file, including files that end in .bat .

Support

If you've found an error in these samples, please file an issue. Patches are encouraged, and may be submitted via the same FLTK Bug & Feature system.

Please visit the FLTK Forum for additional help.

License

FLTK is provided under the terms of the GNU Library Public License, Version 2 with exceptions that allow for static linking.

Android Shell

am start -n org.fltk.android_hello/android.app.NativeActivity am force-stop org.fltk.android_hello

stop setprop libc.debug.malloc 10 // setprop libc.debug.malloc.program org.fltk.android_hello setprop libc.debug.malloc.options "guard fill" start