I see a ton of results when searching for how to open the camera, and get the returned image. What about simply opening the camera app without any r开发者_开发百科eturn at all? I just want the camera to function as normal.
You could just send an ACTION_CAMERA_BUTTON intent? That should do the trick.
Intent intent = new Intent(ACTION_CAMERA_BUTTON, null);
startActivity(intent);
Obviously, "this" needs to be your current activity.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论