Below functions takes the current date and time and formats it to give a date-time string. You can customise it in the way you want. The string that the below function generates will be like this – 23-Dec-2014 4:23 PM Use “MMMM” for “December” and “MMM” for “Dec” in month.
Hi all, In Today’s Tutorial I will help you to make a simple chat application in Android using Google Cloud Messaging. I am using PHP as server side script. Here are the things you need to follow to make this application. 1. You need to register to Google for GCM. 2. You need a server… Read More »
The name “localhost” is just a loopback to your own computer. 1. ACCESSING LOCALHOST ON ANDROID DEVICE. To access it on your Android Device, you need to find the computer’s IP address. The most general way of finding this info, which works on both Mac and Linux, is to go into the Terminal and type… Read More »
Hi all, I have already showed you how to implement in app purchase in Android. Please go through this post before reading this article. This is how the MainActivity source code will look like. You can download the complete source code from here itself.