Questions tagged [wakeup]

Resuming the previously suspended thread, process, activity, application or the whole operating system.

203 questions
0
votes
1 answer

Will android automatically reconnect available WIFI after wake-up with an sceduled alarm?

I am aware of WifiManager.WifiLock such thing. I don't have to use it, because I don't need persistent wifi connection. Instead, I just need to try wifi connection every, say 30 min. I registered a CONNECTIVITY_CHANGE listener. If I set a scheduled…
glenlivet1986
  • 260
  • 3
  • 12
0
votes
1 answer

Making alarmManager able to wakeup the phone

I've adapted the code in http://code4reference.com/2012/07/tutorial-on-android-alarmmanager/ taking a picture every 30 sec. It works ok but when the phone goes in sleep mode it seems that the alarmManager does not make its job properly. Is there a…
user2923045
  • 369
  • 2
  • 6
  • 16
0
votes
2 answers

Continuing a Thread After Sleeping

I am currently writing a Java application that requires quite a lot of calls to the Twitter API. Because of this I have to worry about exceeding the rate limit. I figured out that I can make 180 calls per 14 minutes and then I have to wait a period…
Tastybrownies
  • 897
  • 3
  • 23
  • 49
0
votes
0 answers

wait_event_interruptible_timeout always expires, even though wake_up event occurs in time

i have a question about what seems to be weird behavior of wait_event and wake_up on an Android embedded platform (Exynos5dual based) with a pre-emptive linux 3.0 kernel. It does not happen on a normal SMP laptop with a non-preemptive kernel (any…
cygnus
  • 1
  • 1
0
votes
1 answer

Android game crashes after wake up the screen

I have problem with my game on Android: when I deactivate the screen by pressing power button in the game activity and then wake up the phone I have black screen for something about one minute and then application crashes. When I pause activity by…
gandalfml
  • 908
  • 1
  • 10
  • 23
0
votes
1 answer

Symbian Power Status Notification

I have an application that uses memory card and I need to do some save/restore state operations when the power of the card reader is turned off and on back again. This usually happens after some time of activity and phone goes to a power save mode.…
Szere Dyeri
  • 14,916
  • 11
  • 39
  • 42
0
votes
2 answers

Thread Wait and Wake up

I'm trying to simulate a simple thermostat, using multi-threading. The thermostat should increase the temperature in order to reach the value that the user requested for which is "Max" value in the code below. I have two thread, one in charge of…
Afflatus
  • 933
  • 1
  • 12
  • 39
0
votes
1 answer

waking up the phone with voice command?

is there any way to wake up the android when it is on standby, by saying a specific voice command? I found this post,Speech recognition listener doesn't work in Galaxy SII but I guess this one is consuming so much battery . I would highly…
Zardaloop
  • 1,594
  • 5
  • 22
  • 43
0
votes
2 answers

Android: Wake up App when Location is significantly Changed

I am converting an iOS app to Android. I am looking for what tools to use to do the following: When the location of the device significantly changes, if the app is in the background, or off, it should be brought to the foreground and passed the new…
Ian Vink
  • 66,960
  • 104
  • 341
  • 555
0
votes
1 answer

Monodroid: wake application

How is it possible to wake the application from code? I am writing a simple timer and when time goes out it displays picture on main activity. But this means that application should stay on screen all the time. If user switches to another app (or…
0
votes
2 answers

Resuming and suspending Threads from ArrayList

I have a problem with Java. I would like to write a program where there is Class Main which has ArrayList of Threads of some class (Class Task) which just writes a letter and the number. Object Main just wakes one Thread from ArrayList and let it to…
Yoda
  • 17,363
  • 67
  • 204
  • 344
-1
votes
1 answer

Starting app on wake up an android device

Hello Guys I need to start an android App when I wake up an Android Tv Box, Is it possible? I try with some automation app like Tasker,Macrodroid... but I don´t get It, only work if I turn off completly and make a complete start up. Thanks
htmlpower
  • 169
  • 1
  • 16
-1
votes
1 answer

can Qt signal wakeup sleeping thread

I'm working on some application using Qt framework, it uses serial port and need to receive some data, problem is that data is organized with some protocol, which i parse in readyRead() signal handler(slot), at the same time, i need to wait for…
user3506106
  • 141
  • 7
-1
votes
2 answers

STM32F4 exit from STOP on Usart receive interrupt

STM32F429 discovery board: It's not possible to exit from STOP mode on Uart receive interrupt, because all the clocks are stopped? As far as I read any EXTI Line configured in Interrupt mode can wake up the microcontroller.EXTI0 - EXTI15 . Please,…
Ethane Das
  • 15
  • 5
-1
votes
1 answer

Saving object to a session - How do I fetch my object from the session as it was before?

I am saving a customer class with some variables and methods to a session. How do I manage to get all it's methods to work when fetching it back from a session? (Like an exact original if possible) Is is what I have done so far:
Imnotapotato
  • 5,308
  • 13
  • 80
  • 147
1 2 3
13
14