Archive

Archive for the ‘Development’ Category

How to install the Android SDK on Mac OS X

  • Download the latest version of the Android SDK
  • Unzip it and move it where needed, e.g. to your user directory
    unzip ~/Downloads/android-sdk_r11-mac_x86.zip
  • Open Terminal.app (in /Applications/Utilities)
  • Edit ~/.profile and append (if you have the SDK moved to your user directory):
    export PATH=~/android-sdk-mac_x86/platform-tools:~/android-sdk-mac_x86/tools:$PATH
    export ANDROID_HOME=~/android-sdk-mac_x86
  • Load new .profile
    source .profile
  • Run Android SDK Manager
    android
  • Install Components
Categories: Android, Development, Mac OS X

Waiting for HOME (‘android.process.acore’) to be launched…

After starting my Android App i got the information ‘Waiting for HOME (‘android.process.acore’) to be launched…’ in the Console, but it didn’t launched it.

Go to Project->Clean… and clean your project. Wait for few seconds and then right click on the project and click run as android application once again.

This solution works for me.

Categories: Android, Development

Android Emulator skins

You can find emulator skins here.

The HTC Legend skin is downloadable here.

Installation
Just copy the skin folder with the images to <Android SDK>/platforms/android-x/skins/

Categories: Android, Development

Free Icons for iOS, Android & Windows Phone 7

WARNING: Application does not specify an API level requirement!

You have to add the following line in your manifest:

<uses-sdk android:minSdkVersion=”8″ />

The following table specifies the API Level supported by each version of the Android platform.

Platform Version API Level
Android 4.1.1

Android 4.1

16
Android 4.0.4

Android 4.0.3

15
Android 4.0.2

Android 4.0.1

Android 4.0

14
Android 3.2 13
Android 3.1.x 12
Android 3.0.x 11
Android 2.3.4

Android 2.3.3

10
Android 2.3.2

Android 2.3.1

Android 2.3

9
Android 2.2.x 8
Android 2.1.x 7
Android 2.0.1 6
Android 2.0 5
Android 1.6 4
Android 1.5 3
Android 1.1 2
Android 1.0 1

For more informations have a look at http://developer.android.com/guide/appendix/api-levels.html.

Categories: Android, Development

Android Device / Emulator Screen Capture

There is an easy way to capture your phone screen with the Dalvik Debug Monitor.


First activate Applications->Development->USB debugging on your phone.

Then connect your phone via USB cable and start ddms in the /tools/ directory of  your Android SDK installation.

In the Dalvik Debug Monitor select your real or emulated device and Device->Screen capture…

With this handy tool you can capture and save the screen of your device really easy.

Categories: Android, Development