Android :: Sleep - Screen Behavior Documented
Oct 1, 2009
I'm looking around and trying to find out where sleep behavior is documented - and I mean in the general sense.
When the phone is left alone: * Sometimes the phone screen dims and doesn't shut off. * Sometimes the phone screen goes dark in five seconds * Sometimes the menu lock happens. * Sometimes the menu lock doesn't happen. * Sometimes the only way to darken the screen is to push the power button.
What's not clear is what triggers these different states. I'm looking for a complete list I can use in testing and application validation.
View 6 Replies
Nov 19, 2009
I'm looking to prevent the default behavior of going full screen when controls like EditText receive focus in an application. The InputMethodManager class does indeed have a setFullscreen() method available, but it seems to have been hidden on purpose in the SDK. Is there any other way to disable this behavior while still using the software keyboard?
View 5 Replies
View Related
Apr 7, 2010
I wrote a home screen widget with one image on it. When the image is clicked, browser will be opened for a url link.
Generally, it is working. But a weird thing is that, when I click background, then click the picture, the browser will not be open. Until I click the second time on the picture, the browser opens. The steps to reproduce is below:
Click on the home screen widget background.
Click on the image on the home screen. The browser is not opened.
Click on the image again. The browser is opened.
If I didn't click on the background, the image will react to click very well, i.e. browser will be open when the image is clicked the first time.
The widget XML file is as below:
CODE:..................
View 1 Replies
View Related
Jun 24, 2010
Need some help with phone locking behavior, good peoples. here's what i'd like to end up with:
1. always wake based on volume OR power button
2. when on phone - no locking at all, (additionally wake based on orientation like is done currently)
3. some sort of "lock phone" widget on home screen for manual lock
4. auto-lock timer set to say...5 minutes (longer than sleep timer)
5. sleep/screen-off timer set to 30 seconds
6. disable the slide lock (sense UI?) and only use the pattern lock. why do i have to power button wake, slide unlock, then pattern unlock my phone after it goes to sleep after 30 seconds, it's ridiculous! i want to pick it up press a volume key and put my pattern in - after 5 minutes. before 5 minutes i want to just pick it up and wake it unless it was manually locked.
I'll root it if that's what it takes. this is pissing me off daily.
View 4 Replies
View Related
Jun 22, 2009
Is it possible to upload/download files (photos) from android to Picasa using our own apps. Is the content provider detail documented somewhere. Any API hint? Or is it just a closed component that can't be used outside google?
View 11 Replies
View Related
Sep 27, 2010
I activated an almost new Epic this weekend, and it has been amazing so far.I only noticed one strange erratic occurence - when I put the phone to standby, and went to look at it a little while later, the screen was already on.I clicked on home, and as soon as I did that, it would somehow activate the google search widget, and bring up the keyboard as if you pressed the search widget. I'd press home, and it would do the same thing again. It kept repeating it over and over no matter what I did.I finally powered the phone off, and then turned it back on.After that, there were no further issues. Anyone else had anything like this happen?
View 2 Replies
View Related
Jan 28, 2010
I want to register my application for files of a certain popular and well-documented MIME-type. The problem is that Android does not seem to recognize this MIME-type. The following sample code demonstrates this:
package com.example.helloandroid;
import android.app.Activity; import android.os.Bundle; import android.util.Log; import android.widget.TextView;
public class HelloAndroid extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); TextView tv = new TextView(this); tv.setText("Hello, Android"); setContentView(tv); String extn = android.webkit.MimeTypeMap.getFileExtensionFromUrl("/data/a.xyz"); String xyzMimeType = android.webkit.MimeTypeMap.getSingleton().getMimeTypeFromExtension (extn); Log.d ("HelloAndroid", "extn: " + extn + " | xyzMimeType: " + xyzMimeType); }
}
View 6 Replies
View Related
Mar 8, 2010
I just discovered this issue - it may be only relevant to 2.1 since I upgraded (or to something else entirely) but when my Eris is plugged in and I use it the Home Screen seems to act crazy - well not that crazy - just that with motion the Homes Screens roll "left( that is to the left most screen) almost like I am using the track ball (but only in one direction) - unplug it and it works fine - its not a major issue but a wierd one - anyone else notice this behavior.
View 11 Replies
View Related
Oct 27, 2009
If you guys are still suffering from this issue upgrade to the Maintenance Release, it fixes it for the most part, except for the occasional failure to connect. No ROM leak though.During the past few weeks my my Hero has been exhibiting signs of a ROM memory leak. It led to not being able to receive SMS messages even after hard resetting the phone. See these threads for that issue.
View 36 Replies
View Related
Dec 23, 2009
About custom Power Management... Is it allow for my app to dim the screen programmatically??, the goal would be to send the phone sleeping when a Intent.ACTION_BATTERY_CHANGED event is handled by a BroadcastReceiver, just like its done automatically by the OS (if so configured) after x time of inactivity.
View 2 Replies
View Related
Jun 29, 2010
Im still looking for a widget to put my Incredible to sleep without pushing the power button. I am using No lock for the ability to use the touchpad to turn on but I hate using the power button to turn it off and leaving the screen on, even for 30 seconds, has to be draining the battery. (I am constantly on/off/on/off the phone throughout the day.)
I would like something I can put on the home screen that when touched, puts the phone to sleep. This will help save my power button in the long run as well. Ive searched and cant find anything.
View 15 Replies
View Related
Nov 24, 2010
how to prevent the Android Activity from sleep mode programatically. Or can we declare something related to this in Android Manifest file.
View 2 Replies
View Related
Sep 21, 2009
I wrote a service and I registered BroadcastReceiver in it. In the onReceive () method of BroadcastReceiver catagory,I just wrote Intent.ACTION_TIME_TICK.equals(intent.getAction()) to receive the systenm time every minute and deal with everything that I should do in it every minute.But i found a problem that when the mobile phone screen was locked and was completely black,my service seems to be sleep and does not work,and when I light up the screen(it is still in locked condition),the system will automatically run my service.I do not know the reason,I guess if it is because my service is not the system-level service? When the mobile screen is black,Andraid system will hibernate the sevice which is not the system-level service,so if this,I should add my service to system service,but I know how to use android.permission.ADD_SYSTEM_SERVICE? If you can,please send me a example about how to add own service to system-level service.This problem has been troubled me for two weeks.
View 2 Replies
View Related
Sep 18, 2010
I am an android developer I have a problem..
I want to be get notified when the phone screen goes to sleep Help with a sample code.
View 1 Replies
View Related
Jun 3, 2010
I am looking for a widget that will put the screen to sleep like the power button does, but a widget on the screen. I know it sounds stupid, but when the phone is in the cradle in my car, it would be much easier to tap a widget on the screen to turn screen off than push down on the power button. I have a lock program that allows me to use the trackpad to wake the screen up, but have not found one to put the inc to sleep.
View 5 Replies
View Related
Aug 17, 2010
is locking the screen the same as sleep or is there a difference?
View 2 Replies
View Related
Oct 18, 2010
Just got an incredible (ebay - had to get rid of Eris) and New, out of the box the phone powers up fine. But the minute it comes out of sleep mode, the screen has scrolled to a different location - however, I need to actually push the screen in the location where the button I want to press should be located.
Have been searching here for an hour, but can't find anything like this so had to make a new thread. Sorry if it's a duplication.
View 3 Replies
View Related
Aug 24, 2010
This has happened to me a few times now. If I miss a call, or get a voicemail, the screen will turn on as usual but then it won't sleep until I either press the power button or unlock the phone. The screen will stay on indefinitely (on the lock pattern screen). This only started happening after I updated to 2.2. So now if I'm away from my phone and get a call, the battery will be almost completely drained by the time I get back to it (sometimes up to 4 hours later). This might also be happening if I get a calender notification too...anyone know what's going on?
View 2 Replies
View Related
May 6, 2010
I feel like this must be so obvious and I'm missing it. Just want a button I can hit to turn screen off without waiting for it to timeout on its own. Otherwise it seems to often do random stuff in my pocket if I am unwilling to wait to put it back.
View 1 Replies
View Related
Dec 2, 2009
I have the dock (now) and I have the Droid set to sleep and lock after two minutes. Great while I have my phone out of the dock but annoying when it is in the dock. I don't see a setting to disable sleep mode while docked.
View 4 Replies
View Related
May 26, 2010
I want to use the Smart Alarm Clock (same as the Sleep Cycle alarm clock for iPhone), but my Desire goes into sleep mode automatically. Can only pick a time between 15 sec to 30 min. The Smart Alarm Clock doesn't work properly because it requires that the screen is on during the entire night. Is there an application or something else than can disable the sleep mode when I want it?
View 1 Replies
View Related
Aug 15, 2010
So sometimes when I come out of sleep (<<< EDIT: when the phone comes out of sleep :P) , screen goes well opens violet. Like darker and more contrast. (its not the brightness I have a blue desktop and it gets violet) In every screen even if I run an app. Didnt try some fullscreen game with landscape change and I will include pics. Maybe even try if shoot me catches something. But I doubt its software. Suspecting its setcpu(when sleep set 160/240) or the new launcherpro? nedamdam's Apps on the phone.
View 12 Replies
View Related
Apr 30, 2010
Anyone else having this issue with there Incredible? If i hit the sleep button to shut off the screen it will wake up when i hit it again. If i just let the screen time out it wont wake back up, but the touch buttons buzz but screen wont wake
View 9 Replies
View Related
Jun 3, 2010
Has anyone experienced their Inc going to sleep while trying to multitask during a phone call? The screen keeps going between sleep and awake when trying to navigate through menu's during calls. I have already tried a battery pull.
View 9 Replies
View Related
Dec 11, 2009
Has anyone noticed since 2.0.1 update that when you wake the phone up and don't unlock it the screen will go back to sleep much faster than it normally would if unlocked?
View 11 Replies
View Related
Aug 4, 2010
I typically have my phone sitting on my desk infront of my keyboard @ work. I noticed that once maybe every 5 minutes or so, that the screen flashes on&off once. I assume it's waking to check for data updates or something, but just seemed odd.
View 1 Replies
View Related
Jan 31, 2010
Well after long waiting I got the moment! So far so good and really enjoying my first smartphone. Now How do i get the phone screen to go to sleep when charging? Can't find anywhere how to do this? Is this normal? It does get pretty warm and not sure if this is good for the screen? When is not plugged it goes to sleep on the 30sec. which is selected?
View 1 Replies
View Related
Sep 25, 2012
I wanted to know if there is any way to turn off the screen without the phone being locked or put to sleep.
This would be useful when controlling my phone from my PC via Teamviewer (I already see the phone screen in my PC, so having the other one ON is pointless) or when wanting to listen to some music coming from a video.
View 1 Replies
View Related
Jan 24, 2010
I have this really annoying problem that I've seen mentioned here but I can't find a specific thread on the subject. This first started happening after the December update. When I push the end button to "turn on" the phone (i.e., wake the phone up), I get a black screen with the HTC symbol monentarily. Then, once that goes away, my background appears but nothing else except the waiting icon. I've been told that this is a conflict between something I have installed and the Sense UI.
View 29 Replies
View Related
Apr 26, 2010
Is there any difference between locking the screen (screen being off) and "sleep mode"? If there is, is there a way to force not to go into sleep mode, but have the screen off?
View 6 Replies
View Related