Really chuffed my talk on Hardening your Android app ws accepted at Devoxx UK on 26th/27th March. Devoxx is a diverse conference for all Java technologies, so come along a say hi. Feel free to use the 10% off code  SPUK13.


What’s in the talk:

  • Encryption and key management on Android
  • Using SSL better
  • Android Permissions made easy
  • Make it harder to pirate/repackage your app

Plus a bunch of other tips I’ve picked up along the way.

After a recent hard disk failure I found myself hunting around for the various system config things and thought I’d blog it to ensure I knew where to look next time and to maybe save someone 5mins.

Backup Documents folder to Dropbox

An easy way to ensure you docs on mac are safe is to Create a Symlink from to Documents to a folder in Dropbox. Assuming you have Dropbox installed to the standard place in your home dir. Open the terminal type:
ln -s ~/Documents/ ~/Dropbox/MyMacDocs

That’s it, all done. You should she the files and folder start to sync

Add adb to Path so you can use it in the terminal

If like me your an android dev you know its useful to access adb from the terminal. Heres how…. Create a file called .profile in your user dir (~/ or /Users/<;>;/) Open the .profile file and add the following line:

export PATH=/Users/<;>;/android-sdk-macosx/platform-tools:$PATH

Now restart the terminal and type adb version

If all went ok you should get the following response Android Debug Bridge version 1.0.29

Show hidden files

Another useful thing todo on mac is to show hidden files. Open the terminal type:

defaults write AppleShowAllFiles YES

Kindle fireFinally the new Kindle ‘Fire’ was announced yesterday with much promise for content and mass market pricing. As a consumer I’m really excited about an android tablet at that price with the potential to sell millions.

As a Android developer I’m still stoked ,  true it’s a highly customised version of Android (which i’m coining the phrase “Amzoid”) and which api level or specific system features are still unconfirmed (based on 2.1 I hear rumoured). An app approval process to boot!

So my life just got more complicated but I see it as an challenge.  The same as I see the current fragmentation issues; it being a developer challenge rather than an issue for customer and businesses.

My biggest questions to Amazon are

a) When can we get the great cloud based music and video player’s in the UK?!

b) When can UK devs get hold of one?

I got together with Sarah at Mubaloo and wrote a few articles and they got published, yay! check them out: [be prepared for the big head shot :S ] [extra points for those who spot the misspelling of Bown ;)]

Just encase anyone else was curious as me about gambling on Android marketplace or the alternatives.

Gambling is not permitted on the Android marketplace. Quote from the t&c‘s  “Gambling: We don’t allow content or services that facilitate online gambling, including but not limited to, online casinos, sports betting and lotteries.” –

Alternative app stores:

  • Vodafone and Orange have their own Android app stores, however Vodafone note that can’t be “Gambling-related”, confident Orange will be the same.
  • Amazon app store is US only

So it looks as if getjar is the only viable app store at the moment that allows gambling apps in addition to distributing directly (which you can do with Android). For example client could have the application .apk downloadable from their website.

Hope this saves someone time when looking it up.

Managed to make it in to Android Magazine issue 3 with an interview I did about Sony/Amazon Android tablets. Check out page 7, here’s a PDF scan of the article that someone else scanned in [honest].

If you haven’t read the magazine yet it’s well worth checking out, it’s not just for geeks like me 😉

Updated with correct cover image and link to info

Developing  Android on Ubuntu? here’s how to define your JAVA HOME and PATH:

What you’ll need:

  • Path to your Java installation
  • Path to your Android SDK installation
  • admin password

On windows you’d edit your environment variables, on linux you edit the .bashrc file.

Run this command:
sudo gedit $HOME/.bashrc

prompted for admin password.

Add the following lines to your .bashrc. Please ensure where you installed the Java libraries and your android sdk. The below reflects default installation directories.

export JAVA_HOME=”/usr/lib/jvm/java-6-sun-;”
export PATH=$PATH:$JAVA_HOME/bin
export PATH=$PATH:$HOME”/android-sdk-linux_86/platform-tools”

Save file.

Run this command to reload your .bashrc:
source ~/.bashrc

Test by typing adb version
You should get something like
Android Debug Bridge version 1.0.26