Android :: Periodically Wake Up From Standby Mode?
Aug 26, 2010
I have an app that needs to send a periodic heart beat to a server, but when the phone goes into standby mode the background heartbeat thread dies. Is there anyway to wake the phone from standby, send the heartbeat and then go back to sleep programmatically? I want to avoid using PARTIAL_WAKE_LOCK if possible.
View 1 Replies
Feb 5, 2010
Having come from an iPhone I find it somewhat annoying that I can't use the lovely trackball to wake my nexus one from standby.I realize it could be a problem if you pressed it in your pocket as it sticks out but I'd like to have the option to do it.Does anyone know if it is possible?
View 48 Replies
View Related
Jun 1, 2010
When I deactivate my Android phone, I push the power button, and the screen then shows nothing more, i.e. it looks deactivated. But when I push back the power button, say, 2 hours after, it directly notices me that I have a new message, if so. How can it know this, if it was shut down? Is the whole device in some standby mode when you turn it off like that? So, does the antenna still works in this case? Is it the right way to use an Android phone? I.e. if somebody calls me, will I be noticed of this call if I deactivate my phone as mentioned above? Or should I let it always turned on for real (i.e. with screen acting, etc.)?
View 8 Replies
View Related
Apr 13, 2010
How to can to avoid my app goes in stand by while it's running?
View 3 Replies
View Related
Jan 8, 2010
I've used blackberry's for a long time now and love one feature of it. The Standby mode that you can put the phone into and the only notification that will pull it out is the alarm clock. I've found a few alarms that will disable notifications, except calls. Well I don't want any notifications through the night. Only the alarm waking me up in the morning. Is anyone familiar with an existing app that puts the phone in a low energy sleep that only wakes it up for the alarm clock?
View 3 Replies
View Related
May 23, 2009
I'm trying to log the phone's cell movement. So I created a PhoneStateListener that is being called when the CellLocation has been changed. Then it informs a logging service to write that new cell information to a log file.
This works as long as the screen is on. But when the screen goes off, the logging stops.
I have two classes:
The PhoneStateListener gets loaded on boot time public class CellStateListener extends PhoneStateListener { public void onCellLocationChanged(CellLocation location) {...this is the logging service which is informed when the cell location changes listener.onCellChanged(mcc, mnc, lac, cid); ... }
View 3 Replies
View Related
Jul 13, 2010
ive seen alot of posts in some threads with people thinking official standby numbers are done in airplane mode. i have some proof that says otherwise. sry about the blur took them with my evo in bad light
8 days from 100% to 85%. this is just a post about official standby numbers are not done in airplane mode, otherwise they would show way higher numbers
View 4 Replies
View Related
Nov 13, 2009
Is there any settings that can make the droid screen light up when you receive a notification like an email. On most phones (including my old LG Dare), whenever you are sitting around and the screen is off/locked/in standby, you get a text message and it lights up the screen and says "you have a text message".
I have messed around with the different notifications settings so it will vibrate/sound off when you get one, but if you are in the car and have the phone just chillin there listening to loud music.. sometimes you don't hear it but I would like to be able to see the screen light up when notifications come in... instead of just that little green status light blinking.
It's not that big of an issue, but the whole screen lighting up usually grabs your attention when you are in a crowded bar or loud vehicle so it would be nice for it to show up at least for text messages.
View 1 Replies
View Related
Jun 22, 2010
i just got a htc desire 5days ago i moved over from a iPhone 3G. I have a big problem with it. Battery lasts for about 4-5h i have read forums and googeld for 2 days now.So far i changed my Background to a black one i made wifi turn off after 15min no Bluetooth etc.I think the problem is that my phone never goes in to sleep mode.when i go setting > about phone > battery the up time and awake time is the same.I downloaded advance task killer but the only program i can see running is Smart Keyboard Pro and Amazon. I kill amazon and it stays dead for sometime i cant kill smart keyboard pro it restarts it self straight away.I have had the phone on charge for about 6h now and the battery seams stuck half way and don't relay increase or its increasing very slowly.
View 13 Replies
View Related
Mar 2, 2010
I was investigating the issue of setting up a delayed activity/event, that will occur and trigger even if the phone is in sleep mode (wake up, do what you need to do, go back to sleep). I was thinking of the following methods: 1. sendMessageDelayed 2. Timer 3. AlarmManager.The basic requirement is to be able to set a triger in the future, and be sure that this trigger wakes up the system if it is sleeping,perform the task, and go back to sleep.A partial wakup is required (no screen flickering). Currently i'm using the sendMessageDelayed, and i keep a wake lock held for the timeout period (bad practice).
View 8 Replies
View Related
Oct 6, 2010
I'm running a d1 with LFY on it and wanted to see how widget locker runs for everyone else. Its cool but its also somewhat irritating.The most irritating this is I have "easy wake mode" disabled but I notice that still like 10% of the time touching the volume or camera button will wake the phone.I wind up with my phone buzzing around in my pocket frequently because its woken up and thinks i'm trying to unlock it.The other issue I have is it seems to get killed a lot.I realize that isn't really a fault of WL as much as its a ram issue (launcher pro gets killed a little more often than I'd like too despite trying what seems like every possible memory setting) but is there anything I can do about that?Something that will perhaps be sure its relaunched more promptly?
View 2 Replies
View Related
Sep 25, 2010
Just bought a Vibrant off of CL. I got it unlocked and it seems to be running well off of AT&T. I had a few questions though.
1) Whenever it is in the sleep/standby mode it will randomly flash on. I won't get any new emails or txt messages but it does stay on for a while until the screen timeout period ends
2) It does display a "Refreshing SIM data" message at the bottomish area every few minutes. Is this normal or is this an AT&T thing...
3) I was able to reset everything from going to the Settings>privacy>factory data reset but the instructions for a hard reset of "turning on the phone while holding down the volume down button" did not work. Has anyone been able to pull this off?
All in all I'm pretty jazzed about the phone. I like the Swype typing a lot as well as the overall speed and app installs. I'm coming from a work iPhone and an old school bar phone that could only call and txt. My wife has a iPhone4 and even though the facetime feature is nice I still don't like the restrictiveness of Apple products.
View 6 Replies
View Related
Nov 10, 2009
From what I can tell, if you turn on WiFi the phone never sleeps even in standby mode. Is this a known issue or has anyone else noticed this. I noticed this using Spare Parts and turning off and on things until I saw it was wifi that keeps it awake.
View 4 Replies
View Related
Oct 2, 2010
The screen is off, with the phone left in standby mode. Is it normal for it to die that fast.
View 17 Replies
View Related
May 11, 2014
iberry Auxus CoreX8 3G Mobile data connection issue in stand by mode. when tablet is on stand by mode mobile data gets disconnected automatically , and when i wake up the tablet it wont connect to mobile data . i have to manually turn off and turn on to get mobile data connection to get mobile data connected .
View 5 Replies
View Related
Jun 10, 2010
First post today. And it's a question. Is there a way to make the Desire wake up (ie light up the screen) when I receive an SMS or e-mail when in silent mode?
I like to have the phone sitting beside my computer at work so I prefer it in silent mode, but all I get is the flashing LED which I'm never going to notice!
View 5 Replies
View Related
Jul 20, 2010
Recently Ive been noticing that when my phone is in standby mode, that it powers off. Usually a quick press of the power button brings the screen up, instead recently the phone reboots or powers up.
View 1 Replies
View Related
Jul 25, 2010
I have successfully been getting GPS data through the registerLocationListener() and onLocationChanged() methods. The only problem with this is that the speed reading of my app freezes if there is no more GPS data (e.g. when I go indoors, enter a tunnel, etc). The behavior I want for my app is that the user is somehow notified that the speed reading is probably not accurate due to a lack of fresh data (set speed to zero, blink the speed reading, etc). How can I do that? I though of checking periodically whether the GPS unit was detecting any satellites, but I'm not sure how to force periodic checks.
View 1 Replies
View Related
Sep 1, 2010
I am getting data from the server using AsyncTask. I need to update the data periodically.
View 3 Replies
View Related
May 26, 2010
I'm developing sort of a wireless scanner, so I need to scan every X seconds. I know I should use WifiManager and startScan() to get the networks and then register a receiver to receive the event once the scan has finished. However I'm having problems when trying to figure out how to scan periodically. It's more like a design problem. My solution so far has been to create a Service which takes care of the scanning, besides the main Activity.
I think this is correct. So, how could I tell this Service to scan every X seconds? I've thought it may have a Thread object, call its Scan method during tart_services() and then take it to sleep. Also I thought I could just get rid of the Service and run the Thread from the main Activity, but then I guess it would die whenever the Activity is not visible. None of then seem like a really good solution to me, and I think there must be an easier way to do this.
View 6 Replies
View Related
Jun 16, 2010
We have a very patchy wi-fi network here. The wi-fi router's pretty old and I tend to need to switch it off and on every couple of days. Is there an app I can use that will - perhaps in conjunction with Locale so it only runs when I'm in the office - periodically check if our wi-fi connection is up and running?
View 1 Replies
View Related
Dec 18, 2009
I currently use SMS Backup & Restore, but that has two drawbacks I see
-I have to manually initiate the backup
-It only stores and restores one file, so I have to overwrite and rename
I just lost my texts and only had a two day old backup. I'd love to see the same thing but that can do it with a timestamped file such as backup_2009-12-18-15-08.xml (pickable when restoring) and can run at a preset time each day or each half day.
View 1 Replies
View Related
Sep 13, 2010
I have one activity. OnCreate the activity gets the source (html) of a web page to a string and presents the result (after parsing it a bit) in a textview. I would like the activity to reload/refresh periodically to always present the latest information.
View 1 Replies
View Related
Dec 18, 2009
If I want to upload a text file containing some game stats to a web server for testing purpose, which approach is the best? Do I write a service along with my application and then upload the log file once it reaches a specific size? Or do I embed the logic into my application and then do it during idle times?
View 3 Replies
View Related
Feb 4, 2010
I never got this working in a straightforward manner. Sorry if I'm being a little vague. I'll try to elaborate on what I'm trying to do. I am trying to build a listview that grabs its data from a webservice. Once I initialize a listview, I want to keep polling the webserver periodically and update the contents of the listview. For this I am doing something like this:
public class SampleAutoUpdateList extends Activity {
//Autoupdate handler
private Handler handler = new Handler();
private Runnable updater = new Runnable() {
public void run() {
/*
* Update the list
*/..................................
View 1 Replies
View Related
Jul 19, 2010
I am building an indoor application which continuously scans the bluetooth dongles located at different locations in a place like a mall or library.As I move in the mall with android phone in my hand I should be able to get the nearest dongle which I can connect to(Stupid Idea but I want to do something else with this).For this I should be able to continuously scan for the bluetooth devices.
View 2 Replies
View Related
Mar 29, 2010
i have a application that displays tasks and i created an option in the Settings menu that lets you choose in how many days all (Never, 10 days, 20 days or 30 days) these tasks should be automatically deleted. So when i open up the app there will be a method that will be called and check if theres any tasks to be deleted. I did that to challenge myself, but i'm hitting the wall with my head and i cant come up with something. So here i am in need of help! A little more information: i was trying to do something with java/android code, but from past searches i saw people dealing with it using SQL functions. Is it better?
View 4 Replies
View Related
Sep 28, 2010
I'm coding an audio player where a thread updates the TextView representing the track's elapsed time, every 250 milliseconds. The display looks like this:
1:30/2:30<-----Progress Bar----->
TextView 1 is 1:30/ and TextView 2 is 2:30.
Both are set to wrap_content for width.
What happens is that on every 250 millisecond cycle, the thread checks the current time and updates TextView 1. For this brief moment, TextView 2 and the progress bar get pushed momentarily to the right by about 2-4 pixels. Then they come back to place until the same thing happens during the next cycle. I don't know what's happening. There are no trailing space characters, etc and everything should, theoretically, be working smoothly but it's not.
View 1 Replies
View Related
Aug 31, 2010
I working on the app where I get the data from the server using rest call and add it to the view. I get all the initial data correctly. I use AsyncTask for doing it. Now I want to periodically (say 2 mins) fetch the new data from the server and add it to view.Periodically fetching data (polling) from the server in Android.
View 2 Replies
View Related
Jan 25, 2010
I have an android application that I am supporting and after calling one of the activities numerous time, it throws a stackoverflowerror when trying to get the extras from the intent. Here is the the stack trace from when it crashes. Any ideas as to why after calling the activity at least 4 times the next time throws StackOverflowError when getting the extras from the intent?
The code used to build the intent is and contains String, String, boolean, Object:
CODE:....................
And the code that is throwing the StackOverflowError is:
CODE:.........................
View 2 Replies
View Related