Decompile an APK and get Java source code
Sometimes, it can be useful to decompile an APK for Android and try to get Java source code. In this tutorial, you're going to learn how to achieve that. There are 2 main ways to process this decompilation. First is to use Smali / Baksmali format with these tools : . Smali is an assembler / disassembler for Dex Format…
How to use Asynchronous Tasks in Android ?
In Android like in others platforms, it can be useful to use asynchronous tasks to process long operations like download a file or consume a web service. In Java, you know that the entry point is the Thread class. Android using a part of Java API, you can also use Thread class but it's to you to manage synchronization with…
First steps with Android Wear
Announced during Google I/O 2014, Android Wear is the Android platform for wearable devices. It extends the Android platform to a new generation of devices with a user experience targeting wearables' specifities. Actually only Smart Watches are supported by Android Wear but trust that Google will extend the platform into other forms of wearables in the near future. Actually, Android Wear…
First steps with Android Studio IDE
Like you must know, Google officially announced the first release of Android Studio recently. So, Android Studio is the official Android Studio IDE ! Time is come to migrate from Eclipse with ADT (Android Development Tools) to Android Studio IDE. 1. Installation Go on the following URL : and start to download the Android Studio IDE for your OS. Once…
How to send an email with JavaMail API in Android ?
As an Android developer, you're used to send email thanks to Android standard API provided in standard SDK. To achieve that, you use and call startActivity method to delegate to OS the sending email process. Perhaps, you would like to manage the entire process in your application when you send an email in Android. If you want to make this,…
How to send and receive a SMS in Android ?
With all the features supported by smartphones, sometimes we forget the presence of the word phone in smartphone. Thus, it could be important sometimes to use SMS feature of Android devices. Android SDK provides a very good support for SMS and globally for telephony. In that tutorial, you will learn to send and receive SMS in Android. 1. Send SMS…
How to save Activity state in Android ?
In an application, it is essential to be able to save user context between pauses. By pause, I mean when a user change his current application for example when he receives a call. After this pause, he will want to return to the previous application and it will be logical for him that the application be in the same state…
Discover Best Apps and Games from Android in 2014
Like previous years, 2014 has been a great year for Android and its ecosystem. Market share has grown to reach new record, Smartphones' sales have continued to increase, Apps and Games available on Google Play Store have also increased. Developers are always more to wish a big success. Now, 2014 is almost ended, so let's see the best Apps and…
How to close and hide the Android software keyboard ?
In an application, when you wait for users input you must use EditText wigdets. When users end their inputs and click OK button, you would like close the Android software keyboard. It's better than asking to users to close software keyboard themselves. Use that snippet code : EditText myEditText = (EditText) findViewById(); InputMethodManager imm = (InputMethodManager) getSystemService(); ((), 0); …
How to record your screen on Android ?
Android KitKat has introduced the possibility to record the screen of your device but not programmatically. The ability to record the screen of your device comes with an external tool added in ADB (Android Debug Bridge). The ADB is a tool used by developers along with the Android SDK to communictate with a device at the command line level. Record…