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.
精彩评论