android - Extend Video recording time in Google Glass -


is there way can extend default video recording time on glass. current recording time 10 seconds , have extend manually pressing camera key 1 second or tapping , choosing extend video option. wondering whether there flag can set when requesting camera start recording cause camera record extended video.

i wondering how can set maximum time limit of video recording , default time limit of video recording in glass ?

i using code below starting glass camera video recording

intent intent = new intent(mediastore.action_video_capture); startactivityforresult(intent, capture_video_request_code); 

also if there isn't possible way can guide me on alternatives. there open source camera available works glass or should have write own camera [any links me started] ?

hope him idea it:

    intent intent = new intent(android.provider.mediastore.action_video_capture);     intent.putextra("android.intent.extra.durationlimit", 60);     startactivityforresult(intent, capture_video_request_code); 

this above code video duration 1 minute,if u want extend video time that,and video duration 2 minutes:

    intent intent = new intent(android.provider.mediastore.action_video_capture);     intent.putextra("android.intent.extra.durationlimit", 120);     startactivityforresult(intent, capture_video_request_code); 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -