Wake android phone from sleep

Hi all,
I am trying to develop an app which can wake the phone from sleep, I am just developing for a single phone for an installation so I have more controls over the settings. A little more background info:
- The phone will always be running my app (locked in kiosk mode)
- By default, the screen will be off
- I will push a message to the app via sockets
- The screen needs to turn on
So far, I have googled around and only managed to find discussions on keeping the screen on but nothing on turning on the screen. Does anyone know any code / native extensions that can achieve this?
Many thanks.

Hi all,
I am trying to develop an app which can wake the phone from sleep, I am just developing for a single phone for an installation so I have more controls over the settings. A little more background info:
- The phone will always be running my app (locked in kiosk mode)
- By default, the screen will be off
- I will push a message to the app via sockets
- The screen needs to turn on
So far, I have googled around and only managed to find discussions on keeping the screen on but nothing on turning on the screen. Does anyone know any code / native extensions that can achieve this?
Many thanks.

Similar Messages

  • I am using a USB keyboard and everytime I wake the iMac from sleep the keyboard will not respond unless I unplug and replug the keyboard. I am using a mid-2010 iMac with OSX 10.6. Any help would be appreciated.

    I am currently using a USB keyboard (PC Model) and everytime I wake the computer from sleep the keyboard no longer responds unless I unplug and replug it. The USB mouse I am using works fine with no issues and I have already gone through the prompt to identify the keyboard in the settings. If anyone know of a setting I can use to permenantly enable the keyboard so I no longer have to unplug and replug it that would be appreciated.
    Thank you.

    Your 2010 MBP would be able to handle Yosemite, but I would strongly suggest that you get the current problem sorted out before trying to upgrade to Yosemite. I'd also recommend another backup that isn't created by Time Machine if you are thinking of upgrading. SuperDuper and CarbonCopyCloner can make bootable clones of hard drives. If you clone your existing system to a fresh external drive, you would be able to boot from that drive and recover quickly in the event that your Yosemite upgrade didn't work out. Time Machine backups are not 100% reliable.
    It's possible that, if your internal HD is the one that shipped with your MBP in 2010, it may be failing. If it keeps needing repairs, that is probably a sign that it is approaching the end of its useful life.
    Have you run Disk Utility's Repair tool on the external drive as well?
    I mentioned the hub because some people have reported here that attaching their USB 3 drives through a USB 2 hub solved some disconnection problems. A good-quality powered USB 2 hub won't cost much.
    My most recent brush with random disconnections involved a nice new OWC drive enclosure. I used the cable that came with the drive, but the drive kept disconnecting. Using a different cable solved the problem. You wouldn't expect that what appeared to be a high quality cable would be a problem straight out of the box, but it was.

  • Change "require password to wake this computer from sleep or screensaver"

    Does anyone know how to change the checkbox in sys prefs > security > require password to wake this computer from sleep or screensaver via cli?
    I would like to always have this enabled, but individual users can shut this off...
    Thanks

    Code an AppleScript using the SystemsEvents>SecuritySuite>SecurityPreferencesObject>RequirePasswordtoWake then use the cli 'open' to run it?

  • Windows 8 wakes up IMMEDIATELY from sleep.

    Hi! I'm happy user of Windows 8. OK. I'm not fully happy... In installed Windows 8 and it worked great, for some time. After SOME updates my computer will not sleep for more that 20 sec. It will ALWAYS wake up. When I didn't clean installation of Windows
    8 this problem didn't appear.
    No any setting were change in my computer from "before to after" updates. 
    Can anybody can help?
    I checked MANY of thinks from discussion forums, none of them helped. 
    BTW. I'm not sure if this question is in right forum category.

    Hi,
    I actually have the problem where my computer wakes from sleep at 8:55 am every morning. I've done all the command line stuff mentioned above and according to Windows there is nothing enabled to wake my system from sleep, neither hardware nor a scheduled
    task. My event viewer just shows an "unknown" wake source. I have a Samsung laptop, so I began suspecting it was some Samsung proprietary process doing this, but the specific things mentioned here, SSD and Magician, don't appear to be installed on my machine.
    When I look at Programs and Features in the Control Panel, those programs are not listed. If I had them installed they'd show up there right?
    Also I booted into BIOS to see if there was something in there that could be waking the computer. The only relevant option was a wake from USB, but that was disabled already. There was no other option in there.
    Does anybody have any idea what could be doing this?
    Another related problem is that Windows keeps forcing the Power Saver power mode on me. No matter how many times I change to the Balanced or High Performance plan, it keeps reverting to Power Saver.

  • Can I text an Android phone from an iPod touch?

    See Title:
    Can I text an Android phone from an iPod touch?

    If you use an texting app
    The Ipod does not allow android texting on Imessage because it is messaging between only Ipods,Ipads,or any other apple product.
    Download Textnow or Textfree i recommend those two apps

  • Can I wake my Mac from sleep with network activity?

    Just got a MBP and now am enjoying mounting it on my iMac and vice versa via my home network (using URL address with AFP://xxx.xxx.xxx.local). Question: Is there a way to wake either one from sleep when I access it from the other?
    TIA,
    Picman

    Elamc,
    OK, I now know. Some Macs will support both Ethernet and wireless and some won't. The setting in my MBP says "Wake for network access", while my iMac says "Wake for network Ethernet access". The MBP supports both, but the iMac just with a cable connection. I did find a good tech note that describes the how's and what's. Just Google "Mac wake on network access" and look at "Mac OS X v10.6: About Wake on Demand".
    Thanks for your info ... it helped.
    Picman

  • Is there an AppleScript or Automator Script that will wake a Mac from Sleep?

    Is there an AppleScript or Automator Script that will wake a Mac from Sleep?

    Frank and All,
    The following answer to your question above is complicated, but I hope it explains why my question was formed with so much frustration in it.
    I have an OpenOffice(OO) Macro that was launched with Calendar at 6pm each business night. It ran properly in all Apples operating systems until I Hit Maverick(OSX10.9). From then on, the AppleScript would run from one to 3 days, then would disappear from the Calendar entry. The Calendar alert would still run, but the "OpenFile" section of the alert would disappear. I also was running elgato EyeTV HD during the day, so I would use energy saver to put my MacBook Pro to sleep at 12 Midnight and wake it again at 9am. I picked up a used Mac Mini to do the EyeTV stuff, provide AppleTV the files in H264 format through iTunes' media share, and found it had plenty of power to do the 6pm automated stuff simultaneously as well. Because I still wanted to run the OpenOffice Macro on my MacBook Pro at 6pm, and wanted to use it for a host of other things when I was on the road, I wanted it to sleep most of the time and only wake up automatically to run the 6pm OO Macro. When I called Apple about the issue I was having with Maverick and Calendar loosing the OpenFile command as part of the Alert Message, they told me the no longer supported answering AppleScript Questions but they now would support Automator questions. I pointed out that the OpenFile would also fail after one to three days if I used a Calendar Alert to launch an Automator App. At first, I did not like Automator, but now I see why Apple is pushing us to use it. Automator adds a TIME STAMP ID to the Apps developed in Automator so the first time you launch the App after a change to it, you must reply to a dialog message saying that this is the first time you are running this version of the App. If a Scammer has replaced your app with one that can reek havoc on your computer, the replacement app will not run unless you are there to agree that you know where the modified app came from and click the OK button to continue (BRILLIANT, Enhanced Security idea on Apples part). I also noticed that after Mountain Lion, the Applescript delay timing was all screwed up as well. Well I tried to use LaunchD Task Scheduler to circumvent the Calendar Problem and that worked until I upgraded to Yosemite Last week. Then LaunchD no longer worked and I am only into a few days of using The Calendar Launched Automator App to see if it will continue to run.
    But I think I solved the dilemma I was having with opening an Automator App in a Sleeping Mac. I Googled up the following question, "AppleScript to wake up computer".  I went thru several complex responses until I found this on that is INCREDIBLE EASEY! What came back was a brettterpstra.com  response from Feb 20th,2014. What it said, in a Quick Tip: caffeinated your Terminal Article,  if you wanted to wake a Mac from sleep, use the Terminal command named "Caffeine -u -t 1". I placed it in an Automator Most Used Action called "Run Shell Script -- Caffeine -u -t 1" and it worked!  Now, I can put my Mac to Sleep but at 6pm, the Automator App will launch, run the "Caffeine -u- -t 1" command and proceed to work as if I had awakened the Mac From Sleep mode by pressing a keyboard key and had run the Automator Script with a double click.
    Sorry for the long, drawn-out reply, but maybe this will help others.

  • When I wake my iMac from sleep, the wireless does not connect.  I have to shut shutdown and then restart and then it connects.  I am running Lion 10.7.3  Any thoughts?

    When I wake my iMac from sleep, the wireless does not connect.  I have to shut shutdown and then restart and then it connects.  I am running Lion 10.7.3  Any thoughts?

    Been waiting along time for this problem to be fixed. Unfortunately the update hasn't help at all and even made the situation worse. Now my airplay connection from iMac to stereo abruptly stops after about 10-15 min. so I have to go over and quit wifi, start it up and find my airport network. Not sure why it always has a problem with the apple airport network. My neighbor's pc network is always there.

  • Cannot wake my iMac from sleep

    I put my iMac to sleep by doing one of required steps. However, I cannot wake my iMac from sleep. I am using a wired keyboard and a wireless mouse.
    May I know what is the problem?

    Hi nihow-
    But you are not done.
    One of those devices is preventing your mac from waking. You may want to try plugging them back in one at a time and use it for a while to see if you can find the culprit.
    Luck-
    -DaddyPaycheck

  • Is ARD supposed to wake up macs from sleep?

    Hi all! I have the latest ARD and the latest Lion running, with several macs on a lan. My question is, is ARD able to wake them up from sleep? Currently, it does not, and looks like this in the interface:
    Well, thx in advance for any advice.
    Message was edited by: coocooforcocoapuffs: forgot to mention that when awake, connections are made and all is peachy.

    If you can't get it working, worse comes to worse you can always keep display sleep on and put hard drive(s) to sleep and disable the normal sleep.
    My Air has wake from WiFi options, but I don't think other systems do.
    I think if the system drops from the shared volumes on your finder (if it's sharing files), it won't be accessible via ARD or Screen Sharing.
    Well, I can't say I understand that last bit, but the workaround works, but these boxes all have the Nvidia defect and I want them to stay as cool as possible when not in use, not sure the workaround accomplishes that but I can test temps. Maybe these MBP 3,1s don't support wake up over wifi? the strange labeling on the preference pane implies that ? dunno. but thx for your help!

  • Since upgrading to LionEvery time I wake the computer from sleep mode I have to wait several minutes until the computer connects to the Internet

    Since upgrading to LionEvery time I wake the computer from sleep mode I have to wait several minutes until the computer connects to the Internet

    I have found that Lion is slower to connect to WiFi when awakening than were previous Mac OS X versions.  However, the WiFi connection usually takes less than 15 seconds unless a Time Machine backup was interrupted when my computer was put to sleep.  When this happens and the computer awakens, the Time Machine backup attempts to continue prior to the WiFi connection having been made.  Until the Time Machine backup fails due to its inability to connect to my Time Capsule because of no WiFi connection, or I stop it manually, the WiFi connection will not occur.  So if Time Machine backups are on, you may be experiencing this bug which I have reported to Apple.

  • Aluminum Keyboard won't wake Mac mini from sleep (sometimes)

    I just bought the new aluminum keyboard (wired). Its great, and looks amazing next to my mac mini......except it won't wake mac mini from sleep sometimes. When this occurs, I can tap on any key but the machine won't wake up. The only work around I have is to attach my ipod, which wakes the mini. Oddly this only happens sometimes. I can't isolate any other variable which may be influencing this behavior.
    I'm running leopard and didn't think I needed to install the 1.2 keyboard software update.
    I called Apple support, and they told me the problem is that I'm using a non-apple mouse (I have a microsoft optical wired mouse connected to the keyboard's USB port). I don't believe them as i've used this mouse connected to my previous Apple keyboard for years and never had a problem.
    Can anyone help?

    Regrettably, I can't offer a solution to the problem stated in the title. Instead, I experience the same problem.
    Wireless Mighty Mouse circa 2007
    Wireless Apple Keyboard circa 2007
    Bluetooth dongle (a bluetooth thingy connected to a USB port)
    Things worked fine until an upgrade from Tiger to Snow Leopard. Following the upgrade there were several mouse related issues. Those were resolved. One issue remains: waking by use of mouse or keyboard.
    The setup (Same for keyboard and mouse)
    System Preferences --- Bluetooth --- Keyboard Connected --- Keyboard Paired. The "Discoverable" box is checked.
    Digging deeper
    System Preferences --- Bluetooth --- Advanced --- "Allow Bluetooth device to wake this computer" --- This option is unchecked and is greyed out, inaccessible. Two of the other options are checked and available: the options about opening the Bluetooth assistant and the one about prompting incoming audio.
    I've searched other posts. However, many of the other posts seem to conflate this Wake/Sleep issue with various connection issues. Thus, the advice given is a bit confusing to this amateur. Might one of you experts have a solution to this annoying little problem?
    Thanks for your interest.
    Lxloco

  • Macbook pro automatically wakes itself up from sleep on its own!

    I'm a pretty experienced user, but I can't figure out for the life of me why this is happening. I run my mbp in clamshell mode connected to an external monitor, and every night I sleep it. I've had no problems with this setup for the last two years. However, in the last few weeks, every time I sleep my mac, it will wake up by itself again after about 10 minutes of sleeping. If I try to make it sleep again after the first time it wakes up by itself, it stays asleep for the rest of the night until I wake it up again in the morning. Totally strange. I've restarted, repaired permissions, etc, but it still does it. I don't think I've installed any new software that would cause this to happen. I think I just installed 1password recently and that's it. Also, to make sure it wasn't network or bluetooth activity doing this, I disabled "wake for network actiivity" in energy saver and I disabled my bluetooth. But, it still does it. Could it be a peripheral that's doing this? I haven't added any recently. I'm trying to figure out if the console log can help me, but I don't see anything that indicated what made the mac wake from sleep by itself. Below I've pasted the log for when the time just before I slept the mac and the time after it woke itself up last night. Maybe one of you can tell what app/process is doing this. Or maybe you can direct me to another system log that might give me more info?
    May 10 22:47:39 localhost com.apple.backupd[71755]: No pre-backup thinning needed: 847.1 MB requested (including padding), 544.51 GB available
    May 10 22:47:39 localhost com.apple.backupd[71755]: Waiting for index to be ready (100)
    May 10 22:47:44 localhost com.apple.backupd[71755]: Copied 165 files (33 bytes) from volume Macintosh HD.
    May 10 22:47:47 localhost com.apple.backupd[71755]: Starting post-backup thinning
    May 10 22:47:55 localhost com.apple.backupd[71755]: Deleted backup /Volumes/TM Backups/Backups.backupdb/Macintosh/2011-05-09-223905: 544.51 GB now available
    May 10 22:47:55 localhost com.apple.backupd[71755]: Post-back up thinning complete: 1 expired backups removed
    May 10 22:47:55 localhost com.apple.backupd[71755]: Backup completed successfully.
    May 10 22:48:35 localhost WebKitPluginHost[70507]: Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz.
    May 10 22:48:35 localhost com.apple.WebKit.PluginAgent[5203]: 2011-05-10 22:48:35.862 WebKitPluginHost[70507:903] Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz.
    May 10 22:59:04 localhost loginwindow[26]: loginwindow SleepWakeCallback WILL sleep
    May 10 23:09:05 localhost loginwindow[26]: loginwindow SleepWakeCallback will power on, Currenttime:5/10/2011 11:09:05.024 PM - Waketime:5/10/2011 11:09:04.050 PM = Deltatime:0.974226952
    May 10 23:09:05 localhost [0x0-0x2db2db].backupd-helper[72810]: Not starting Time Machine backup after wake - less than 60 minutes since last backup completed.
    May 10 23:09:07 localhost configd[38]: PMConnection AirPort configd plug-in com.apple.powermanagement.applicationresponse.slowresponse 2758 ms
    May 10 23:09:07 localhost configd[38]: PMConnection IPConfiguration com.apple.powermanagement.applicationresponse.slowresponse 2772 ms

    Certain settings, e.g. printer sharing, can prevent timed sleep. If it's a brand new Mac and you migrated a fair amount of data from a previous computer, Spotlight may still be indexing. There are other possibilities as well. See this kbase article:
    http://support.apple.com/kb/HT1776

  • I howard has an iMac, and when she tries to wake the Mac from sleep, she has to reboot it instead.

    I Howard have an iMac, and when trie to wake the iMac from  a 12hr to 24hr sleep, i have to reboot it instead.  I am Running snow lepord. I tried resetting thr PRam but that work as a temporary fix. Does anybody have any suggestions on how to fix this.Thanks

    Hi Howard,
    Snow Leoprd/10.6, or Lion/10.7?
    What all, especially USB things are connected?
    One way to test is to Safe Boot from the HD, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, Test for problem in Safe Mode...
    PS. Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive
    Reboot, test again.
    If it only does it in Regular Boot, then it could be some hardware problem like Video card, (Quartz is turned off in Safe Mode), or Airport, or some USB or Firewire device, or 3rd party add-on, Check System Preferences>Accounts (Users & Groups in later OSX versions)>Login Items window to see if it or something relevant is listed. Or an errant process eating up RAM.
    Check the System Preferences>Other Row, for 3rd party Pref Panes.
    Also look in these if they exist, some are invisible...
    /private/var/run/StartupItems
    /Library/StartupItems
    /System/Library/StartupItems
    /System/Library/LaunchDaemons
    /Library/LaunchDaemons

  • IChat randomly loads and wakes my machine from sleep.

    iChat has been randomly loading and waking my machine from sleep. I can even be sitting in front of it and suddenly it will load and log me in AIM. Seems very virus like, but not sure it is. Anyone know what's going on?

    Here's a more detailed description of what's happening.
    After upgrading to 10.5.1, my iChat will load automatically at random times. It will even wake the computer out of sleep to load it. I was really frustrated that this was happening, and believing it was from having upgraded from 10.4, I decided to format my computer. After a clean wipe and updating to 10.5.1, iChat again is loading by itself randomly. I can quit iChat and go away for 30 minutes, come back, and it's launched again.
    I have noticed on occasion when my iPhone is connected via the USB port that when it receives an e-mail it has been prone to launching iTunes and iChat, so this problem might be inter-related. However, I can have my iPhone disconnected and iChat will still load by itself. In fact, I quit out of iChat this morning, came to work and loaded iChat here at the office and it said I was logged in at another location. It must have logged in again at home. It's never done this in any other OS version for me.

Maybe you are looking for

  • Dunning Old dinning level and dunning level

    Hi experts, I have one issue in dunning. the issue is where the dunning history for particular customer shows as old dunning level as 3 and dunning level as 2. i have checked  the customer master there is change in the dunning procdure. But the docum

  • All in one C4580 printer - not connecting via wireless

    hi i've purchased this to have a wireless printer but i can only print via the USB port, which isnt much use!  i've tried turning off all firewalls but still no luck.  My wireless router works fine all round the house but i cannot get the printer to

  • This game cannot be played?????

    That is the statement my iPod gives me when I try to play any of the three games I've purchased. I used to play them all, until I downloaded the new 1.2.1 version onto my iPod. Now it's telling me to reinstall the games, but I have sync'd them 5 time

  • BEx Query via ABAP Programm (without Querydesigner) ???

    hello friends, is there anybody who knows a solution to gernerate a BEx Query without using the BEx Querydesigner, with ABAP coding, only!? I´m looking for a solution, whre f.e. the customer selected character, keyfigures and selections in an externa

  • New To MacBook Pro. Question re: External Hard Drive

    I just purchased a Macbook Pro today. I used to have a Dell Inspiron on which I used a Western Digital 500GB My Book external hard drive to store my pictures and iTunes files. My question is is that hard drive compatible with my new MacBook? I know t