Chris Hager
Programming, Technology & More

Advice for Android Developers: Prepare for App Acquisition

Here’s a brief but important advice for Android app developers: starting with your first app, prepare for the situation where a company wants to acquire one of your applications. Use a unique signing key (alias) for each app! Else you’ll be forced to either cancel the acquisition or hand out the key you use for other apps as well.

http://developer.android.com/guide/publishing/app-signing.html:

Android requires that all apps be digitally signed with a certificate before they can be installed. Android uses this certificate to identify the author of an app, and the certificate does not need to be signed by a certificate authority. Android apps often use self-signed certificates. The app developer holds the certificate's private key.

I hope this post might help to avoid a similar situation for other developers.


Useful Linux Command of the Day - compgen

I’ve just learned about a particularly nice Linux shell command: compgen

$ compgen -c … list all the commands you could run.
$ compgen -a … list all the aliases you could run.
$ compgen -b … list all the built-ins you could run.
$ compgen -k … list all the keywords you could run.
$ compgen -A function … list all the functions you could run.
$ compgen -A function -abck … list all the above in one go.

 


How to Setup Android 2.3 (Gingerbread) in Eclipse, including the Galaxy Tab SDK

Today Android version 2.3 (Gingerbread, API Level 9) was released, including an updated Android plugin for Eclipse and the API Level 9 SDK.

The release includes some very welcome updates for both users and developers, including better text selection tools, access to more sensor data, improved garbage collection, updated video drivers for better OpenGL performance, a new media framework including VP8 video compression, WebM video container format, AAC audio encoding and AMR wideband encoding. Furthermore Android now natively supports SIP (Session Initiation Protocol) and NFC (Near Field Communication). For a complete list of updates have a look at the following pages:

Everyone new to Android can simply follow the standard Android SDK installation procedure. Those of us who already have an Android SDK running need to perform the following steps:

  1. Update the Android plugin for Eclipse
  2. Install the new SDK (SDK for API Level 9 – Android 2.3, Gingerbread)
  3. Create a new emulator with Android 2.3

Step 1: Update the Android plugin for Eclipse

Step 2: Install the new SDK




Android API Level 9 including docs and samples should be installed and ready to go, after a restart of Eclipse. For some reason it might stop the installation after the Galaxy Tab SDK setup without having installed the new Android SDK — in that case start again with step 2 and install what is still available there.

Step 3: Setting up a new emulator

In the “Android SDK and AVD Manager” window, click on “New”, and select your preferred settings:

That’s it!

Blog Archive
swirl