Convert Website Into Android App
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
android:id="@+id/webview"
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
private WebView mywebView;
mywebView=(WebView) findViewById(R.id.webview);
mywebView.setWebViewClient(new WebViewClient());
mywebView.loadUrl("https://techproadvice.blogspot.com/");
WebSettings webSettings=mywebView.getSettings();
webSettings.setJavaScriptEnabled(true);
public class mywebClient extends WebViewClient{
@Override
public void onPageStarted(WebView view, String url, Bitmap favicon){
super.onPageStarted(view,url,favicon);
}
@Override
public boolean shouldOverrideUrlLoading(WebView view,String url){
view.loadUrl(url);
return true;
}
}
@Override
public void onBackPressed(){
if(mywebView.canGoBack()) {
mywebView.goBack();
}
else{
super.onBackPressed();
}
}
How to Perform ‘Hajj and Umrah
Great work man I really appreciate your help please continue providing java code that you so much
ReplyDeleteThank you for this code. pls how do i configure the image and file upload on android studio
ReplyDeletenoobhackers
ReplyDeletenoobhackers
noobhackers
noobhackers
noobhackers
noobhackers
noobhackers
noobhackers
noobhackers
How can i implement notification to that app?
ReplyDeleteI managed to turn my web app into an android app and it was dealing with a chat system, now I was looking for help for anyone who knows the receipt codes for each of the sender's messages to be in the notification system
ReplyDeleteGreat information. Thank you for sharing.
ReplyDeleteMobile app development company Gurgaon India
Android app development company Gurgaon India
You have no idea how helpful your stuff is. I cannot thank you enough.
ReplyDelete