Tomek Kondrat · Feb 4, 2014 at 11:30 am

Learn to Code Like a Boss with Best Android Practices Guide

Developing Android applications isn’t easy. There are a variety of tools that help greatly like Eclipse and Android Studio, but the majority of your code still needs to be written manually. Building an application is one thing, but optimizing it is a totally different story. There are some best practices that should be followed to ease the development and debugging process, and now is as good a time as ever to get to know them a bit better.

Some best practices, tips, and tricks are already described in Android Developer pages, which is a compendium of knowledge and a vast number of resources. However, there are also some tips and tricks acquired through personal experience of XDA community members. One of them, XDA Senior Member SimplicityApks, decided to share his knowledge with all of us by writing a thorough guide with various examples about how to improve your application’s performance and optimization when using Java and JavaFX code. The author also included many code samples directed towards beginner and intermediate developers. If your journey with Android programming has just begun, this guide should definitely go onto your todo list.

No matter if you are a new developer or have some coding experience, you should make your way to the original thread and read more about dos and don’ts in Android programming.


_________
Want something on the XDA Portal? Send us a tip!

Tomek Kondrat

eagleeyetom is an editor on XDA-Developers, the largest community for Android users. Tomek is the only Polish moderator on XDA Developers. He graduated from the University of Warmia and Mazury in Olsztyn with a degree in journalism and public communication in 2013. He's a big fan of football (not hand egg), post rock and cooking. A total addict of mobile technology, especially Android. Currently flashes dozens of custom ROMs on his OPO. View eagleeyetom's posts and articles here.
Emil Kako · Apr 20, 2015 at 05:39 pm · 3 comments

Do You Use Recents as a Task Switcher?

Google introduced a revamped Recents interface with Lollipop in the hopes of making it easier for users to jump between tasks. But is Recents the best method of switching tasks? Let us know if you actually use the Recents button as a task switcher and why.

DISCUSS
Mario Tomás Serrafero · Apr 20, 2015 at 03:16 pm · 2 comments

Dual Boot on Android: A Power User’s Holy Grail?

Many of you probably dual-boot your personal computers, be it to run Linux alongside Windows or because you have a Mac and hate OS X. On a computer platform, the process can be a life-saver for a variety of reasons, particularly software compatibility/integration. It’s not rare to see computer programmers with Linux partitions or Mac gamers that use bootcamp for their videogames. On computers, the process has gotten relatively simpler over time, with Microsoft and Apple typically supporting the notion....

XDA NEWS
GermainZ · Apr 20, 2015 at 03:02 pm · 2 comments

Chrome 42: Narrowing the Gap Between Web & Native Apps

Websites have typically been less desirable than native apps, due to being unoptimized for mobile screens, responsiveness issues or simply not being able to provide all the features you might desire. New web standards aim to change that, and Chrome 42 will bring several of them to you. Push Notifications You'll be able to receive notifications from supported websites even after you've closed the page. Naturally, you'll have to grant permission to websites to do so: have no worries about...

XDA NEWS
Share This