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.
Mario Tomás Serrafero · Aug 4, 2015 at 02:17 pm · no comments

Sony’s Emergence in The Middle: Is The Price Right?

Sony’s Electronics Division is not in its best days, and its smartphone products are seemingly an important cause of this. The Japanese giant’s Xperia line has been on the decline in terms of sales, and these past few months have been particularly damaging to the company due to the Xperia Z4’s market performance. Sony’s Q1 results were also not favorable, as its mobile division lost $184 million and sales slumped 16% year-on-year.   Not too long ago we featured a...

XDA NEWS
Eric Hulse · Aug 4, 2015 at 03:42 am · 1 comment

HTC Delivering Ads Straight to Sense Home

HTC's 2015 has been a year marked by a desperate search for revenue. The HTC One M9 launched with its own launcher complete with a Smart Folder in the Sense Home Widget. This automatic pseudo-folder would populate with "suggestions" that were nothing more than thinly-veiled ads.   Just over a month ago, HTC began placing advertisements (that can thankfully be disabled) in Blinkfeed. These Blinkfeed ads appeared after Yelp advertisements began appearing on HTC's Lock screen. Users, expectedly, voiced dissatisfaction all...

XDA NEWS
Brian Young · Aug 2, 2015 at 09:05 pm · 2 comments

Galaxy S6 & Edge get €100 Price Cut—New Models Incoming

Samsung has dropped the price of both the Galaxy S6 and S6 Edge by €100, making the current retail price of these phones €599 and €699, respectively. Though no new prices have been announced stateside, a cut is expected soon. (more…)

XDA NEWS