Site Map - skip to main content - dyslexic font - mobile - text - print

Hacker Public Radio

Your ideas, projects, opinions - podcasted.

New episodes Monday through Friday.


hpr1562 :: Android For The cli/c Junkie

This episode should be your companion while installing the android SDK/NDK and creating C-bases apps

<< First, < Previous, Latest >>

Host Image
Hosted by sigflup on 2014-07-29 is flagged as Clean and is released under a CC-BY-SA license.
Listen in ogg, spx, or mp3 format. | Comments (0)

These are the places your sdk/ndk/ant goes:

/usr/local/share/android-ndk-r9d
/usr/local/share/android-sdk-linux
/usr/local/share/ant

This is an archive of /usr/local/share/android-sdk-linux/bin, which is the directory you create.
http://theadesilva.com/hpr_bin.tar.gz

This is what /etc/profile.d/android.sh looks like:

export ANT_HOME=/usr/local/share/ant
export JAVA_HOME=/usr/
export PATH=$PATH:/usr/local/share/android-sdk-linux/bin:$ANT_HOME/bin

here's the example app:
http://theadesilva.com/pants.tar.gz
uncompress it and type "make", that produces app.apk to run on your device.


Comments

Subscribe to the comments RSS feed.

Leave Comment

Powered by Comment Script