Home > Mobile >  Oneself write a camera app, registered with the system, for the other app call my app
Oneself write a camera app, registered with the system, for the other app call my app

Time:11-02

Some call App taking pictures is the camera system, want to make a camera App, let the other program calls the camera, you can use my program,

Write their own camera to register the Intent Filter
Android. Media. Action. Image_capture

To write a test program, use the new Intent (MediaStore), then startActivityForResult (Intent),

But doesn't work, run after the camera directly call system...

How to do it, please?

CodePudding user response:

The action to write wrong
Should be an android. The provider. Mediastore. ACTION_IMAGE_CAPTURE

CodePudding user response:


Management inside the default application, set to their applications, different mobile position is different, the comparison of some hidden deep, find out more
  • Related