Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/jerdew5/orbworks.com/forum/includes/bbcode.php on line 112
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3368: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:112)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3370: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:112)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3371: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:112)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 3372: Cannot modify header information - headers already sent by (output started at /includes/bbcode.php:112)
OrbWorks Community Forum • View topic - Multitasking?
Page 1 of 1

PostPosted: Sat Jan 14, 2006 1:41 am
by Pem
Hey people, just starting out with programming for the palm and I have a question. Can an application written in PocketC run in the background? I was interested in writing a simple alarm clock, but if PocketC doesn't support multitasking, then as soon as I would go to another application my PocketC application would quit... so making a functioning alarm clock might be a problem. I'm sorry if my question is worded poorly... if you guys don't know what i'm trying to get at, let me know and I'll try to explain it better.

Thanks,
Pem

PostPosted: Sat Jan 14, 2006 2:34 am
by dewey
The Palm OS does not support multitasking. It does support alarms natively, but they are not possible through PocketC for technical reasons.

PostPosted: Sat Jan 14, 2006 2:44 am
by Aqua32
Palm Cobalt 6.1 does.

Also, he is talking about functionality similar to pTunes where you can run things while listening to music & VersaMail where it will check your email for you on a timed basis.. All very nice on my PalmOS Garnet.

PostPosted: Sat Jan 14, 2006 3:08 am
by Pem
Yea, like aqua32 said I'm thinking about the same thing as a program such as pTunes (or RealOne which I use) running in the background while you run other apps.

But since PocketC doesn't support it.. I guess I'll look elsewhere.

Thanks,
Pem

PostPosted: Sat Jan 14, 2006 4:19 am
by exit_head
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by Aqua32</i>
<br />Palm Cobalt 6.1 does.

Also, he is talking about functionality similar to pTunes where you can run things while listening to music & VersaMail where it will check your email for you on a timed basis.. All very nice on my PalmOS Garnet.
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

PalmOS Cobalt is dead, dead as a door nail. Background apps are very difficult to program using Codewarrior and can very easly crash. so implimenting something like that into PocketC or orbforms would be very difficult (if not imposible)

PostPosted: Sat Jan 14, 2006 7:26 pm
by Aqua32
Where did you read that Cobalt is dead? I would like to read some more information on that. They still seem to be touting it on palmsource and searches turn up many hits none of which infer that it is dead!

PostPosted: Sun Jan 15, 2006 12:07 am
by exit_head
sorry if my post seem rude, wasnt trying to be. PalmSource doesnt have anyone using it and Palm(One) has stated that they have no desire to use it, so unless Moterola ends up using that version of PalmOS (i doubt it, theyll probubly use the version tapwave left behind) there arnt any Palm Licensees left to use it. Yes it does exist but users like us will never see one.

Nate

PS: i LOVE to be wrong, :) what a happy day that would be. OS 6 has some truely sexy features id love to toy around with. but sadly i really dont think i am.

PostPosted: Sun Jan 15, 2006 2:55 am
by Pem
Ok since the program can't run in the background (or at least that would be really hard to implement) I have another question. When you shut off the device a PocketC program is running on, does the application terminate? For example if I try to make the alarm clock program, I could set the alarm and then turn off the device without exiting the program. Would that work?

PostPosted: Sun Jan 15, 2006 4:09 pm
by Aqua32
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"> sorry if my post seem rude, wasnt trying to be.<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

I didnt take it as being rude. I was just wanting a URL so I could read for myself what's going on with it :-)

<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote">When you shut off the device a PocketC program is running on, does the application terminate? For example if I try to make the alarm clock program, I could set the alarm and then turn off the device without exiting the program. Would that work?<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

Yeah.. Thats just the way PalmOS works. When you shut it off and then turn it back on it remembers exactly where it was. Still kinda crappy though. I was really wanting to make an email application what would check email accounts every hour or so like VersaMail but with more customization (skins, backgrounds, mp3/midi alerts, etc. :-( )

But you never know, I don't know the average update schedule for OrbWorks software but it seems to be in active development. So you never know! I would want ARM support before anything.

PostPosted: Mon Jan 16, 2006 6:07 pm
by Pem
I see... well does anyone know any programming language for the palmOS that could be used for making an alarm clock? It has to be possible... my device came with an alarm clock application. I want to make myself an alarm clock with a couple modifications to suit my needs =D

PostPosted: Tue Jan 17, 2006 2:37 pm
by ampca
<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"><i>Originally posted by Pem</i>
<br />I see... well does anyone know any programming language for the palmOS that could be used for making an alarm clock?<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">

gcc/prc-tools http://www.palmos.com/dev/tools/gcc/
It is posible to write a library for PocketC



<blockquote id="quote"><font size="1" face="Verdana, Arial, Helvetica" id="quote">quote:<hr height="1" noshade id="quote"> It has to be possible... my device came with an alarm clock application. I want to make myself an alarm clock with a couple modifications to suit my needs =D
<hr height="1" noshade id="quote"></font id="quote"></blockquote id="quote">