android - What is the difference between ACTION_VIDEO_CAPTURE and INTENT_ACTION_VIDEO_CAMERA? -


i working on camera api , confused between following 2 intents:

action_video_capture 

> added in api level 3

string action_video_capture 

standard intent action can sent have camera application capture video , return it.

the caller may pass in extra_video_quality control video quality.

the caller may pass in extra_output control video written. if extra_output not present video written standard location videos, , uri of location returned in data field of uri. of lollipop, uri can supplied through setclipdata(clipdata). if using approach, still must supply uri through extra_output field compatibility old applications. if don't set clipdata, copied there when calling startactivity(intent).


intent_action_video_camera 

added in api level 3

string intent_action_video_camera 

the name of intent action used launch camera in video mode.

constant value: "android.media.action.video_camera"

if want capture video camera app, of course launch camera in video mode both intents seems that. how different?


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -