Posts
Android+Google Map API v3 Geocoding(地址轉經緯度度
- Get link
- Other Apps
package wells.example.googlemapexample; import android.app.Activity; import android.content.Context; import android.location.Criteria; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.view.View; import android.view.WindowManager; import android.webkit.WebView; import android.webkit.WebViewClient; import android.widget.Button; import android.widget.EditText; import android.widget.LinearLayout.LayoutParams; import android.widget.Toast; public class MainActivity extends Activity { private static final String MAP_URL = "file:///android_asset/googleMap.html"; private WebView webView; private EditText addressText; private Button submit; private boolean webviewReady = false; @Override /** Called when the activity is first created. */ public void onCreate(Bundle savedInstanceState) { super.onCreate(savedIns