Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
233 views
in Technique[技术] by (71.8m points)

Flutter: Android - How to open camera

I am trying to open the camera app on Android in Flutter. I don't want to open a camera in the app itself, I want to open the 'Camera' app as an external app.

My idea was to open it throught the 'external_app_launcher' package, but is there a unique package name for the camera on Android or how am I able to get the package name of the camera app?

question from:https://stackoverflow.com/questions/65643403/flutter-android-how-to-open-camera

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I personally have never used this package, but it is mentioned on the official site of Flutter (here). So you should take a look at it:

camera | Flutter Package


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...