android ,Is there a tutorial on how to call cameras and albums. #1278
-
I want to call the camera by clicking on the DetailedList,And assign the element information to the photo name。 |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 21 replies
-
Unfortunately, we don't have a tutorial for this. We don't currently have a cross-platform API for these features; to implement them, you need to write code against the native platform APIs for camera access, etc. You'll need to combine the documentation for Chaquopy layer with Android's own platform documentation for camera and album access. |
Beta Was this translation helpful? Give feedback.
-
That stack trace indicates you're not using Toga 0.4.2. You've either not updated your |
Beta Was this translation helpful? Give feedback.
If you're a Briefcase generated app template that generated the configuration files you provided earlier, you can't be getting that error. The error message talks about
org.beeware.examples.hardware.fileprovider
; your application iscom.example.helloworld
.I strongly suspect you've copy-and-pasted some code from the Hardware example - most likely the code that sets the app's bundle ID. If you correct the bundle ID and rebuild, it should find the correct file provider.