DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports Events Over 2 million developers have joined DZone. Join Today! Thanks for visiting DZone today,
Edit Profile Manage Email Subscriptions Moderation Admin Console How to Post to DZone Article Submission Guidelines
View Profile
Sign Out
Refcards
Trend Reports
Events
Zones
Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Join us tomorrow at 1 PM EST: "3-Step Approach to Comprehensive Runtime Application Security"
Save your seat
  1. DZone
  2. Testing, Deployment, and Maintenance
  3. Deployment
  4. 6 Common Errors Android Developers Make

6 Common Errors Android Developers Make

Mobile app developers often make a couple of the same mistakes, such as not using asynchronous threads and not utilizing standard input elements.

Melissa Crooks user avatar by
Melissa Crooks
·
Feb. 13, 17 · Opinion
Like (1)
Save
Tweet
Share
8.68K Views

Join the DZone community and get the full member experience.

Join For Free

Designing mobile apps is quite different from desktop programming. In desktop programming, developers are certain to assume that users have high-speed Internet, larger screens, electricity, and a keyboard to interact with pages and they keep these things in mind while designing.

This is not so with mobile app development. App developers who are new to the field, especially those with desktop programming experience, often make similar errors when writing apps.

For Android developers, below are some mistakes to avoid when building a mobile app.

1. Not Using Asynchronous Threads in Design

Mobile apps developed should be able to perform many tasks at the same time. Asynchronous threads allow an app to run background actions such as make an API call, while users still perform tasks effectively with the app.

This prevents hang when users are accessing the application and allows them to interact effectively with the app.

2. Developing Apps that Aren't Optimized for Low Bandwidth

Many developers do not consider low-bandwidth users. Data charges are high and mobile devices are yet to attain the speed of LAN connections.

For users with low bandwidth and data charges, images should be designed particularly for mobile devices. Their sizes should be reduced but its quality retained. Also, the number of images on a screen should be limited as low as possible as too many images can slow down the app's performance.

3. Using UI Elements That are Meant for a Mouse and Keyboard

When developing an app for mobile devices, the user interface components should be designed in such a way that users find it easy to access and perform tasks. Items should be large enough for easy view and click as mobile users tap screen with their thumbs and fingers, not a mouse. Text boxes and font sizes should also be larger for easy interaction with the application.

4. Utilizing Too Much Battery Power

Most batteries on sale are usually half their worth; they do not last. App developers should write apps that require minimal battery usage to perform tasks. Unnecessary background processes should be eliminated, as these consume app battery life.

5. Not Utilizing Standard Input Elements

When the iPhone was initially released, most mobile app developers used iPhone standards for the Android interface. iPhone and Android have different input styles. It is a grievous error to create an Android app with iOS features.

Although this was common in previous years, some new app developers also make this error. To prevent this, developers should use Android's Material Design as a guide. It entails examples on how a user interface should appear. Standard input buttons, textbox components, and the dropdown should also be integrated to avoid user confusion.

6. Supporting Older Versions of Android OS

When designing Android apps, it is essential to indicate the minimum version the app supports. It is easier to support newer versions of an Android operating system. Outdated software is usually more complex to code and often lead to bugs. Not testing app on different screens is.

One major reason why apps fail is because of poor testing. Apps are released on Google Play without being checked on different screens leading to too many bugs. It is essential to test an app on various devices such as smartphones and tablets before release to ensure a satisfactory user experience.

Also, the app should be tested with every version it supports, this can be done by a QA tester.

mobile app Android (robot) dev

Published at DZone with permission of Melissa Crooks. See the original article here.

Opinions expressed by DZone contributors are their own.

Popular on DZone

  • Mr. Over, the Engineer [Comic]
  • The Role of Data Governance in Data Strategy: Part II
  • Simulate Network Latency and Packet Drop In Linux
  • Real-Time Stream Processing With Hazelcast and StreamNative

Comments

Partner Resources

X

ABOUT US

  • About DZone
  • Send feedback
  • Careers
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 600 Park Offices Drive
  • Suite 300
  • Durham, NC 27709
  • support@dzone.com
  • +1 (919) 678-0300

Let's be friends: