Thanks all, Its working fine. I missing updateLocation() that is why it was not working.
Thanks again. On Apr 2, 2:28 pm, Vaikunth <[email protected]> wrote: > Hi, > Closing XML tag is not affecting. > > And my application working fine now. > > Hi Mark, > The sample is still not working. > In this sample may be something missing > in WeatherPlus.java the line > public static final String > BROADCAST_ACTION="com.commonsware.android.service.ForecastUpdateEvent"; > So where is the file ForecastUpdateEvent? > May be for that it is not working. > > Hi Beena, > If you have set all the permission then as Mark says it should work. > Otherwise have to see the code for that. > > Thanks, > Vaikunth > > On Apr 2, 7:40 am, patbenatar <[email protected]> wrote: > > > Ummm.. I noticed for some reason you're closing what should be a self- > > closing XML tag (uses-permission).. You're doing that the first line, > > INTERNET, but not on any other lines... No idea if this could be > > causing a problem, but its worth correcting anyhow. > > > <uses-permission android:name="android.permission.INTERNET"></uses- > > permission> > > > SHOULD BE: > > <uses-permission android:name="android.permission.INTERNET" /> > > > Other than that, no clue without seeing some of your LocationListener > > code. > > > -Nick > > > On Apr 1, 5:35 am, Vaikunth <[email protected]> wrote: > > > > By logging i can find that LocationListener() not called. > > > > So is there any issue in that. > > > > On Apr 1, 5:26 pm, Mark Murphy <[email protected]> wrote: > > > > > Vaikunth wrote: > > > > > Hi Mark, > > > > > Thanks for reply. > > > > > > I am in India. > > > > > > So my observation over my Samsung Galaxy Spika > > > > > I have installed one application from Android Market which shows me my > > > > > location so I think there is no problem in my device. > > > > > > Now in my app: > > > > > I have set all the permission > > > > > <uses-permission android:name="android.permission.INTERNET"></uses- > > > > > permission> > > > > > <uses-permission > > > > > android:name="android.permission.ACCESS_FINE_LOCATION" /> > > > > > <uses-permission > > > > > android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" /> > > > > > <uses-permission > > > > > android:name="android.permission.ACCESS_COARSE_LOCATION" /> > > > > > > And it is running fine in emulator using mock location. > > > > > > So what else remaining. > > > > > I have no further advice, other than to get rid of > > > > ACCESS_LOCATION_EXTRA_COMMANDS. > > > > > -- > > > > Mark Murphy (a Commons > > > > Guy)http://commonsware.com|http://twitter.com/commonsguy > > > > > Android App Developer Books:http://commonsware.com/books > > -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe, reply using "remove me" as the subject.

