Archives for Tutorials - Page 16
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…
Learn to play music with Real Piano Music HD
Google Play Store has a lof ot app to play musics but some are better than others. Real Piano Music HD can be considered as one of the best application to learn to play music on your Android device. Freely available on Google Play Store here : ;rdid= , Real Music Piano HD comes with an elegant and intuitive interface offering…
Learn how to make a Compass application for Android
Smartphones have a lot of sensors letting to developers to take profit in their applications. Make a Compass application for Android is a great way to understand how they work on Android OS. To make that Compass application, we're going to use mainly accelerometer sensor. Location service will be also used to fix compass data and also to display GPS…
Learn to create a Pie Chart in Android with MPAndroidChart
In the serie exploring MPAndroidChart, today you're going to learn how to create a pie chart in Android. A Youtube demo video how you steps by steps how to create a pie chart in Android with MPAndroidChart : Note that MPAndroidChart is open source and available here on Github : . Source code for MainActivity is the following : package ;…
Create a frame animation in XML on Android
Android offers to developers a great Animation API that lets them to create easily frame animation in XML or programmatically. In the following tutorial, you’re going to learn how to create a frame animation in XML. For this tutorial, we’re going to use a monster character that we want to animate. Get the frames of the monster’s animation The following…
Create a real time line graph in Android with MPAndroidChart
In the serie "create a real time line graph on Android", MPAndroidChart seems to be the best solution. Library is designed for Android 5 Lollipop and rendering is great. MPAndroidChart is open source an available here on Github : . Developer is very active and answers quickly to issues created by users. The following video shows how to create a…
Learn to make a frame animation with a character sprite in Android
Android provides a convenient way to make frame animation via XML or programmatically. API is very clear and powerful. In the following example, we’re going to animate a character sprite programmatically via this API. Character sprite bitmap First, we need to get a character sprite bitmap. Here, we choose the classic grossini dance : Each frame has the following dimensions…
Install Samsung Galaxy S6 skin in your Android Emulator
When you make Android apps, you need to test your app on different devices. Buy all these devices is expensive and impossible for Indie Developers. So, best solution is to use Android Virtual Device to create virtual devices that have identical specifications to physical devices you want to test. If you use Eclipse or Android Studio as IDE to make…
Learn to create screen wireframes for Android Lollipop with Pencil
Prototype GUI is always an important part of an Android project. It lets to have a better idea about rendering of an application. Among available tools, Pencil is a great solution. Pencil is an open source prototyping GUI solution based on XUL Runner and so multiplatform ! Source code can be found on Github here : At this stage, you…