Libraryless. Click here for Pure Java version (33L/1K/2K).
!636 !711 // runnable { import android.view.*; import android.widget.*; import android.webkit.*; import android.app.*; import android.content.Context; public class main { public static View main(final Activity context) { context.runOnUiThread(runnable { WebView wv = new WebView(context); wv.setWebViewClient(new WebViewClient()); //wv.loadUrl("http://slashdot.org"); wv.loadUrl("http://search.tinybrain.de"); }); return new TextView(context); } }
Began life as a copy of #1000443
download show line numbers debug dex old transpilations
Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, hxnwyiuffukg, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, onxytkatvevr, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1000683 |
| Snippet name: | WebView test |
| Eternal ID of this version: | #1000683/1 |
| Text MD5: | 2efdb268e248924ce4b17d8baeab70af |
| Transpilation MD5: | 56921a937a82d7f37cf9ffda51ad76cd |
| Author: | stefan |
| Category: | javax android |
| Type: | JavaX source code (Android) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-08-22 01:41:02 |
| Source code size: | 510 bytes / 20 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 947 / 1014 |
| Referenced in: | #3000188 - Answer for stefanreich(>> t search) #3000382 - Answer for ferdie (>> t = 1, f = 0) #3000383 - Answer for funkoverflow (>> t=1, f=0 okay) |