Category: Android

Step by step instructions on signing your android app [.apk] to get google maps api key

Paste this exactly to get your MD5 key: C:Program FilesJavajdk1.6.0_20bin>keytool.exe -list -alias androiddebugkey – keystore “C:Documents and Settingstest.androiddebug.keystore” -storepass android -keypass android Also there is a bug in eclipse, where in you will get a greyed out map with only tiles. Use this to correct that: The solution was to set the “Custom debug keystore”

Continue Reading →

Displaying a background image in Android

Goto your res folder as shown in image below add a background image. After adding a background image, goto the main.xml and add the below text: <ImageView android:layout_height=”wrap_content” android:layout_width=”wrap_content” android:src=”@drawable/background” /> Note: Do not add the extn to the image name, it wont recognize the file and give an error. Next goto your main class

Continue Reading →