Best Android Application Development Book

Searching for the best android application development book. Want to develop android app or application but don't know from where to start or which book is best to get started. If you are beginner or professional searching for android mobile programming or development tutorials or book or eBook, then here are list of top 4 books one need to have if planning for android development.

1. Hello, Android


2. Beginning Android Application Development


3. Learning Android


4. Beginning Android Tablet Application Development


Check out more books about android mobile application development at amazon store.

Package Explorer Missing In Eclipse

Package Explorer Missing In Eclipse. Some time small problem create big trouble. Once when I started Eclipse, the Package Explorer was not there on Eclipse screen. I was new to Eclipse and tried everything to bring the Package Explorer back. After spending and messing long time with eclipse, I got my Package Explorer back. Here Is the way to do so.
  • From eclipse Goto Window > Show View > Other
  • "Show View" pop up window will open
  • Goto General > Project Explorer 
  • Click Ok

Note: There may be other way to solve this problem. My problem solved using this way. If there is some other short cut key or way, than do write in comment and share with us.

Error: Android Library Project Cannot Be Launched

Error message: Android library projects cannot be launched. 

When I Run My application I encountered this error. I again checked the code, build target,  build path, library and everything was proper. I clean project and Run again but still this error occurred. I googled for Android library cannot be launched problem and got the solution, which solved My problem.

Solution:
  • In Package Explorer, Right Click on Project > Properties
  • Select Android from Properties pop up window
  • See "Is Library" check box, if it is checked than Unchecked "Is Library" check box
  • Click Apply and Ok.
The above solution worked for me. If you still encounter the problem write in comment for other solution.

How to import android sample project or code in eclipse

Ways to import android sample project or code in eclipse. If you are new to work on eclipse, than surely you have encounter this problem. Many new comer ask Me "How to import sample program / code in eclipse Package Explorer".

Given below are two way to do so.

1st:

Copy Sample Project to Android sample project folder.
i.e. "C:\Program Files\Android\android-sdk\samples\android-15"

From eclipse go to: File > New > Project.
"New Android Project" window will pop-up.

Select "Create project from existing sample" radio button and click Next.

Select Build Target i.e. Android 4 (or Target you are using) or Google APIs.

Select Sample project that need to open and click Finish.
    2nd:

    From Eclipse go to: File > Import
    "Import" pop window will open.

    General > Existing Project Into Workspace.

    Click on Browse button and select the location of sample project folder and click Ok.
       
      Related Search:

      No Map On Emulator

      No Map On AVD Emulator or Emulator screen display blank grid screen. When I first started developing android app which display Google map on android device, I encounter this problem. I had done everything which I read on google android developer site for integrating Goolge Map in my application, but still I was not able to see map on emulator. Only square type grid screen (as seen in image) appears on emulator. 

      If you have same problem than no need to worry. Your application was working fine. The problem is with google map api key. Either you had not added google map api key in your program or you may have given wrong api key. Try obtaining new google map api key and integrate it to your application. If you are new and don't know about google map api key and how to obtain it, than check this post Google Map API For Android App.

      Problem:
      No map on emulator.

      Solution:
      Add Google map api to program.
      Or
      Try obtaining new google map api key.

      Google Map API For Android App

      How To Get Google Map API For Android App

      How to get "My certificate's MD5 fingerprint" for Google Map Api?

      In this I will show how to get MD5 fingerprint for Google Map API Key, for using in Android App.

      For using Google Map in your Android App you need to Sign Up for the Android Maps API.

      For Signing Up and for obtaining Android Map API Key you need to have 'MD5 fingerprint Certificate'.

      I will show you easy and step by step way to Sign Up for Android Maps API.

      Getting 'MD5 fingerprint Certificate'.

      1. Goto > Start.

      2. Select Run and press Enter.

      3. Write cmd and click OK.

      4. Screen as shown in image will pop-up.

      (Click on image to enlarge)

      5. Change Directory to C:\Program Files\Java\jdk1.6.0\bin ( This is where keytool.exe is located). See above image for doing so.

      6. Now copy and paste below given line and press enter

      keytool.exe -list -alias androiddebugkey -keystore “C:\Documents and Settings\UserName\.android\debug.keystore”

      Note:
      • For pasting in command prompt screen use mouse left key and paste. ctrl + v will not work.
      • UserName: Name Used on your system check in  "C:\Documents and Settings".
      • Don't change anything from above line except UserName.
      • Path to debug.keystore file is listed in Eclipse under Window->Preferences->Android->Build

      7. It will ask for password, type android and press enter (sometime when you type it will not show on screen, so don't get worried)

      8. You will get code like given below.
          94:1E:43:49:87:73:BB:E6:A6:88:D7:20:F1:8E:B5:98"

      9. Copy Certificate fingerprint and save at some safe place.

      Once you get the Certificate fingerprint the next step is to sign up for Google Map API Key.


      2. Accept the Term Of Use.

      3. Paste certificate's MD5 fingerprint (which we generates) and click on 'Generate API Key' button.

      4. Provide your gmail id and password and you will get the API Key.

      Now you can start using your Google Map API key into your Android App.

      If you have some query or question write down in comment. I will be pleased to solve it.

      Happy Coding.

      Path for project must have only one segment.

      Error:
      An internal error occurred during: "Launching New_configuration".
      Path for project must have only one segment.



      Solution:
      1. Goto Run -> Run Configuration
      2. Under Android Tab, Project field is there.
      3. Click Browse Button and select project you want to run