Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Questions & Help Needed
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Questions & Help Needed Post any question regarding Basic4ppc.


wake up ppc to start Alarm


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-24-2008, 09:32 PM
Newbie
 
Join Date: Jul 2008
Posts: 8
Default wake up ppc to start Alarm

Hello,

I have developed a Alarm-Application its work fine. But now I have a big Problem. When the ppc is in Sleep-Mode, the Alarm do not work. The Application start, but the Display is Off and no sound hear. How can I wake up the ppc from Sleep-Mode before my Alarm-Application starts??
Thank you very much.

MfG
Cetin
Reply With Quote
  #2 (permalink)  
Old 07-25-2008, 05:56 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

How are you waking the device? With RunAppAtTime?
Reply With Quote
  #3 (permalink)  
Old 07-25-2008, 01:20 PM
Newbie
 
Join Date: Jul 2008
Posts: 8
Default

yes, I make it with the With RunAppAtTime-Methode. With the ScreenOn-Command it works not, because my Device don't support this function.
With the BackLightOn-Command, the Display go on and after any seconds the Display go off. What can I do ??
Reply With Quote
  #4 (permalink)  
Old 07-25-2008, 05:15 PM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

This is a known problem with many devices which doesn't fully support this method.
You can try to repeatedly call BackLightOn (with a timer).
Also try to call KeepAlive.
Reply With Quote
  #5 (permalink)  
Old 07-28-2008, 11:05 PM
Newbie
 
Join Date: Jul 2008
Posts: 8
Default

Hello Erel,

with "BackLightOn" and "KeepAlive" it doesn't work. The display switch on and after 3 second, the display switch off again. I doesn't understand, why i found no solution for this problem in this forum. This function is not needed? My Alarm-Clock is Garbage, when this function not work. Have you got an idea ?

Thank you, for your helping.

Cetin
Reply With Quote
  #6 (permalink)  
Old 07-29-2008, 07:27 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

This is a known problem and it is not specific to Basic4ppc.
You can also try to show a msgbox when the device wakes up.
Reply With Quote
  #7 (permalink)  
Old 07-29-2008, 11:07 AM
Newbie
 
Join Date: Jul 2008
Posts: 8
Default

hi Erel,

msgbox doesn't work too. It's the same problem. After 3 seconds the ppc swich off. Do you can write a little "dll" to solute this problem? This is an important function for your B4ppc.

Cetin
Reply With Quote
  #8 (permalink)  
Old 07-29-2008, 11:45 AM
Erel's Avatar
Administrator
 
Join Date: Apr 2007
Posts: 3,186
Default

I don't know yet about a solution to this problem.
If a solution will be found it will be added to the Hardware library.
Reply With Quote
  #9 (permalink)  
Old 08-09-2008, 10:37 PM
Newbie
 
Join Date: Sep 2007
Posts: 1
Default

I use MortScript's ToggleDisplay(1) to turn on the screen on my Kaiser since ScreenOn doesn't work. Please look in to this Erel, now I still need to use MortScript
I was hoping to leave mortscript behind me since I found Basic4PPC.

Thanks,

Cheers,
Cactus
Reply With Quote
  #10 (permalink)  
Old 08-11-2008, 12:50 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,343
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Is it not possible to simulate a "standby" key press???
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Start a App Frederik Questions & Help Needed 2 07-15-2008 12:15 PM
Soccer Alarm? frigide Questions & Help Needed 2 05-31-2008 12:51 PM
IDE hangs and does not start again DieterR Bug Reports 1 01-06-2008 08:32 PM
Start Form Designer without pda connected Cor Basic4ppc Wishlist 1 08-30-2007 09:22 AM
Automatique simple GPS start Put Claude Code Samples & Tips 0 05-15-2007 02:49 PM


All times are GMT. The time now is 12:50 PM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0