ETİKETLER
async-await
İÇERİK TÜRLERİ
Webview içindeki javascriptten gelecek cevabı beklemek
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
getSupportActionBar().hide();
setContentView(R.layout.activity_main);
webView2 = (WebView) findViewById(R.id.webView);
Log.v("htmlg","oncreate started");
main_command();
/*
*
* main_command(), When this command run application must wait in here.
*
* */
Log.v("htmlg", "oncreate finished");
}
public static int finished = 0;
public void main_command(){
/*
*
* There is some webview actions in here. it takes about 5 minutes.
Hakan Sayan
08 Kasım 2016 tarihinde soruldu
08 Kasım 2016 tarihinde soruldu