Loading the player...

Android Studio - Fullscreen Activity + WebView Tutorial (WebApp)

  • Hello guys, that's my 3rd Tutorial video ever.nHope you will like it !nnName : PLNKS - Growl at You (Original Mix)nTrack I used : www.youtube.com/watch?v=vwyRldkGeEMnn----------------------------------------------------------------------------------nHow to :n1. Create a New Projectn2. Select Android 4.0.3 (96% compatible devices and supports Fullscreen Activity)n3. Select Fullscreen Activityn4. Drag WebView to your screen and move it to the topn5. Remove the Dummy button (optionally)n6. Go to Fullscreen Activity and findnnsetContentView(R.layout.activity_fullscreen);nn7. Bellow that code type the WebView call codennWebView view = (WebView) this.findViewById(R.id.webView);nview.setWebViewClient(new WebViewClient());nview.loadUrl("YOUR WEBSITE HERE");nview.getSettings().setJavaScriptEnabled(true);nn8. Then go to your Manifest.xml file and add INTERNET permissionn(YouTube doesn't allows me to add the code cause of the brackets)nVOILA, your first WebApp is ready :) n----------------------------------------------------------------------------------

    Category : Компьютерные игры

    #android#studio#fullscreen#activity#+#webview#tutorial#webapp

    0 Comments and 0 replies
arrow_drop_up