10 common Android novice developers' mistakes

  • 2020-06-12 10:41:05
  • OfStack

Among the most popular mobile application development platforms of the past 10 years, Android is, in our opinion, the most convenient platform for new development. A cheap tool, friendly developer community, and well known programming language (Java) make developing Android applications easier than ever. Even so, we're seeing what's new. The & # 8203; oid developers repeatedly make mistakes. Here are 10 of the most common misconceptions.

1, read Andr​ The & # 8203; oid document

The Android developer site is the most important place to get help. Most of the documents can be downloaded with SDK or viewed directly online (we recommend online because it is constantly updated). These documents are not just an Javadoc API reference. It also includes many tutorials, tutorials, videos, training, and other useful materials for creating Android applications.

Android's latest tutorials can guide you to solve a specific problem or implement a specific function.

2. Unfamiliar with Android tools

Android SDK is more than just a library to get applications compiled and running on the phone. It also has more than 10 tools to help you build applications. One of these tools can help you design the graphics and layout of your application, while command line tools provide easy 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 can't get an answer from Android SDK's documentation (see # 1), we suggest you start with ES35en.com, which has a tag that links to Android development. Other useful resources include the Google mailing list, Android development Center, and the website.

4. Lazy because Android applications are written in Java

Java is virtual machine-based and USES a simple high-level programming language, but that doesn't mean you can be a lazy programmer. Standard programming principles 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 that mobile development is all small projects

A small screen! = Small items. Many mobile developers (and, unfortunately, their bosses) are under the mistaken impression that all mobile development projects can be done by a college student drinking coffee over a weekend. B: Yeah, we've heard so many stories. However, the reality is that the most successful projects require functional specifications, progress, defect tracking, dedicated engineers, dedicated designers, QA test, release, and maintenance planning development projects like traditional software.

6. Develop prototype directly as the basis for one Android application

Too many times, we've seen 1 application, basically 1 Hello World sample code and 1 function module code that's littered around. The use of code is not planned and designed, and the layout of project files is missing. Should the end user verify it?
Take the time to learn the Android platform development methodology, then sit down with your team and think about what you really want to build and start from scratch. In the end, you'll save time and frustration by producing high-quality code that's easier to maintain later.

7. Lack of integration with operating system

The Android platform provides developers with many features that enable tight integration of applications from operating systems and other applications. Take home screen widgets, content providers, intent handling, and other similar features to ensure that your application can handle any type of content. Using the characteristics of these platforms enables applications to achieve 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 central to the configuration of the application, but this information is often incorrect so that the application cannot be published. Many developers incorrectly specify the device characteristics they support.
Another common mistake is to register unnecessary permissions in the Android Manifest file. Such apps, even on Android Market, have led to negative comments from users.

9. Develop an iPhone application for Android

We've all seen this before, downloading a cool application to your new Android device, but it tries to look and behave exactly like a typical IOS application. A: wow! Not calm. 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 related components, content provide, as well as other unique features of Android (see # 7), which makes them specious.

10. Software not maintained after release

Have you noticed that many applications don't get updated, and some are constantly updated? In order to maintain relevant applications, developers must update the applications left at the top. The Android platform is still maturing steadily. Note the communication of Android Market, which often highlights the need for developers to make the necessary changes. Without updates, 1 some applications may remain. Make sure your application is not one of them.

Tips for beginners from Android

The best way to avoid making mistakes is to be aware of them in the first place. Here, we've listed 10 of the most common mistakes that new Android developers make. Simply being aware of this will help you and your team stay away from these issues.


Related articles: