Back to project page EasyJobs-android.
The source code is released under:
Copyright (c) 2013, Cai Guanhao (Choi Goon-ho) All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditio...
If you think the Android project EasyJobs-android 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.cghio.easyjobs; /* ww w. j ava2s. co m*/ import android.app.Activity; import android.os.Bundle; import android.webkit.CookieManager; import android.webkit.WebView; public class RunJob extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_runjob); Bundle extras = getIntent().getExtras(); if (extras != null && extras.containsKey("URL")) { String url = extras.getString("URL"); CookieManager cookieManager = CookieManager.getInstance(); cookieManager.setAcceptCookie(false); WebView webview = (WebView) findViewById(R.id.webView); webview.getSettings().setJavaScriptEnabled(true); webview.loadUrl(url); } } }