Android :: Observation / Comments On "regularly" Scheduled Events
Mar 27, 2009
I have an observation concerning how Android handles scheduled events and would like any suggestions, comments, or feedback on how other developers have handled this behavior in Android. I have noticed that there does not appear to be anyway to schedule an event to happen at "regularly" scheduled times. By regularly scheduled times I mean a long-lived service/schedule that must run every "n" minutes. For instance, an application that must check the status of a web service at user specified intervals (like every 10 minutes). I have tried a writing a service to run in the background using Context.start Service, Android stops that service after a few minutes. And, there are many senior Android developers that recommend using the "alarm that starts a service" method for this type of application. My testing on Context.Start Service would tend to agree. My best results have been using an alarm to start a service, although the results are still less than stellar. I have done weeks of testing trying to get Android to run a service every 10 minutes (or even close to 10 minutes) using the "Alarm that starts a service" method. The best I can get in a 24 our period for an alarm scheduled every 10 miutes is about 75% (110 out of 144 repeating alarms). I have tried varying this interval from 1 minute to 30 minutes with the same result. I have tested on a non-rooted T-Mobile both 1.0 and 1.1 firmware. I have tested on an ADP using both 1.0 and 1.1 firmware. I have tried using "PARTIAL_WAKE_LOCK" and "FULL_WAKE_LOCK" feature of the PowerManager. Nothing seems to work. Android just will not run an event consistently. I had high hopes for the repeating alarm that starts a service, but it seems Android always skips many of the scheduled alarms. I am beginning to think that "Reguarly" scheduled events is not even possible in Android. I'm looking for any comments and suggestions from developers and Android engineers.
View 22 Replies
Jan 11, 2010
I am trying to have some code execute every 24 hours.But my question has to do with how to trigger the service even if the phone has not been rebooted.In other words, suppose someone installs my application.I would like to make it so that in 24 hours, it executes some code, whether or not the phone has been rebooted.
View 10 Replies
View Related
Jun 6, 2010
Credit to Branndon http://androidforums.com/all-things-root-droid/92456-chrome-phone-2-2-a.html
For the original sighting.
Is it me or is the guy in the video way too excited and sounding like Jim Cramer or no?
YouTube - Froyo - ChomeToPhone - AndroidCentral.com
View 6 Replies
View Related
May 1, 2009
I found that the old bug reported in http://code.google.com/p/android/issues/detail?id=1578 where only a power cycle brings back the camera still persists with the official Cupcake firmware on my ADP. When it happens - and I've encountered it several times in a few days now - no camera application can access the camera. A power cycle is needed to recover from this locked camera state.
View 8 Replies
View Related
May 1, 2010
How do I change the settings so that when I receive a text message, it will beep every 2, 5, or 10 minutes after that? Right now, it just beeps once and if I don't hear it the first time and it's in my pocket, I just have to keep checking my phone. Suggestions?
View 7 Replies
View Related
Aug 14, 2010
I have 4 email address on my phone, I have trouble with them updating. They dont stay current like my blackberry did. My aol account and gmail never seem to update. I set them to 5 min update and still nothing. Anyone else have this problem? They will update if I manually hit update.
View 12 Replies
View Related
May 1, 2010
Looking for a scheduled reboot app with a non rooted phone android 2.1.I noticed that my free memory goes from around 210s to 130s in a day even with ATK running.Don't know where the memory is leaking but maybe someone can fill me in.Anyway with a reboot it jumps right back up to the 210s even though all the apps are running in ATK.
View 20 Replies
View Related
Aug 31, 2010
i get this at least once or twice per day since updating the phone to 2.2 via OTA, and sometimes it's more like 5 or 6. it doesn't seem like it's a rampant problem based upon the latest threads here. anyone else have this issue? i figure doing a factory reset is my best bet but just wanted to get some feedback first.
View 1 Replies
View Related
May 15, 2010
Just downloaded the latest version of Titanium off the market and it now offers scheduled backups (not sure if this is only for the paid version). There are also a handful of other new features that I haven't checked out yet. I am pretty excited about this and just wanted to give my rooted brothers and sisters a heads up
View 5 Replies
View Related
May 19, 2010
Are there any apps out there that would allow me to have both gmail and exchange switch from "as mail arrives" to "manual" certain times of the day?For instance, I sit in front of my work computer most of the day and don't require immediate email to my phone, same with gmail.So from say 8-5pm I don't really need instant mail. Also, from say 11pm - 6am I also don't need instant mail since I'm sleeping :-)it would be important that this would be controlled by days (for instance, I would like to be able to schedule the instant mail off on Monday, Tuesday, Thursday and Friday from 8am - 5pm.
View 7 Replies
View Related
Jun 3, 2010
Is there an application that will turn the power off and on automatically at preset times?I would like to have the power off after a set time (e.g. 2 am) at night and power back on in the morning.I notice that my battery only reaches full charge with the power off.
View 4 Replies
View Related
Jul 31, 2010
My XPERIA X10i turns off automatically during phone calls and it remains off for long, even after removing battery and replacing it doesn't switch on.
View 1 Replies
View Related
Jun 3, 2010
My app schedules an alarm,with the alarm scheduled, what happens if I release a new version of my app, and the user upgrades the app? Will this alarm be removed? Or will it be left untouched, and fired as expected?
View 2 Replies
View Related
Oct 8, 2010
Looking for an app to turn on data only at regularly scheduled intervals, say every 15 minutes or so.Anything out there? I know juicedefender may do this but I've heard mixed reviews on it.
View 10 Replies
View Related
Apr 30, 2010
I am trying to execute a {public void} method in Service, from scheduled TimerTask which is periodically executing.This TimerTask periodically checks a condition. If it's true, it calls method via {className}.{methodName};However, as Java requires, the method needs to be {pubic static} method, if I want to use {className} with {.dot}.The problem is this method is for notification using Toast(Android pop-up notification) and Status Bar.But for this to work, the method must not have {static} modifier and resides in Service class.So, basically, I want background Service to evaluate condition from scheduled TimerTask, and execute a method in Service class.Can anyone help me what's the right way to use Service, invoking a method when certain condition is satisfied while looping evaluation?
View 1 Replies
View Related
Jan 22, 2010
I have not heard of one person yet who got the 1/22 that was scheduled from the Verizon memo back in November.
View 11 Replies
View Related
Aug 10, 2010
So I am having issues pairing my Inc with my Audi. Seems a common issue with several of the German cars and my research indicates it is because HTC loaded a crappy version of bluetooth with the phone, not the true 2.1 version that is in other phones. Has anyone found a workaround/fix for this? is it scheduled to be fixed in Froyo?
View 5 Replies
View Related
Jul 1, 2010
Automatically resets Ur phone at a set scheduled time. My blackberry had one called restart me. I know android has one, Jus can't seem to find it.
View 2 Replies
View Related
Feb 21, 2009
I can't seem to view comments in my own application. Is anyone else having this issue?
View 5 Replies
View Related
Feb 20, 2009
I tried to give my app a little boost, and gave it 5 stars on my phone. Strangely, I cannot see my own comment, even on cyrket.
http://www.cyrket.com/package/com.nubi news.full reader Does Google use some sort of psychic sensing to filter out comments by the app's writer?
View 2 Replies
View Related
Aug 14, 2010
I would to enter in some comments into the layout XML files, how would I do that?
View 3 Replies
View Related
Jun 11, 2010
Where exactly is your name coming from when you post a comment in the Android Market. I can't recall entering my name anywhere on the EVO where the market can pull it up from. What if I wanted to post an anonymous comment or use a pen name?
View 5 Replies
View Related
Dec 25, 2009
I always see comments people left at the bottom of the Apps screens. Where do you go to post these comments?
View 4 Replies
View Related
Jun 30, 2010
I just noticed a new link in the developer console for comments.When clicked, it shows the comments the users have posted. No way to answer them but at least you can see them outside the device.
View 1 Replies
View Related
Jun 18, 2010
I've noticed over some time that some comments are disappearing and not just old ones but ones that have recently been placed, is this a bug?The comment that I noticed was placed on 6/3 but doesn't show on the phone, it only shows on some sites that index the market.
View 3 Replies
View Related
Jul 26, 2010
every time I have looked at the market comments for my app over the last few days some more comments have disappeared. This is whether I look on the phone or on the developer console.Unfortunately the comments that Google has chosen to 'lose' are my most favourable comments leaving several "This app suxss" type comments by the usual Neanderthals who like to be abusive. I have checked with a helpful user who left a positive comment and they have not removed them themselves or de-installed so what is going on? It is seriously hurting my downloads/sales and the impression that potential users of my app see when they look on the market. I have emailed Google but no reply yet.
View 6 Replies
View Related
May 20, 2010
Is there a way to allow users to enter in a comment and or rating for my app from directly within my app and have that data posted back to the Android Market? If so, what would the code for that look like if I used an EditText view to allow user input? If not, then is my only other option directly linking to my app in the Market (i.e. the user clicks the link in my app, or a button, and the Market app launches with my app page displayed)?
View 1 Replies
View Related
Jun 12, 2009
I posted a detailed comment about typos in Android documentation several hours ago. My post is nowhere to be seen. Why did Google Groups hose my post? Maybe Google doesn't care that their Android documentation contains typos.
View 6 Replies
View Related
Sep 7, 2010
Whats the best way to create a screen with comments surrounded by globe image, i have to create this
http://bit.ly/a4Fuuq
View 1 Replies
View Related
Mar 3, 2012
What is the exact link to the page that lets users post comments about an app? I want to have a pop up in my app that allows the user to leave a comment but I can't seem to figure out the exact URL to the comments page.
View 6 Replies
View Related