Login with your social account

Thread Rating:
  • 140 Vote(s) - 2.61 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Android App Development - Helpful Hints

While solving problems with Android is a simple task, you may get to the point in app development where you're not sure what to do. The following list should point you in the right direction when you’re in need of help.
  • The most common tasks have already been done for you. A list of common tasks and instructions on how to do them are provided by the Android developer website.
  • If you’re not sure what a package or class does, place your cursor over the object or class while inside Eclipse to view the documentation pop-up window. If no tool tip exists, you can view the documentation online at Android Developer Reference.
  • Understand activity and fragment lifecycles. You use them over the course of your development career, and a thorough understanding can help avoid problems.
  • Remember that you are responsible for saving and restoring instance states in activities and fragments. If you create a member variable in an activity or fragment, make sure you save it in onSaveInstanceState() and restore it using the bundle in onCreate(). Failing to do so can make your activity or fragment appear to work most of the time, but randomly fail in other situations (such as when a user rotates the screen).
  • To make the stream messages in the DDMS perspective more readable, create a filter that specifically applies to your application logging.
  • When typing into Eclipse, you sometimes know the name of the destination property, method, or class you’d like to create. However, it does not yet exist. Type the name in the component, Eclipse will inform you that the component cannot be found. Now select it, and press F2. This gives you a small pop-up window that allows you to create through the click of a button.
  • To quickly navigate around a class file, press Ctrl+O and start typing the name of the member you’re interested in. Select it from the pop-up list and press Enter.

We start our list with the best Android app development books, including Android 4 app development books.One can find several good books on the subject:

Android Apps with Eclipse:

Penned by Onur Cinar, this book treats developing Android applications with Eclipse, taking into consideration an Integrated Development Environment or IDE.

Download it form here

Pro Android 4:

Jointly authored by Satya Komatineni and Dave MacLean, Pro Android 4 is for amateur Android app developers, who have basic knowledge on Java development.

Download it form here

Really it's very useful Hints . Thanks for sharing here. Smile

Forum Jump:

Users browsing this thread: 1 Guest(s)