" Live as if you were to die tomorrow. Learn as if you were to live forever.. "
- Mahatma Gandhi

Getting Geolocation in Android device using PhoneGap.

Posted on November 23rd, 2015 by Sourabha Sahoo

You can find the Geolocation of your Android device using Phonegap by getting the latitude and longitude of the current position of the device. Following steps illustrate how to use Phonegap to get device current Geolocation. 1.Include the Phonegap/Cordova javascript file inside your html page. 2.Add the eventlistner to load the function when device gets […]

How to get geographical location of an IP address in PHP

Posted on November 23rd, 2015 by Subranil Dalal

In many of our project works, we need to get geophysical location of an end user, including more information on country, state, city, timezone, offset time, based on the user’s IP address. Here I am using http://ipinfodb.com/ API to get the IP info in xml format. I make an Ajax call to PHP page which gets the XML […]