Re: [android-developers] Re: [Android - developers] Saving Latitude and Longitude value

2012-03-10 Thread agung wiguna johan
Hi sory for the late replay, and sory for the lacked information on my question. I don't know how to provide the error code, because when i debug the application, i don't get any error code. But i already solved the problem now. Thanks for your help,and correction On Fri, Mar 9, 2012 at 4:18 AM,

[android-developers] Re: [Android - developers] Saving Latitude and Longitude value

2012-03-08 Thread agung wiguna johan
Update : I found the solution,but still getting error. Use 2 location variable to get the previous position before changed : public void onLocationChanged(Location newLocation) { prevLocation = currentPosition; currentPosition = new Location (newLocation); int lat1 = (int)

Re: [android-developers] Re: [Android - developers] Saving Latitude and Longitude value

2012-03-08 Thread TreKing
On Wed, Mar 7, 2012 at 9:06 PM, agung wiguna johan agung.wiguna.jo...@gmail.com wrote: But when i running the program, it's take long to get the coordinates, That's GPS for you. and get force close at the end. Debug your app. How do you expect anyone here to help you with non-existent