Future Proof An Android App

Gadgets Category

Android

Googles Android OS is an open source platform that can be licensed and used by smartphones and tablet manufacturers. There is an Android SDK for free downloading, allow developers to develop and distribute custom built Android Apps. Future proofing an Android app to ensure it works smoothly with the future releases of the Android OS. Follow the simple steps below

  • Avoid using internal APIs. Internal APIs such as Bluetooth toggle and brightness control APIs often break when Android is updated. To avoid bugs and potential compatibility issues, it’s best to avoid them.
  • Avoid manipulating settings directly. You can no longer manipulate system settings without specific permission from the user. Future releases of Android will require you to issue an Intent to launch the appropriate Settings configuration screen, allowing the user to change the settings themselves.
  • Avoid unreasonably cluttered layouts. Layouts with view hierarchies of more than 10 deep or 30 broad can causes crashes.
  • Avoid hardware assumptions. Applications that assume a user has a certain hardware feature can cause compatibility issues. If your application is designed specifically for a certain hardware feature such as a physical keyboard, it should be equally as useful to users without that specific hardware feature.
  • Avoid rotation and reorientation issues. Issues with automatic reorientation is often due to applications assuming the screen can only rotate when a physically keyboard is exposed. You should ensure your apps could be reoriented on any hardware and at any time. Also, apps that require shaking motions and other physical gestures requiring the devices accelerometer may interfere with reorientation.

Note

You can install a custom plugin of Android Development Tools for developing in Eclipse You might need to install Java Development Kit 5 or 6 on your computer to use the Android SDK.

Amarnath Natarajan Avatar

Help Us Grow

If you like this post, please share it with your friends.

You are free to copy and redistribute this article in any medium or format, as long as you keep the links in the article or provide a link back to this page.

Subscribe to Newsletter




Privacy Settings

Privacy & Cookie Overview

Our website uses cookies to provide you with the best user experience possible. These cookies are stored in your browser and perform essential functions such as recognizing you when you return to our website, as well as helping us to understand which sections of the website you find most useful and engaging.

To learn more, you can read our Privacy & Cookie Policy or reach out through our Contact form.

Strictly Necessary Cookies

Strictly Necessary Cookies must always be enabled to ensure the proper functioning of this website and to allow us to provide you with excellent service. These cookies are also essential for saving your cookie preferences.

Google Adsense

We use Google AdSense to keep this site free by displaying relevant ads. AdSense requires essential cookies that cannot be disabled, but you can manage other cookies. We respect your privacy and provide options to control non-essential cookies.

For more details on how Google handles your data, visit Google's Data Usage Policy. Please review our Privacy Policy for more information on how we protect your data.

AddToAny

We use AddToAny for social sharing. It doesn’t store cookies, ensuring a privacy-friendly experience. AddToAny complies with GDPR and CCPA by default.

For more, see their Privacy Policy.

OneSignal

We use OneSignal to send notifications to users who opt in. OneSignal complies with GDPR and is certified under the EU-US and Swiss-US Privacy Shield frameworks.

For more, see their Privacy Policy.

3rd Party Cookies

This website utilizes third-party cookies, which can enhance your experience and support our ongoing efforts to improve our services.

Google Analytics

We use Google Analytics to collect anonymous data, such as visitor numbers and popular pages, to improve user experience and site performance. Keeping this cookie enabled helps us refine the site based on visitor activity.

For more information, see Google’s Privacy Policy.

Discover more from Prime Inspiration

Subscribe now to keep reading and get access to the full archive.

Continue reading