How to open the camera in the webviewer?

Try adding this in your manifest.xml file

<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
1 Like

thank you!
but how to modify the xml file?
if when kodular build apk,auto add this permission,then it is very good.
wish kodular team can slove this problem,thanks!

1 Like
  1. Export apk and change .apm to .rar
  2. Extract rar, find and edit manifest file with any editor.
  3. Compress folder to .rar and change extension to .apk

There is many permissions which is used less of any app like this so this is edit by user only and many usefull are added by kodular itself.

I tried what you said. It doesn’t solve the problem…
could you modify a kodular apk,send me to try?

Seriously?

Decomplile the APK with eg APK Studio Editor or AppToMarket, edit the Manifest, recompile, sign.

4 Likes

what about dragging the camera component into your project (without using it), which adds these permissions automatically?

Taifun

2 Likes

i tried,but it is not work too.
who can open camera in the webviewer?help me…

thanks,i decompliled the APK, the xml file find out already contains the uses-permission for camera and the storage,so i think It’s not about the uses-permission,it is about webviwer.

@bodymindpower
Is it an android app or a software

Please can you drop the link.

Google is your friend, Always get help from Google.

https://qwertycube.com/apk-editor-studio/

3 Likes

4 Likes

thank you very much!
But it’s sad that webviwer in kodular no such parameter.
@Hossein please check this,could you add allowcamera parameter in kodular webviwer ?

3 Likes

why it has to be in webviewer? what do you want to do?

appinventor have an extension call look. you can use that to open your camera in webviewer

Yes, actually kodular webview missing : allow camera feature.
this feature exists in appybuilder / old webview component.

@ ImranTariq It is not about permission this feature (allow camera) is missing.

1 Like

I need this feature “allow camera” in webview… now when the people upload file in webview don’t look the camera option…
Put this component please in webview!!!

try this extension


Taifun

The Kodular Web Viewer Component is very limited of what it can do for security purposes. Downloading files for example is not allowed in a Kodular WebView component. To open the camera within a WebView, you may need an extension for that.