summaryrefslogtreecommitdiff
path: root/README.Android.txt
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2018-03-31 21:29:33 +0000
committerMatthias Melcher <fltk@matthiasm.com>2018-03-31 21:29:33 +0000
commit936fbd096f3cf1df506bf98a7dd9bece5391b624 (patch)
treefe873e6e4c3fd1a5304971be6ec8847dd2a48199 /README.Android.txt
parente4916d617e989faefa8f8c1004e20174a0efcbdb (diff)
Android: Drawing RGB image data (and probaly rgba and grayscale as well). Testing unsing test/color_chooser.cxx
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12817 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'README.Android.txt')
-rw-r--r--README.Android.txt33
1 files changed, 28 insertions, 5 deletions
diff --git a/README.Android.txt b/README.Android.txt
index fc3ed0ae7..21f7fcc8f 100644
--- a/README.Android.txt
+++ b/README.Android.txt
@@ -10,8 +10,9 @@ CONTENTS
--------
1 Building FLTK with Android Studio 3
- 2 Extensions and limitation of FLTK on Android
- 3 DOCUMENT HISTORY
+ 2 Building Apps on an Android device with C4Droid
+ 3 Extensions and limitation of FLTK on Android
+ 4 DOCUMENT HISTORY
BUILDING FLTK SAMPLE WITH ANDROID STUDIO 3
@@ -33,12 +34,33 @@ device, you are ready to install FLTK.
- click "run"; the project should compile and run out of the box
+Building Apps on an Android device with C4Droid
+-----------------------------------------------
+
+WORK IN PROGRESS:
+C4Droid is a minimal IDE that comes with gcc/g++ and runs directly on your
+Android device. C4Droid supports Native Activities, SDL, SDL2, and even Qt.
+FLTK uses the Native Activity mechanism, so why not write FLTK apps right
+on your phone?
+
+ - compile and test the Android test app in ide/HelloAndroid
+ - create /sdcard/include/ and /sdcard/lib/ on your Android device
+ - copy (fltk)/FL/ and its content into /sdcard/include/
+ - copy (fltk)/ide/AndroidStudio3/FL/abi-version.h to /sdcard/include/FL/
+ - copy (fltk)/ide/AndroidStudio3/./app/.externalNativeBuild/cmake/debug/arm64-v8a/fltk/lib/libfltk.a
+ to /sdcard/lib/
+ - ... change Native Activity settings in c4Droid preferences
+ - ... remove native glue
+ - ... add include and library path, add library
+ - ... add support for (which?) STL library
+
+
Extensions and limitation of FLTK on Android
--------------------------------------------
-Android support for FLTK is in a very early stage. As of March 2018, very basic
-rendering works, text rendering work, clipping works, window layering works,
-and mouse clicks (touch events) are detected.
+Android support for FLTK is in an early stage. As of March 2018, most
+rendering works, fonts work, bitmaps and pixmaps work, clipping works, window
+layering works, and mouse clicks and keyboard events are handled
When loading fonts:
- font names starting with a $ will have the system font path inserted
@@ -53,6 +75,7 @@ Limitations:
DOCUMENT HISTORY
----------------
+Mar 29 2018 - matt: many graphics functions ahve been implemented, keyboard
Mar 17 2018 - matt: added Android extensions for fonts
Mar 12 2018 - matt: started list of limitation that serevs as information to the
user as much as a todo list for core developers