Android Advance WebView -
i using advance webview
uploading multiple images in application while uploading image in webview
, file-chooser
option not appeared. need upload images camera capture. please give solution.
xml
code :-
<im.delight.android.webview.advancedwebview android:id="@+id/webview" android:layout_width="match_parent" android:layout_height="match_parent"> </im.delight.android.webview.advancedwebview>
android
code :-
mwebview = (advancedwebview) findviewbyid(r.id.webview); mwebview.setlistener(this, this); @override protected void onactivityresult(int requestcode, int resultcode,intent intent) { super.onactivityresult(requestcode, resultcode, intent); mwebview.onactivityresult(requestcode, resultcode, intent); }
check code out: github used self , worked. don't forget add in androidmanifest.xml
<uses-permission android:name="android.permission.camera" /> <uses-permission android:name="android.permission.write_external_storage" />
if have more question ask. hope solves problem.
Comments
Post a Comment