my que is in this code locationmanager.removeupdate() Has called, but still getaddress() is calling for few times.
i think after locatiomanager.removeupdate() , onlocationchange() should mot call.right? bt it is calling. inturn, getaddress() is calling for few time. I want that getaddress() should not call after having address,based on lat-long. What to do? On Jan 13, 2012 10:38 PM, "Dhaval Varia" <dhavalkva...@gmail.com> wrote: > my que is > > in this code > locationmanager.removeupdate > Has called but getaddress is calling few time. > > i think after remove it, > onlocationchange should mot call.right? > > bt it call. > > inturn,getaddress is calling for few time. > > I dnt want to call after having address from lat-long. > > What to do? > On Jan 13, 2012 10:17 PM, "Spiral123" <cumis...@gmail.com> wrote: > >> that is not a snippet. >> >> >> > >> > Problem is : >> > >> > 1. UpdateRemove doesn't work. >> > >> >> I can't see any reference to 'UpdateRemove' in your code. what is the >> error in the LogCat and what line of code does it happen at? >> >> >> > 2. I need to do following thing : >> > -> Get Address Once (By calling getaddress()), >> > -> After Getting Address,UpdataLocation function should not >> > call. -- >so, Address will set Once >> > Timer should stop >> > Application Finish() / Close >> >> errr...well that is a statement, not a question. What is your >> question? >> >> -- >> You received this message because you are subscribed to the Google >> Groups "Android Developers" group. >> To post to this group, send email to android-developers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en