code Test

Thursday 6 March 2014
Posted by Soumik
this is a test post so dont freak out. code will be posted here.


package Webview.droidgyaan.in;

import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.app.Activity;


public class MainActivity extends Activity {
    
    private WebView mWebView;
    
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        mWebView = (WebView) findViewById(R.id.activity_main_webview);
        //Enables JavaScript
        WebSettings webSettings = mWebView.getSettings();
        webSettings.setJavaScriptEnabled(true);
        mWebView.setWebViewClient(new WebViewClient());
        mWebView.loadUrl("http://www.droidgyaan.in");
        
    }
    
    @Override
    // Detect when the back button is pressed
    public void onBackPressed() {
        if(mWebView.canGoBack()) {
            mWebView.goBack();
        } else {
            // Let the system handle the back button
            super.onBackPressed();
        }
    }
    
    
    

}


So this is how you code..

Testing for various template and gadgets which are applied on droidgyaan.in are first tested here and then applied there. So you can say that I am just an lab mice/ guinea pig :(
I just hate this feeling and hope that someday I am able to help droidgyaan in some meaningful way.
     Till then let me sleep on the couch and please do not wake me up even if you want to do something with me. Just do whatever the hell you want to do with me and get lost. Don't make me feel unwanted. Now you can STFU and let me sleep.
Your's unwanted
- DroiDee
 Droidgyaan 's step brother (hated by all)


Posted via Blogaway
Welcome to My Blog

Popular Post

Blogger templates

Total Pageviews

Follow us on FaceBook

About

  • How to store your contacts on Google
  • How to revive your wet phone
  • Cloud storage apps for Droid.
  • Download apk files directly to your pc.
  • What do you mean by rooting an android.

ShareThis

Pages

Powered by Blogger.

Translate

Followers

Search This Blog

Popular Posts

- Copyright © DroiDee -Robotic Notes- Powered by Blogger - Designed by Johanes Djogan -