Tien Tan·Apr 24, 2018Android Testing CodelabIn this codelab, you’ll learn how to get started with testing for Android. We’ll look at the testing integration in Android Studio, unit…A response icon1A response icon1
Tien Tan·Apr 24, 2018What you need to know about Android app memory leaksBuilding an Android app is easy, but making a super-high-quality, memory-efficient Android app is not. Early on as an Android developer, I…
Tien Tan·Mar 29, 2018Universal way to write to external SD card on AndroidIn addition to all other nice answers, I could add a bit more to this question so it can give wider coverage for readers. In my answer…
Tien Tan·Mar 29, 2018SD Card on Android 5.0 and LaterAndroid version 4.4 (KitKat) drastically limits how user installed apps can access the external SD card. You can read more about the…
Tien Tan·Feb 24, 2018How to Install Apache Tomcat 9 (on Windows, Mac OS X, Ubuntu) and Get Started with Java Servlet…This practical can be completed in a 3-hour session.A response icon1A response icon1
Tien Tan·Oct 31, 2017Is Java “pass-by-reference” or “pass-by-value”?I thought I’d contribute this answer to add more details from the Specifications.
Tien Tan·Oct 27, 2017Android : Passing data between main thread and worker threads.There may be situations where you want to spawn a thread from your Activity or Service to handle long running (and may be blocking) tasks…
Tien Tan·Oct 6, 2017notifyDataSetChanged exampleI know this is a late response but I was facing a similar issue and I managed to solve it by using notifyDataSetChanged() in the right…
Tien Tan·Oct 5, 2017Is it wrong to use Deprecated methods or classes in Java?From the official Sun glossary:
Tien Tan·Oct 5, 2017Android target sdk vs deprecated methodsHowever, if you have compileSDK higher eg 23, then Android Studio will tell you, the code above is deprecated (and moreover removed from…