Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [mainActivity.java]
- package com.app.jerdog.crcc;
- import android.app.Activity;
- import android.os.Bundle;
- import android.webkit.WebView;
- public class mainActivity extends Activity {
- WebView webview;
- /** Called when the activity is first created. */
- @Override
- public void onCreate(Bundle savedInstanceState) {
- super.onCreate(savedInstanceState);
- setContentView(R.layout.main);
- webview = (WebView) findViewById(R.id.webview);
- webview.getSettings().setJavaScriptEnabled(true);
- webview.loadUrl("http://www.google.com");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement