package com.acmapps.openbrowser;

import android.support.v7.app.ActionBarActivity;
import android.support.v7.app.ActionBar;
import android.support.v4.app.Fragment;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.os.Build;

public class MainActivity extends ActionBarActivity {

    int version = Build.VERSION.SDK_INT ;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        if (savedInstanceState == null) {
            getSupportFragmentManager().beginTransaction()
                    .add(R.id.container, new DummyFragment())
                    .commit();
        }

        if (version >= Build.VERSION_CODES.ECLAIR){
            ActionBar actionBar = getSupportActionBar();
            actionBar.hide();
        }
    }


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }

    @Override
    public boolean onOptionsItemSelected(MenuItem item) {
        // Handle action bar item clicks here. The action bar will
        // automatically handle clicks on the Home/Up button, so long
        // as you specify a parent activity in AndroidManifest.xml.
        switch (item.getItemId()) {
            case R.id.action_settings:
                return true;
        }
        return super.onOptionsItemSelected(item);
    }

    /**
     * A dummy fragment containing a simple view.
     */
    public static class DummyFragment extends Fragment {

        public DummyFragment() {
        }

        @Override
        public View onCreateView(LayoutInflater inflater, ViewGroup container,
                Bundle savedInstanceState) {
            View rootView = inflater.inflate(R.layout.fragment_main, container, false);
            return rootView;
        }
    }

}

@@ -356,16 +356,47 @@
 s.Build;
+%0Aimport android.webkit.WebView;
 %0A%0Apublic
@@ -486,16 +486,20 @@
 K_INT ;%0A
+    
 %0A    @Ov
@@ -1005,24 +1005,216 @@
 ;%0A        %7D%0A
+        %0A        //WebView Code%0A        mWebView = (WebView) findViewById(R.id.webView);%0A        mWebView.getSettings.setJavaScriptEnabled(true);%0A        mWebView.setUrl(%22http://google.com%22);%0A
     %7D%0A%0A%0A    

Add Basic webView functionality into class