aspose file tools
The moose likes Android and the fly likes  it doesn't give me the country name Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Mobile » Android
Reply Bookmark " it doesn Watch " it doesn New topic
Author

it doesn't give me the country name

sameera liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 643
this is my main class.it shows me the longitude & latitude.



it is working fine.but the thing is that when i run this programm in my phone it gives me that current location latitude and longitude.

but it doesn't give me the country name.I don't know why ?
can anyone tell me the reason ?
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2407
I assume there is code somewhere that prints out locationdetails after the geoCoder has been called? Or are you relying on onLocationChanged being called again with another location update?
Naishadh Parmar
Ranch Hand

Joined: Jun 02, 2011
Posts: 77

But you didn't call locationdetailstextview.setText() method after getting the country!!!
sameera liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 643
I change the code.here is my java class.i have added a settext after getCountry line.



This is my main xml file



still no prints country name.
sameera liyanage
Ranch Hand

Joined: Nov 25, 2008
Posts: 643
can anyone tell me the reason ?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: it doesn't give me the country name
 
Similar Threads
it doesn't shows location details
it doesn't change the longitude & latitude
street view & satilite view is not working
how to add a google search option
It prints me pointer repeatedly