私は2つのデバイスを持っています。1 つはHTC WildFire Sで、もう 1 つはHTC 1Vです。アプリケーションでを使用しGeocoder.getFromLocationName()
ました。HTC ワイルドファイア Sで正常に動作しています。しかし、HTC 1Vでは、次のエラーが発生しました。なぜそれが来たのですか?どうすればこれを解決できますか? 誰でも私を助けてください。
コード
Geocoder geoCoder = new Geocoder(getBaseContext(), Locale.getDefault());
//s is the address
List<Address> addresses = geoCoder.getFromLocationName(s, 5); //Here i got the following Exception.
エラー
06-18 16:28:17.933: W/System.err(4960): java.io.IOException: Service not Available
06-18 16:28:17.953: W/System.err(4960):at android.location.Geocoder.getFromLocationName(Geocoder.java:178)
ロケーションタブ