Helpful Hints for Android App Development

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.



  • Not sure how to solve a particular problem? Visit the forums at StackOverflow.com 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 Android Developer Reference.



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











dummies

Source:http://www.dummies.com/how-to/content/helpful-hints-for-android-app-development.html

No comments:

Post a Comment