Libraryless. Click here for Pure Java version (33L/1K/2K).
1 | !636 |
2 | !711 // runnable { |
3 | |
4 | import android.view.*; |
5 | import android.widget.*; |
6 | import android.webkit.*; |
7 | import android.app.*; |
8 | import android.content.Context; |
9 | |
10 | public class main {
|
11 | public static View main(final Activity context) {
|
12 | context.runOnUiThread(runnable {
|
13 | WebView wv = new WebView(context); |
14 | wv.setWebViewClient(new WebViewClient()); |
15 | //wv.loadUrl("http://slashdot.org");
|
16 | wv.loadUrl("http://search.tinybrain.de");
|
17 | }); |
18 | return new TextView(context); |
19 | } |
20 | } |
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: | 948 / 1015 |
| Referenced in: | [show references] |