-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathRepo.java
More file actions
33 lines (25 loc) · 889 Bytes
/
Repo.java
File metadata and controls
33 lines (25 loc) · 889 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
package com.vivek.github.basic;
import com.vivek.github.R;
import android.app.Activity;
import android.os.Bundle;
import android.view.WindowManager;
import android.webkit.WebView;
public class Repo extends Activity {
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
String re = "file:///android_asset/repo.png";
String ini = "file:///android_asset/init.html";
String inim = "file:///android_asset/initm.html";
super.onCreate(savedInstanceState);
setContentView(R.layout.repo);
WebView rep = (WebView)findViewById(R.id.repo);
rep.loadUrl(re);
WebView init = (WebView)findViewById(R.id.init);
init.loadUrl(ini);
WebView initm = (WebView)findViewById(R.id.initm);
initm.loadUrl(inim);
}
}