Category Archives: Android Tutorial

Resolved : How to change package name of an Android Application

If you upload your android application and google play deny by saying package already exist. Don’t worry it’s easy to change package name in android application using Eclipse. Eclipse makes very easy to change package names for your android application. … Continue reading

Resolved : Hindi Language Text showing boxes in Android Emulator

First of all you need to supply external font to your application generally it’s kruti ttf or vigyapti-hindi ttf files. put it in asset folder and then try following code. Typeface hindiTypeFace = Typeface.createFromAsset(getAssets(), “kruti.ttf”); TextView myTextView = (TextView)findViewById(; myTextView.setTypeface(hindiTypeFace); … Continue reading

Resolved : findViewById() returns null Android

First solutionc can be regenerate file. Try following : Eclipse -> Project -> Clean Sometimes during building, the class messes up and causes wrong references to id’s. so by cleaning project it may solve your problem. Second solution … Continue reading

Set Background Image in Android Application

If you want to add background image to any activity then use following code. and to apply background to whole application use the same background image for every layout or make custom layout and use it in your application.

How to install APK file in Android SDK Emulator

adb install command installs the application in emulator. Following are the options available with adb install command adb install [-l] [-r] [-s] – push this package file to the device and install it (‘-l’ means forward-lock the app) (‘-r’ means … Continue reading

Resolved : Google Play Developer gives error com.phonegap package already exist while uploading your first apk file

Are you n00b in android development and uploading your first application?? Yes this error will surely come that com.phonegap package is already exist. To remove this error.. Go to Before uploading your .zip code file, go to settings and … Continue reading

How to Access Internet from Android Emulator using Proxy Server

By default your android application may not have access to use internet. and you can use internet from your machine but not from your emulator make sure you have set the internet permission in your AndroidManifest.xml Another problem can be … Continue reading

Android SDK installation doesn’t find JDK Windows x64

This error generally comes while installation of Android SDK on 64 bit OS. Solution : There are mainly two solutions I’ve found as working. Simply press Back and then from previous screen again Next. or restart installation it’ll find JDK … Continue reading

Add icon inside edittext view in android

Use the android:drawableLeft property on the EditText. Same way you can Use the android:drawableRight property on the EditText. Which will display icon on right side.