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

Note to Verbose Commenters
If you can't fit everything you want to say in the comment below then you really should record a response show instead.

Note to Spammers
All comments are moderated. All links are checked by humans. We strip out all html. Feel free to
record a show about yourself, or your industry, or any other topic we may find interesting. We also check shows for spam :).

Provide feedback
Your Name/Handle:
Title:
Comment:
Anti Spam Question: What does the P in HPR stand for ?
Are you a spammer →
Who hosted this show →
What does HPR mean to you ?