displaywebpagedemo-rybackpo created by Classroom for GitHub
This assignment illustrates how to display a webpage from an Android application.
Implement an Android application that displays DLSU webpage on launch.
public void displayWebpage(){
WebView webview = (WebView) findViewById(R.id.viewwebpagedlsu);
webview.loadUrl("http://www.dlsu.edu.ph");
}
https://github.com/DeLaSalleUniversity-Manila/displaywebpagedemo-rybackpo
On layout xml:
<WebView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/viewwebpagedlsu"
android:layout_width="match_parent"
android:layout_height="match_parent" />
On AndroidManifext xml (In order to have Access to the Internet):
<uses-permission android:name="android.permission.INTERNET" />