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

Popular posts from this blog

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -