Menu

March 2015

Android Studio Tips Of the Day

Now I’m using Android Studio to develop Android Application. Eclipse not good enough for me to develop android application, sorry to say especially for eclipse’s fans (Because Eclipse ever delete all my folders inside the workspace folder for no reason – not only once). And also Eclipse 3.6 (Helios) is no longer supported with the latest version of ADT (Check Here). With Android Studio, you can easily import library with Gradle with simple way.

So I will share you about Android Studio have many shortcut / tips to help you develop Android Application. Here tips of the day From Philippe Breault (Thanks to him) and here the Wiki that collects all current tips from him (on Pavlos Petros Tournaris’s Github -Thanks to Pavlos-Petros Tournaris) Or maybe you can visit Developerphil’s Website Part 1Part 2, Part 3, Part 4, Part 5, Part 6 and also you can see every day Android Studio tips from Philippe Breault’s Google+).

Cheers guys and happy coding :)

Parcelable or Serializable

We all know we cannot just pass object references to activities or fragments, we must put those in an Intent / Bundle. We only have two options, with Parcelable or Serializable. How about the performance / speed?

Here the results:

Nexus 10
Serializable: 1.0004ms, Parcelable: 0.0850ms – 10.16x improvement.

Nexus 4
Serializable: 1.8539ms – Parcelable: 0.1824ms – 11.80x improvement.

Desire Z
Serializable: 5.1224ms – Parcelable: 0.2938ms – 17.36x improvement.

Source By : http://www.developerphil.com/parcelable-vs-serializable/

Thanks to Philippe Breault.

And here the Source to download