how to get location name by providing lat and lon

by aswani kumar tholeti » Tue, 02 Mar 2010 22:04:44 GMT


Sponsored Links
 Hi all,


In my application i want to get the weather report for that i am using
 http://www.google.com/ig/api?weather=" ;"  by providing city .for me only lat
and longitude is available

how to get place name by lat and longitudes .

if you are having any code please send me


Regards
Aswan

--



Other Threads

1. How to cache Websites

Hi,
I develop an app that is very content centered. Content consists mostly of
html pages (its basically an app version of an existing homepage with some
added features like GPS and camera), so most of the app will just run inside
a webview.
The app is intended to be used mostly offline, though, so I need good
caching mechanisms.

Any ideas how to handle the caching? Basically I would need to check wether
a html page and all pictures are already on the device and only load them
otherwise.
Do I need to parse the html for the links to the pictures or are there
better ways to handle this?

HTML 5 caching seems to work, but I don't feel that I am in control. For
instance: The webview does react to my .manifest file - but caches pages
that are not contained there too.
Using this code, my pages are cached:

webView = (WebView) findViewById(R.id.webview);
webView.getSettings().setJavaScriptEnabled(true);

webView.setWebChromeClient(new WebChromeClient() {
@Override
public void onReachedMaxAppCacheSize(long spaceNeeded, long totalUsedQuota,
WebStorage.QuotaUpdater quotaUpdater) {
quotaUpdater.updateQuota(spaceNeeded * 2);
}
});

webView.getSettings().setDomStorageEnabled(true);

// Set cache size to 8 mb by default. should be more than enough
webView.getSettings().setAppCacheMaxSize(1024 * 1024 * 8);


Thanks,
Stephan
-- 
Interessiert an Android?
http://android-schweiz.blogspot.com/
Whant to learn German?
http://german-podcast.blogspot.com

-- 

2. ImageView hardcoded into layout referencing drawable resources

If I reference a drawable in the "drawable" directory, I see the image
in my layout, but if I reference a drawable in the "drawable-hdpi"
directory, I don't see it (but I don't get an error of any sort
either).  I want to include the app icon on the splash screen, and
would prefer to use the high-res icon.

This works:
                        <ImageView
                                android:layout_width="wrap_content"
android:layout_height="wrap_content"
                                android:layout_gravity="center" 
android:layout_marginRight="20dip"
                                android:src="@drawable/app_icon" />

This doesn't:
                        <ImageView
                                android:layout_width="wrap_content"
android:layout_height="wrap_content"
                                android:layout_gravity="center" 
android:layout_marginRight="20dip"
                                android:src="@drawable-hdpi/app_icon" />

Thoughts?

-- 

3. OOT : Hollywood Stop Edarkan Produksi Filmnya ke Indonesia

4. drawBitmapMesh

5. Android SDK and AVD Manager shows already installed updates as "Available"

6. Perkenalan anggota baru

7. Significant Fragment bug? onInflate() not called at the right time on a restart