On Thursday, April 14, 2016 at 11:28:38 PM UTC-7, gjs wrote:
>
> Hi,
>
> Take a look at 
> http://developer.android.com/training/scheduling/wakelock.html
>
> You probably also need to set the Display Sleep time in Android Settings 
> as well.
>

In my limited testing, setting the parameter in the activity seemed to do 
the trick by itself.  Thanks.
 

>
> Regards
>
> On Friday, April 15, 2016 at 12:07:03 PM UTC+10, David Karr wrote:
>>
>> I've assembled a custom video recorder app based on a common sample from 
>> Google.  You can see the entire source at 
>> https://github.com/davidmichaelkarr/android-Camera2Video/tree/refinements 
>> .
>>
>> Except for an annoyance I recently posted about here (writes zero length 
>> file in addition to valid files), it works pretty well, except for the fact 
>> that when the app sits idle for a minute or so, it seems like it just goes 
>> away.
>>
>> I imagine there's an idle timeout, perhaps related to the overall power 
>> management on the phone.
>>
>> For this particular app, when it's running, I want it to never time out.  
>> What's the best way to make that happen?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/de216046-2908-4a21-b685-0386b6a7b03a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to