G`day mate, Check this link out, it should help you with working on the GPS features.
http://blogoscoped.com/archive/2007-11-19-n27.html - Marak On May 28, 12:26 pm, Ashish Dhiman <ashishdhima...@gmail.com> wrote: > Hi All, > > As iam new in java but iam trying to build an GPS application.i need a > little help for that. > The problem is: > > i have two classes command.java and positioninfo.java. > > i want to call requestLocationUpdates(LocationManager.GPS_PROVIDER, 1l, 1f, > *command.this*) API in command class but i need to implement the > locationlistner in positioninfo class. > > i dont know what has to be the *last paremeter of this API instead of > command.this > > i think i need to pass the instance of the positioninfo class if yes HOW TO > DO THAT??? > > *It would be very helpful if you guys can help me out. > * > > *thanks and regards > #Ashish Dhiman# --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en -~----------~----~----~----~------~----~------~--~---