There is no such thing as a "self-closing" XML tag. The two lines below -- original and your "SHOULD BE" version -- are 100% equivalent, and parsers will not distinguish between them.
The standard is at: http://www.w3.org/TR/2006/REC-xml11-20060816/ if you'd like to verify. HTML is a different story -- and when writing XHTML, sometimes you have to consider that it may be parsed by an HTML parser instead of an XML parser, so there are times when you must write, for example, <br /> and other times when you must write <script ...></script> to avoid mistakes by these legacy HTML parsers not properly understanding the syntax. However, that's simply a practical consideration dealing with old browsers, and has no relevance here. On Apr 1, 7:40 pm, 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.

