android - webview does not show all content -
i need load url in webview - http://intor.club/files/comments.php?serial=56 can not see in webview see in browser. mobile browser works. javascript on. help me! give thanks you!
mwebview = (webview) rootview.findviewbyid(r.id.webview); mwebview.getsettings().setjavascriptenabled(true); mwebview.loadurl("http://intor.club/files/comments.php?serial=56");
first create sure xml file showing webview width fill parent , height
<?xml version="1.0" encoding="utf-8"?> <webview xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/webview1" android:layout_width="fill_parent" android:layout_height="fill_parent" />
don't forget net permission in androidmanifest.xml
<uses-permission android:name="android.permission.internet" />
it should work know
i test myself
when comment javascript enable got this
//wbeview.getsettings().setjavascriptenabled(true);
when enable java script (there no comment in thread)
i see want access comment , may not authorized access it.
things should seek :-
1- seek connect facebook or other connection site , access link 1 time again .
2- seek connect main page work "http://intor.club/ "
android android-webview
No comments:
Post a Comment