diff options
| author | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-01-04 16:53:32 +0100 |
|---|---|---|
| committer | ManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com> | 2019-01-04 16:53:32 +0100 |
| commit | 2575e7ef6b7c49a8a660efa6eaaaa974b2295931 (patch) | |
| tree | f6dd5eb361b77fc2fdc9153f0238d40c690298cf /ide/AndroidStudio3/README.md | |
| parent | 06fdfaf8221b6c4bd5ff9d85a598e1387748eb6d (diff) | |
| parent | 51462930eba048d59c4bea031b671f88d48e75a2 (diff) | |
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'ide/AndroidStudio3/README.md')
| -rw-r--r-- | ide/AndroidStudio3/README.md | 49 |
1 files changed, 23 insertions, 26 deletions
diff --git a/ide/AndroidStudio3/README.md b/ide/AndroidStudio3/README.md index 3c27f64ea..60bdbcaf9 100644 --- a/ide/AndroidStudio3/README.md +++ b/ide/AndroidStudio3/README.md @@ -1,49 +1,46 @@ -Hello Android -============= +# 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](https://developer.android.com/ndk/) bundle. +## Pre-requisites +* Android Studio 3.0+ with [NDK](https://developer.android.com/ndk/) bundle. + + +## Getting Started -Getting Started ---------------- 1. [Download Android Studio](http://developer.android.com/sdk/index.html) 1. Launch Android Studio. -1. Open the Android directory inside the FLTK directory. -1. Open the AndroidStudio project by loading the HelloAndroid directory. +1. Open the `IDE` directory inside the FLTK directory. +1. Open the Android Studio project by loading the `AndroidStudio3` directory. 1. 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 -Support -------- If you've found an error in these samples, please [file an issue](http://www.fltk.org/str.php). Patches are encouraged, and may be submitted via the same FLTK Bug & Feature system. Please visit the FLTK [Forum](http://www.fltk.org/newsgroups.php) for additional help. -License -------- +## License + FLTK is provided under the terms of the [GNU Library Public License, Version 2 with exceptions](http://www.fltk.org/COPYING.php) that allow for static linking. -Android Shell -------------- -> am start -n org.fltk.android_hello/android.app.NativeActivity -> am force-stop org.fltk.android_hello +## Android Shell + +List of short little helpers: -> stop -> setprop libc.debug.malloc 10 -> // setprop libc.debug.malloc.program org.fltk.android_hello -> setprop libc.debug.malloc.options "guard fill" -> start +```bash +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 +``` |
