January 26, 2021
Hot Topics:

5 Common Android Newbie Mistakes, Page 2

  • By Lauren Darcey & Shane Conder
  • Send Email »
  • More Articles »

6. Using a Prototype as the Foundation for an Android App

Too many times we've seen an app that was basically a hello world with a bunch of sample code glued on in random places. No forethought or design is used in the code, and the project file layout is also missing. The final user experience seems to be an afterthought.

Take the time to learn and experiment with the Android platform first. Then, sit back with your team and think about what you really want to build and start from scratch. Ultimately, you'll save time and frustration and have production quality code with easier future maintenance.

7. Poor Integration with the Operating System

The Android platform provides many features for developers to integrate their app tightly with the system and other apps. Take advantage of home screen widgets, content providers, intent handling, and other such features. Make sure any content types your application can handle appear on the share menu. Using these platform features differentiates your app from the generic mobile experience. Additionally, users will see and engage with your app far more frequently if it's easier to access.

8. Improperly Defining Application Configuration Details

The Android Manifest file is the central location for application configuration, but this information is frequently incorrect even on published applications. Many developers don't correctly specify the device traits they support.

Another common mistake in the Android Manifest file is to register for unnecessary permissions. These mistakes can cause the application to be published incorrectly on the Android Market, resulting in low ratings from users, amongst other things.

9. Developing an iPhone App for Android

You've seen it. We've seen it. You download a cool app to your shiny new Android device, but it tries to look and behave exactly like a typical iOS app. Whoa there! Not cool. The Android platform has its own look and behavior, which users expect -- that is why they bought Android devices in the first place. These same apps are frequently missing widgets, content providers, and other unique features of Android (see #7), which makes them seem even more out of place.

10. Not Maintaining Apps After Publication

Have you ever noticed how many apps don't ever get updated, while others are updated constantly? In order for apps to stay relevant, developers must stay on top of application updates. The Android platform is still maturing at a steady pace. Pay attention to the Android Market communications, which often highlight required changes that developers need to make. Without updates, some apps may be left behind. Make sure your app isn't one of them.

Android Newbies Beware

The best way to avoid making a mistake is to be aware of the danger of doing so in the first place. Here we've listed 10 of the most common mistakes we see from new Android developers. Simply being aware of them will help inoculate you and your team from becoming victims of these insidious pitfalls.

About the Authors

Shane Conder Shane Conder and Lauren Darcey--Contributing Editors, Mobile Development--have coauthored two books on Android development: an in-depth programming book entitled Android Wireless Application Development (ISBN-13: 978-0-321-62709-4) and Sams Teach Yourself Android Application Development in 24 Hours (ISBN-13: 978-0-321-67335-0). When not writing, they spend their time developing mobile software at their company and providing consulting services.

        Email        |        Blog        |        Twitter

Lauren Darcey

Originally published on https://www.developer.com.

Page 2 of 2

This article was originally published on January 3, 2012

Enterprise Development Update

Don't miss an article. Subscribe to our newsletter below.

Thanks for your registration, follow us on our social networks to keep up-to-date