app exits on standby or homekey - General Questions and Answers

Hi, I'm developing in C# compact framework 3.5, and for some reason my app exits as soon as the phone goes into standby (screen turns off) or even when I'm called. Is there any way to stop this from happening?

shameless bump?

pretty plz with sugar on top?

Related

Idea for handy screensaver app...

If any of you have ever owned a recent Sony Ericsson phone you'll know they have a handy digital clock screensaver which runs without the backlight, just using high contrast colours; black background with white text. I know you can do this with spb Time, but the slightly newer SE phones (eg. k700i) also show icons for missed calls and messages on this screen, which I think is very useful.
I often find myself staring at the LED waiting for it to flash orange or green so I know if I have a message or not, or having to turn it on and off quickly, which seems a bit pointless!
I've only ever coded in Pascal and VB myself, so I'm not that experienced. Would be grateful if someone could let me know how I can write this sort of thing easily (needs to run full screen and lock buttons, unlock buttons when receiving a call, etc), preferably without having to put the eVB runtime on everyone's PDA!
Let me know what you think of this idea. Obviously I'd have to test how much more battery power it uses than keeping it in standby, so that may be a problem.
Joe
This is not quite the answer to the problem, but I've knocked this together for my own use, but it might help.
http://forum.xda-developers.com/viewtopic.php?t=27357&start=0&postdays=0&postorder=asc&highlight=
You use a hardware key (say record?) to switch on the PDA, show you your Today screen for as long as you hold down the button, and then switch off when you release - quickly check appointments, missed calls etc.
I'll be working on a screensaver, but for now, this suits my needs.
Vijay
MortSaver does it all. Clock (when you push a button) and missed calls/sms (when you push a button). In 5 secs the device is auto powered off. unless you unlock it with the unlock buttons you specified at installation. www.sto-helit.de, freeware.
even though screensaver is prob the wrong word imho
then one thing which would intrest me was how much shorter the
batt time would be using such a program compared to just turning it
of because when you turn it off you dont just turn off the screen you aslo
disable all programs and put the cpu in a sleeplike state
this would not happen when a "screen saver" were being used

flat batteries after automatic turn on -----------HELP!!

As usual,HELP! My XDA11s has a problem (or rather I do) I have set it up so only the on /off buton works so I dont accidentally turn it on in its case and flatten the battery(I have to leave it for long periods in my bag at work).If anyone phones or texts me the XDA turns itsself on and flattens its battery (I'm REALLY fed up with re installing everything ALL the time).Is there any setting to make it turn itsself back off (and save my freyed nerves!!) Many thanks Rocket

flat batteries after automatic turn on -----------HELP!!

As usual,HELP! My XDA11s has a problem (or rather I do) I have set it up so only the on /off buton works so I dont accidentally turn it on in its case and flatten the battery(I have to leave it for long periods in my bag at work).If anyone phones or texts me the XDA turns itsself on and flattens its battery (I'm REALLY fed up with re installing everything ALL the time).Is there any setting to make it turn itsself back off (and save my freyed nerves!!) Many thanks Rocket

Screen off without sleep?

I've tried a search to no avail.
Is there a way to just have the screen turn off with putting the device to sleep? On my TP if I'm listening to music thru the HTC built in music player or Coreplayer (streaming media), the phone no longer sleeps after a time out. It simply stays on with the screen dimmed. This is wasting battery life in my pocket. Can I just turn the screen off and keep the device awake? Pressing the power button puts it to sleep and the music stops.
Is this normal or is it because I've enabled auto lock feature with advanced config?
On my old universal I could just close the lid to turn the screen off. Is there a way to do it on this - maybe something like press and hold the power button while it's locked (otherwise it'll turn off!). Or better still - for it to recognise music is playing and just turn the screen off automatically and not sleep.
Cheers,
LLOYDY
Am I being stupid and missing something ridiculously obvious or is this not possible?...
I am working on an app that can to do this.
The current development thread is here: http://forum.xda-developers.com/showthread.php?t=431328
You can be my VGA tester if you like . (Post and problems / findings / etc. in there)
Download 0v01c and change the settings to Lights Out, then press Sleep.
Ta
Dave
lloydcody said:
Am I being stupid and missing something ridiculously obvious or is this not possible?...
Click to expand...
Click to collapse
Try the excellent today plugin called DevState (Device State). Its has a "turn off screen" option which is what I think you are after.
http://www.freewarepocketpc.net/ppc-download-devstate-v1-5.html
It can be seen in my today screen below:
Cheers guys! Will look into these.
Stupid me - phone goes off by itself anyway. You just have to wait.
LLOYDY

HTC Diamond - backlight not off after inactivity - just fading out a little

Ok so I have a little problem with my HTC Diamond. In options I set to turn-off the backlight after 10s of inactivity which is standard. The problem is that after those 10s I can see that the screen backlight is fading out but it doesn't fade out completly - if you look from an angle it might appear that it's off but if you look at the front of the phone or simply in the dark you can see that the backlight is still on only set to something near 10 or 5%. As you know the battery just sucks in this device and I don't want the backlight to drain it so any ideas or tips on this matter? Of course I can put the phone to sleep mode but I'd just prefer to make the backlight turning off so I can take a look at the screen to for example check the time without having to press any buttons...
Same problem here
After those 10s the screen is not turning off completly, just fading to 5, 10 %. The screen with all the info, the home page let us say, is still visible and drains the battery. I also could just press the power button to turn is completly off, but I would also prefer it to do this manually after ten second.
Did you find a solution to this problem yet?
Help Battery Drain
Same thing here, and my Backlight is stuck to 100% i think,
anyone found a solution to this? any hints?
Guys, i assume youve set the "turn off device if not used for xxx mins" correctly whilst in battery and external power correctly?
If you have, what roms are you using as you give us no information to help any further
Hello,
I had the same problem with ROM 2.03.421.2, date 12/24/08.Back then I had SPB mobile shell installed and a very few applications and I couldn't find the problem. I made a hard reset so now, with nothing installed, the device also enters standby. You should take care because it is possible that the device is not entering standby either and it is making calls. When I had this problem my friends were complaining that I kept calling them and not talking. It is strange as I'm sure I put the device to sleep with the power button. But still, somehow, it was making calls...

Categories

Resources