Click here to Skip to main content
15,440,884 members
Home / Discussions / Android
   

Android

 
GeneralRe: Interaction with notifications Pin
Eugenio Roverato1-Aug-21 4:28
MemberEugenio Roverato1-Aug-21 4:28 
GeneralRe: Interaction with notifications Pin
Richard MacCutchan1-Aug-21 4:29
mveRichard MacCutchan1-Aug-21 4:29 
GeneralRe: Interaction with notifications Pin
Eugenio Roverato1-Aug-21 4:56
MemberEugenio Roverato1-Aug-21 4:56 
GeneralRe: Interaction with notifications Pin
Richard MacCutchan1-Aug-21 5:35
mveRichard MacCutchan1-Aug-21 5:35 
GeneralRe: Interaction with notifications Pin
Eugenio Roverato1-Aug-21 23:00
MemberEugenio Roverato1-Aug-21 23:00 
AnswerRe: Interaction with notifications Pin
David Crow2-Aug-21 2:26
MemberDavid Crow2-Aug-21 2:26 
GeneralRe: Interaction with notifications Pin
Eugenio Roverato2-Aug-21 5:41
MemberEugenio Roverato2-Aug-21 5:41 
QuestionAndroid: advice on method to wake up CPU from sleep, carry out a task then go back to sleep Pin
Member 152740822-Jul-21 20:58
MemberMember 152740822-Jul-21 20:58 
HI, i have created a time lapse camera app that collects images during daylight hours and uploads those images to an FTP server. I now need to add a method to prolong battery life by waking up the cpu at a specific time, collect an image, then go back to sleep between image collections (15 - 20 mins) then stay asleep at night, this is repeated on a daily basis.

The AlarmManager class might be the way to go but my programming skills aren't great. This class has an example that (i think) could wake the cpu at a given time then use the setRepeating method to wake up the device every x minutes after that. Is this correct? However i need it to stop doing that at night and repeat each day, is this possible?

Any advice on this and/or example code to get me started would be much appreciated.

Cheers.
AnswerRe: Android: advice on method to wake up CPU from sleep, carry out a task then go back to sleep Pin
Mycroft Holmes3-Jul-21 13:25
professionalMycroft Holmes3-Jul-21 13:25 
GeneralRe: Android: advice on method to wake up CPU from sleep, carry out a task then go back to sleep Pin
Peter_in_27803-Jul-21 14:24
professionalPeter_in_27803-Jul-21 14:24 
GeneralRe: Android: advice on method to wake up CPU from sleep, carry out a task then go back to sleep Pin
Mycroft Holmes5-Jul-21 12:27
professionalMycroft Holmes5-Jul-21 12:27 
QuestionHow can I make an android app for Amazon Store affiliate deal & coupons? Pin
Amit Saha 202122-Jun-21 0:05
MemberAmit Saha 202122-Jun-21 0:05 
AnswerRe: How can I make an android app for Amazon Store affiliate deal & coupons? Pin
codelexer22-Jun-21 18:41
Membercodelexer22-Jun-21 18:41 
QuestionHow to set proportional distance between two controls? Pin
Alex Dunlop19-Jun-21 6:41
MemberAlex Dunlop19-Jun-21 6:41 
Questionwhy I am not able to fetch data from Json in AndroidStudio Pin
jerry pugu27-May-21 1:55
Memberjerry pugu27-May-21 1:55 
AnswerRe: why I am not able to fetch data from Json in AndroidStudio Pin
Richard Deeming27-May-21 3:06
mveRichard Deeming27-May-21 3:06 
AnswerRe: why I am not able to fetch data from Json in AndroidStudio Pin
BrillMindz Tech20-Sep-21 21:43
MemberBrillMindz Tech20-Sep-21 21:43 
QuestionConcepts for app development Pin
satyendra109015-May-21 19:43
Membersatyendra109015-May-21 19:43 
QuestionHow to create a semi-transparent frame in Xamarin (XAML code)? Pin
Alex Dunlop13-May-21 19:59
MemberAlex Dunlop13-May-21 19:59 
AnswerRe: How to create a semi-transparent frame in Xamarin (XAML code)? Pin
Richard MacCutchan13-May-21 21:04
mveRichard MacCutchan13-May-21 21:04 
GeneralRe: How to create a semi-transparent frame in Xamarin (XAML code)? Pin
Alex Dunlop13-May-21 23:03
MemberAlex Dunlop13-May-21 23:03 
GeneralRe: How to create a semi-transparent frame in Xamarin (XAML code)? Pin
Richard MacCutchan13-May-21 23:22
mveRichard MacCutchan13-May-21 23:22 
GeneralRe: How to create a semi-transparent frame in Xamarin (XAML code)? Pin
Alex Dunlop13-May-21 23:53
MemberAlex Dunlop13-May-21 23:53 
GeneralRe: How to create a semi-transparent frame in Xamarin (XAML code)? Pin
Richard MacCutchan14-May-21 0:57
mveRichard MacCutchan14-May-21 0:57 
AnswerRe: How to create a semi-transparent frame in Xamarin (XAML code)? Pin
Gerry Schmitz14-May-21 9:42
mveGerry Schmitz14-May-21 9:42 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.