How to get the current city/country name?

by Kakyoin » Tue, 25 Nov 2008 18:11:06 GMT

Sponsored Links
 Is it possible to get the city name(I mean the city where the phone is
in at the current time)?

I need it as a parameter for google weather API, like this: ,country_name

I tried browsing the classes in "android.location" package but have
yet to find a method to get the 'exact city name' and country name
needed for google weather API.

Thank you in advance. =)

Other Threads

1. Could a Galaxy S owner give me a hand and test a free app for me?


I just tried it - Galaxy S, firmware I9000XXJF5, build ECLAIR.XWJFB.

Worked perfectly.

Do you still want the logcat?

-- Kostya

16.07.2010 21:38, Robert Green :
So I need someone with a Galaxy S to run Deadly Chambers Demo with logcat up to see what the problem is and email me with any information that can help me fix it.
-- Kostya Vasilev -- WiFi Manager + pretty widget -- --

2. mp3 files <=0.34 secs not playing on Droid X using MediaPlayer

Getting reports that mp3 files <= 0.34 secs in length, are not played
(or, at least, inaudible) on the Droid X.  Works fine on other devices
I've tried (e.g. Nexus One, Hero, G1)

All files longer than 0.34 secs are working fine. I've tested this
with about 100 files (mixture of short and long) and the correlation
is 100%.

Has anyone else experienced this?


3. Could a Galaxy S owner give me a hand and test a free app for me?

4. and chmod

5. Android and Junit reports Test run failed: No test results

6. Desire atau Galaxy S?

7. access points