Back to project page GeoQuake.
The source code is released under:
Copyright (c) 2014, George Stinson All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
If you think the Android project GeoQuake listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.geo.GeoQuake; /*from w w w . ja v a 2s .c o m*/ import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.util.Log; import android.webkit.WebView; public class WebInfoActivity extends Activity { WebView webView; String infoURL; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.web_info_activity_layout); webView = (WebView) findViewById(R.id.webView); webView.getSettings().setJavaScriptEnabled(true); webView.getSettings().setBuiltInZoomControls(true); Intent intent = getIntent(); infoURL = intent.getStringExtra("url"); webView.loadUrl(infoURL); } protected void onResume(){ super.onResume(); } protected void onDestroy(){ super.onDestroy(); } }