Monitor and analyze Battery Usage Data on Android
Android SDK comes with a large number of amazing tools. However, a lot of developers don’t know some of these. Thus, who knows that Android SDK offers a tool to monitor and analyze battery usage data ? This great tool is low level and can be called from an adb shell command. The dumpsys batterystats command generates some intereseting statistical…
One year after, 2048 Puzzle is always so addictive !
2048 Puzzle game was one of the best casual game of 2014. Coming with a simple but addictive concept, 2048 has been a great buzz during 2014 spring. Whereas we are in 2015 summer, game was replaced at the top of the charts. However, it’s still a simple and great challenge brain game. 2048 Puzzle was a web game made…
List all sensors available on an Android device
Android devices have a lot of sensors inside. Android SDK put on the hands of developers all the necessary APIs to take advantages of them and offer to their users applications that use them. In this tutorial, you’re going to learn how to list all the sensors available on an Android device. In a future tutorial, we will see how…
You liked Galaxy S6 Edge ? You will love Galaxy S6 Edge Plus
Where as most of their concurrents will unveil their new flagships during IFA on September 2015, Samsung chose to unveil its new flagships for September 2015 during a special summer event. During this, Samsung announced Galaxy S6 Edge+ and Galaxy Note 5. With these flagships, they hope to avoid a new major success of Apple and its future iPhone 6S.…
Discover Android Secret Codes for Samsung smartphones and others
Android secret codes are numeric or symbolic sequences entered in your dialer application that let you to access manufacturers’ secret menus hidden. Before Android operating system came out, secret codes were already available on other platforms. You can remember Nokia that offered some secret codes on their Symbian smartphones. Be careful by using the following secret codes because some of…
Get Android device rotation angles with accelerometer and geomagnetic sensors
In first versions of Android, rotation angles could be got by using a sensor with as type. But, since Android , this method is deprecated. However, a lot of applications and developers still use this way ! The following tutorial aims to show you how to get rotation angles (azimuth, pitch and roll) in the recommend way by using accelerometer…
Create and Start a Background Service in Android
In Android applications, like in all mobile applications, responsiveness is often the key to offer great user experience. It’s essential to avoid blocking user interface. In some cases, you will need to process long-running operations. To void affecting user interface’s responsiveness, you will need to use background service. Deriving from IntentService class, a background service is a straightforward structure for…
Welcome to the latest Android One baby : Lava Pixel V1 for India !
Google continues its efforts with Android One to deliver high quality device to low price. Android One family welcomes a new baby called Lava Pixel V1 available for India. This new device comes with Android Lollipop, the latest and the fastest version of Android. Google ensures also that devices part of Android One program will get automatically new version just…
Easiest way to create a built-in Java HTTP Server
Introduced in JDK , package enables implementation of embedded HTTP servers. Oracle official Javadoc tells the following : "Provides a simple high-level HTTP server API, which can be used to build embedded HTTP servers". However, it’s important to consider that * packages are not part of the supported, public interface and may even disappear in upcoming Java releases. There is…
ADB Survival Guide for Android
Android Debug Brigde (ADB) is a command line tool, coming with Android SDK provided by Google, that lets developers to communicate with an emulator or a connected Android device directly from the command line. To find adb tool, you must go on <android_sdk_path>/platform-tools directory on your computer. In this article, you’re going to learn the handy adb commands which are…