Helpful Hints for Developing Andoid Apps - dummies

By Donn Felker

Part of Android Tablet Application Development For Dummies Cheat Sheet

While solving problems with Android is a simple task, we all get to the point in which we’re not sure what to do. The list below should point you in the right direction if you need help designing your Android app.

  • Not sure how to solve a particular problem? Visit the forums at and use the Android tag. StackOverflow is an Android platform–recommended destination for developer questions.

  • 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 Web site.

  • 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

  • To find all references of a particular object in your class file, select the object and press Ctrl+Shift+G.

  • 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.

  • To quickly navigate among the tabs in the Eclipse IDE, press Shift+Page Up or Shift+Page Down.

  • To quickly run your Android application, press Ctrl+Shift+F11.