10 common pitfalls for Android developers

Source: Internet
Author: User
Tags home screen

In the most popular mobile application development platform of the last decade, we believe that the Android platform is the most convenient platform for new development. A cheap tool, a friendly developer community, and a well-known programming language (Java) make developing Android apps never been so easy. Even so, what new Android do we still see? The OID developer keeps repeating the error. Here are 10 of the most common misconceptions.

1, read Android?? OID Documentation

The Android developer site is the most important place for you to get help. Most of the documentation can be downloaded either with the SDK or directly online (we recommend browsing online as it is constantly updated). These documents are more than just a Javadoc API reference. It also includes many guides, tutorials, videos, training, and other useful materials for creating Android apps.

The latest Android tutorials can guide you through solving specific problems or implementing specific features.

2, not familiar with Android tools

The Android SDK is not just a library that makes the app compile and run on your phone, it also has more than 10 tools to help you build your application. Some of these tools can help you design the graphics and layout of your application, and command-line tools provide convenient and scriptable access to the emulator and device hardware, as well as help with performance optimization and analysis. You can get more detailed information from the tools and documentation.

3, not getting help from the Android community

The Android community is very friendly. When you do not get an answer from the Android SDK documentation (see # # #), we recommend that you start with stackoverflow.com, which has a tab that links to Android development. Other useful resources include Google's mailing list, Android Dev Center and website.

4, lazy, because Android apps are written in Java

Java is a virtual machine and uses a simple, high-level programming language, but that doesn't mean you can be a lazy programmer. The standard programming guidelines still apply. Most Android devices have limited processing power and local storage capacity compared to traditional computers, so inefficient or incorrect programming practices have a greater impact on overall performance and user experience.

5, think mobile development is a small project

Small screen! = Small item. Many mobile developers (and, unfortunately, their bosses) are having some mistaken impressions: all mobile development projects can be done by a college student drinking coffee in a weekend. (Yes, we hear stories that are too much.) However, the fact that the most successful projects need to be like traditional software features specifications, progress, defect tracking, dedicated engineers, dedicated designers, QA testing, release and maintenance plan development projects.

6, direct development of prototype as a foundation for Android applications

Too many times, we've seen an app that's basically an example of Hello World code and a bunch of code for functional modules that are littered around the place. No planning and Design code use, project file layout is also unaccounted for, should end users to verify it?
Take the time to learn how to develop the Android platform, then, sit down with your team and think about what you really want to build and start from scratch. In the end, you will save time and frustration, producing high-quality code that is easier to maintain later.

7, lack of integration with the operating system

The Android platform provides developers with many features to tightly integrate applications with operating systems and other applications. Take home screen widgets, content providers, intent processing, and other similar features to ensure that your application can handle any content type. Using the features of these platforms allows the application to gain a common mobile experience. In addition, users will use your application more frequently because it is easy to access.

8, the detailed configuration of the application cannot be defined accurately

The Android manifest file is the hub configured for the application, but this information is often incorrect due to the inability to publish the application. Many developers incorrectly specify the device characteristics that they support.
Another common mistake is to register unnecessary permissions in the Android manifest file. Such apps, even on Android Market, can lead to bad reviews for users.

9, developing an iphone app for Android

We've all seen, downloaded a cool app to your new Android device, but it tried to look and behave exactly like a typical iOS app. Wow! Not cool. The Android platform has its own look and behavior and user expectations-that's why they bought the Android device in the first place. These same applications often lack the relevant components, content provide, and other unique features of Android (see # #), which makes them specious.

10. No maintenance after software release

Have you noticed that many applications are not updated and others are constantly being updated? In order to maintain the relevant application, the developer must update the application left at the top. The Android platform is still steadily maturing. Note The Android Market communication, which often highlights the need for developers to make the necessary changes. There are no updates, some applications may be left behind. Make sure your application is not one of them.

Android Tips for Beginners

The best way to avoid making mistakes is to be aware of the dangers of doing so in the first place. Here, we list the most common misconceptions about the 10 novice Android developers. Simply being aware of these will help you and your team stay away from these problems.

10 Pitfalls common to Android developers

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.