Skip to content

Commit

Permalink
(incomplete) Add files required to compile for Android via Pico driver.
Browse files Browse the repository at this point in the history
Don't get your hopes up just yet: this code does compile, but it doesn't fully link yet. If you like to test this, install the Android SDK and NDK, set the usual environment variables, then change into the "Android" direktory and run "mk". It will currently fail at the linker stage.

git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
  • Loading branch information
Matthias Melcher committed Mar 11, 2016
1 parent 31fcd84 commit ac1932e
Show file tree
Hide file tree
Showing 22 changed files with 1,188 additions and 23 deletions.
31 changes: 31 additions & 0 deletions Android/FL/abi-version.h
@@ -0,0 +1,31 @@
/*
* "$Id: abi-version.cmake.in 10788 2015-07-13 18:17:33Z AlbrechtS $"
*
* Configuration file for the Fast Light Tool Kit (FLTK).
*
* Copyright 1998-2015 by Bill Spitzak and others.
*
* This library is free software. Distribution and use rights are outlined in
* the file "COPYING" which should have been included with this file. If this
* file is missing or damaged, see the license at:
*
* http://www.fltk.org/COPYING.php
*
* Please report all bugs and problems on the following page:
*
* http://www.fltk.org/str.php
*/

/*
============================================================================
DO NOT EDIT - This file is generated by CMake !
============================================================================
*/

/* define FL_ABI_VERSION as 10x0y for FLTK ABI version 1.x.y */

/* #undef FL_ABI_VERSION */

/*
* End of "$Id: abi-version.cmake.in 10788 2015-07-13 18:17:33Z AlbrechtS $".
*/
5 changes: 5 additions & 0 deletions Android/adb-run.sh
@@ -0,0 +1,5 @@
PATH=$(dirname $(which android))/../build-tools/21.1.1:$PATH
pkg=$(aapt dump badging $1|awk -F" " '/package/ {print $2}'|awk -F"'" '/name=/ {print $2}')
act=$(aapt dump badging $1|awk -F" " '/launchable-activity/ {print $2}'|awk -F"'" '/name=/ {print $2}')
adb shell am start -n $pkg/$act

0 comments on commit ac1932e

Please sign in to comment.