Re: sleep method in palm

2004-05-27 Thread Saurabh Agarwal
Yes I have used method as SysTaskDelay(delaySec * SysTicksPerSecond()) where delaySec = no of sec I want to delay. Thanx. "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > At 12:46 AM 5/28/2004, you wrote: > >Is there any sleep() function in palm os api? > >I am looking

Re: split the library?

2004-05-27 Thread Ben Combee
At 12:32 AM 5/28/2004, you wrote: Hy, how can i split the library?is segmentation can be done for static library. There is very little support for shared libraries in Palm OS, and almost no support for large one or ones using C++. While you could split one into several segments, you'll have to

Re: sleep method in palm

2004-05-27 Thread Ben Combee
At 12:46 AM 5/28/2004, you wrote: Is there any sleep() function in palm os api? I am looking similar to one in C --- sleep(microsecond), it sleeps the application for given micro-seconds. SysTaskDelay is the closet to what you want, but its resolution is OS ticks, not microseconds. -- Ben Combee,

Re: sleep method in palm

2004-05-27 Thread Ben Combee
At 01:01 AM 5/28/2004, you wrote: Will I be able to do other work during sleep time? Is it a non-blocking command? SysTaskDelay blocks your user thread. Your application will be frozen, along with all of the user interface functions of the device, until the end of the delay. -- Ben Combee, DTS

Problem in sending data to USb port without closing port in between

2004-05-27 Thread Saurabh Agarwal
I am working with Palm Zire device and trying to communicate with USB port. In second sequence described below, I am getting error. First Sequence: When i do following steps: OpenPort() SrmSend() ClosePort() This works successfully. Second Sequence: When i do following steps OpenPort() SrmSend()/

RE: sleep method in palm

2004-05-27 Thread Carol(Min) Li
no, i've tried just now, it will block the system to do anything. so, it's not a good method. search the old archieve, you will get more about it ~ -Original Message- From: Saurabh Agarwal [mailto:[EMAIL PROTECTED] Sent: 2004å5æ28æ 14:01 To: Palm Developer Forum Subject: Re: sleep method

Re: sleep method in palm

2004-05-27 Thread Saurabh Agarwal
Thanx. Will I be able to do other work during sleep time? Is it a non-blocking command? "Annada Prasana" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > SysTaskDelay > Put the processor into doze mode for the specified number of ticks. > Thankx > Annada > > -Original Message---

RE: sleep method in palm

2004-05-27 Thread Annada Prasana
SysTaskDelay Put the processor into doze mode for the specified number of ticks. Thankx Annada -Original Message- From: Saurabh Agarwal [mailto:[EMAIL PROTECTED] Sent: Friday, May 28, 2004 11:16 AM To: Palm Developer Forum Subject: sleep method in palm Is there any sleep() function in p

RE: sleep method in palm

2004-05-27 Thread Carol(Min) Li
refer to SysTaskDelay function Purpose Put the processor into doze mode for the specified number of ticks. Declared In SystemMgr.h Prototype Err SysTaskDelay (Int32 delay) Parameters delay Number of ticks to wait (see SysTicksPerSecond()) Returns Returns 0 if no error. See Also EvtGetEvent()

sleep method in palm

2004-05-27 Thread Saurabh Agarwal
Is there any sleep() function in palm os api? I am looking similar to one in C --- sleep(microsecond), it sleeps the application for given micro-seconds. Thanx. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Database to Field

2004-05-27 Thread Barry Jaques
Thanks guys for your advice on this problem and no thanks to the authors for not covering this important part of dealing with a database- ie how to display the info. Actually I have already stripped down the Memo sample and got it working though under another name and creator so as not to conflict

split the library?

2004-05-27 Thread Annada Prasana
Hy, how can i split the library?is segmentation can be done for static library. Thankx Annada -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

re: Creating DLL!

2004-05-27 Thread Tom Frauenhofer
Yes - look for information on building a shared library in the knowledge base or the Palm OS documentation. There are also sample projects included in either the Palm OS SDK or around the net that can help you get started. -- For information on using the Palm Developer Forums, or to unsubscrib

Re: Obtaining GPS location accuracy from Garmin GPS library

2004-05-27 Thread Brian Smith
On Thu, 27 May 2004, David Beers wrote: > There is something I'm not seeing in the Garmin SDK and that is how you > get data on the accuracy of the GPS fix. Not just whether there is a > sufficient fix for 2D or 3D location, but the accuracy in terms of feet, > as presented in the QueGPS applicati

Re: Palmsource Web Browser AppLaunchWeb example

2004-05-27 Thread Ben Combee
At 03:50 PM 5/27/2004, you wrote: I am trying to run this example, I got it compiled using PRC-Tools but after tapping the GetHomePage button which is supposed to return the result in a field on the application, I get an error: i:\ripple\arm\core\emul68k\src\emul68kcommon.c, Line:1981, Invalid ptr:

Re: Web browser in Palm OS?

2004-05-27 Thread M Wasson
Does the SDK allow you to connect to a PC internet connection through a USB cable? "Alvin Chin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Palmsource does have a Palm Web Browser which you can download and an SDK as > well from the Palmsource web site. PalmOne makes the Web Bro

Palmsource Web Browser AppLaunchWeb example

2004-05-27 Thread Alvin Chin
I am trying to run this example, I got it compiled using PRC-Tools but after tapping the GetHomePage button which is supposed to return the result in a field on the application, I get an error: i:\ripple\arm\core\emul68k\src\emul68kcommon.c, Line:1981, Invalid ptr: Anyone encounter this

Re: Web browser in Palm OS?

2004-05-27 Thread Alvin Chin
Palmsource does have a Palm Web Browser which you can download and an SDK as well from the Palmsource web site. PalmOne makes the Web Browser Pro which supports plugins. "M Wasson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I wasn't talking about CE/PPC. And I looked at this

Re: Drawing without PalmOS

2004-05-27 Thread jimrandomh
Pavel wrote: template< > void SurfaceDid<16>::Fill ( U32 col ) { U16 c = (U16)col; U8 *line=PixelPtr( 0, 0 ), *pixel=line; for ( S16 y = 0; y < 320; y++, line+=640, pixel=line ) for ( S16 x =0; x < 320; x++, pixel+=2 ) *(U16*)pixel=c; } The main points

Re: Problem with PilRC designer

2004-05-27 Thread Matt Graham
The PilRC compiler is good, but PilRC Designer has lots of bugs. This sounds like one of them. Be careful w/ PilRC Designer and graphical buttons. I can't even open a form that has graphical buttons w/o PilRC Designer mangling their sizes. Zechner Christian wrote: Hi! I have any problems with

Re: POL for PODS?

2004-05-27 Thread Karl-Otto Rosenqvist
"Ben Combee" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] I cannot talk about PalmSource's future plans in this area right now. Sorry. That sounds promising because it means that PalmSource have some kind of plans for PODS and we can only hope for the best! Regards Karl-Otto

Re: Dropping bitmaps on a form.

2004-05-27 Thread Peter Hamilton-Scott
How do I register the bitmap in the project? Sorry for coming over as a real pratt but I could spend a lot of time trying to do something fundamentally simple. If I could be kicked in the right direction that would help! -- For information on using the Palm Developer Forums, or to unsubscribe,

Creating DLL!

2004-05-27 Thread Keyur Patwa
Hi guys, I know somebody had asked similar kind of question but might be mine one is a little different from that! My problem is, I have a C++ application (Palm OS 5 - Treo 600),with several functions and files. Now, I want to make DLLs out of them and come up with a SDK so that other develop

Re: Obtaining GPS location accuracy from Garmin GPS library

2004-05-27 Thread Peter Hamilton-Scott
David, you asked for it. Here it is...a link to probably the best iQue related forum in the world. Certanly the only one worth going to. I subscribe to it as an iQue owner. My forum name is Bokkie. Drop in and have a look around. There are some extremely knowledgeable people there who will give

Re: Obtaining GPS location accuracy from Garmin GPS library

2004-05-27 Thread Dan Phelan
There is usually an accuracy number 0=GPS , 1=DGPs(differential-GPS), but beyond that you may want to visit the link listed below for more information. It includes info. on Garmin Marine GPS products. http://vancouver-webpages.com/pub/peter/ Dan - Original Message - From: "David Beers" <

Re: POL for PODS?

2004-05-27 Thread Arrow
I'm a HUGE fan of POL ( http://www.pollib.com/ )...a POL or similar type of framework would be #1 on my wish list for PODS. Unless i need ARM specific, i won't move away from POL ...it saves so much time and greatly eases code maintanence. "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[E

Obtaining GPS location accuracy from Garmin GPS library

2004-05-27 Thread David Beers
First of all, is anyone aware of a Garmin iQue developer newsgroup or forum? I googled around for a bit, but nothing lept out at me. Maybe PalmSource should create a GPS-dev-forum, since GPS seems to be a potential killer app for handhelds. In the absence of such a forum, I'll ask my question

Re: Dropping bitmaps on a form.

2004-05-27 Thread Ben Combee
At 11:51 AM 5/27/2004, you wrote: I need to display some information on a form and I thought it might be useful if I could display a bitmap. For example, if something is stopped display a red circle, if it's suspended, display an amber circle, and if it's running (pure rocket science), display a

Dropping bitmaps on a form.

2004-05-27 Thread Peter Hamilton-Scott
I need to display some information on a form and I thought it might be useful if I could display a bitmap. For example, if something is stopped display a red circle, if it's suspended, display an amber circle, and if it's running (pure rocket science), display a green circle. How easy is it to

How to implement server app and debug server sockets?

2004-05-27 Thread Petr Stetina
Hi, I would like to write FTP server running on Palm but emulator (version 3.5 with ROM taken from my m505) freezes on NetLibSocketListen. Simulator (version 5.2) with redirected TCP/IP does nothing - I can't connect to server from client. Function call looks like this: netTimeout = SysTicksPer

Re: MemGluePtrNew().....

2004-05-27 Thread Ben Combee
At 07:55 AM 5/27/2004, you wrote: IS there again a upper limit for memory allocation using MemGluePtrNew(). I am allocation a memory of 3MB using MemGluePtrNew(). But it returns NULL. why so ?? The upper limit is the size of the largest chunk of free space in the dynamic heap. This he

Re: POL for PODS?

2004-05-27 Thread Ben Combee
At 05:39 AM 5/27/2004, you wrote: Hi Ben! Because I don't own CW I've just seen the demos on the new POL site and in the FAQ section it said that you cannot buy POL but have to talk to MetroWerks about a license. Do you know if it will be possible to buy a license of POL to PODS or will PalmSource

Re: Problem displaying text in a field

2004-05-27 Thread Roger Stringer
Subject: Problem displaying text in a field. From: Peter Hamilton-Scott <[EMAIL PROTECTED]> Date: Wed, 26 May 2004 17:44:14 +0100 But...my Palm development book by Rhodes mentions that labels are not ideal for displaying data and that you should display data in a non-editable field instead.

Re: [General]In CW 9.3 , What's Different between Debug mode and Release Mode?!

2004-05-27 Thread Chris Apers
The only difference will be the config you use in your debug and release targets. debug and release are just names of the config of your targets with no particular sense for CW, so i advice you to check the config of this these 2 targets (segments, etc ...) and see where is the problem. > Kirphea

Re: MemGluePtrNew().....

2004-05-27 Thread wax wacky
Thanks for ur reply jimmy ! - Original Message - From: jimrandomh <[EMAIL PROTECTED]> Date: Thu, 27 May 2004 09:30:36 -0400 To: "Palm Developer Forum" <[EMAIL PROTECTED]> Subject: Re: MemGluePtrNew(). > wax wacky wrote: > > IS there again a upper limit for memory allocation

RE: Drawing without PalmOS

2004-05-27 Thread Pavel
template< > void SurfaceDid<16>::Fill ( U32 col ) { U16 c = (U16)col; U8 *line=PixelPtr( 0, 0 ), *pixel=line; for ( S16 y = 0; y < 320; y++, line+=640, pixel=line ) for ( S16 x =0; x < 320; x++, pixel+=2 ) *(U16*)pixel=c; } Pave

Re: MemGluePtrNew().....

2004-05-27 Thread jimrandomh
wax wacky wrote: IS there again a upper limit for memory allocation using MemGluePtrNew(). I am allocation a memory of 3MB using MemGluePtrNew(). But it returns NULL. why so ?? On every device, some portion of the memory is 'heap', and some of it is 'storage'. Heap memory is meant for us

Re: [General]In CW 9.3 , What's Different between Debug mode and Release Mode?!

2004-05-27 Thread jimrandomh
Kirpheaice wrote: I Write an Applicatino by CW 9.3 & POL . My Problem is , My Applicatino can work and make synchronize on M505 Emluator with my Release mode PRC file. But it will cause exceptino as I using my Debug mode Applicaion . What's wrong ?! There is a serious bug in your code which wil

Re: SDK for modem?

2004-05-27 Thread Dave Lippincott
AFAIK, there are no Palm OS modem APIs. So I would just send the AT commands directly to the serial port. If you search the web, you may be able to find some open source routines that already do it. However, the AT command set is very simplistic, it wouldn't take much effort to write your own ro

Re: Drawing without PalmOS

2004-05-27 Thread jimrandomh
Pavel wrote: Hi. Using CW 9.3 Linker : Palm OS 68k Trying to do some drawing without PalmOS API. template< U8 bpp > void SurfaceDid::Fill ( COLOR col ) { PixelType c = (PixelType)col; U8 *l=PixelPtr( 0, 0 ), *p=l; for ( S16 y = 0; y < Height(); y++,NextY( l ), p=l ) // Height,NextY i

MemGluePtrNew().....

2004-05-27 Thread wax wacky
IS there again a upper limit for memory allocation using MemGluePtrNew(). I am allocation a memory of 3MB using MemGluePtrNew(). But it returns NULL. why so ?? -- __ IndiaInfo Mail - the free e-mail service with a difference! www.indiainf

Re: Mounting files on PC into PalmOS Simulator

2004-05-27 Thread Petr Stetina
See subdirectory Card1 in directory where PalmSim.exe is placed. Petr [ a | x ] - Peter Alex wrote: Hello everyone, How can i mount directories/files into palmOS simulator? I have installed in simulator HostFS but i dont have idea how to mount dirs/files? Please help regards, Peter ___

USB other than sync

2004-05-27 Thread Danielle O'Hallisey
How might I go about rolling a driver that would make the Palm device appear like a generic USB keyboard, joystick or mouse to a PC? This should be possible, since the Palm defaults to slave mode. Thank you, Danielle O'Hallisey -- For information on using the Palm Developer Forums, or to unsu

SDK for modem?

2004-05-27 Thread Danielle O'Hallisey
I have a need for an application that would use the Palm modem. The app needs to log various data, then dial a number at a particular time, establish a connection with the host and transfer a report. The program needs to use a modem (not Ethernet) as phone lines are going to be more available tha

POL for PODS?

2004-05-27 Thread Karl-Otto Rosenqvist
Hi Ben! Because I don't own CW I've just seen the demos on the new POL site and in the FAQ section it said that you cannot buy POL but have to talk to MetroWerks about a license. Do you know if it will be possible to buy a license of POL to PODS or will PalmSource include something similar with th

Re: Palm OS low lwvwl funcionality

2004-05-27 Thread Aryeh Teitelbaum
Thanks for your answers, Aryeh Teitelbaum Jerusalem College of Technology - Machon Lev - Original Message - From: "Ben Combee" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Monday, May 24, 2004 6:39 PM Subject: Re: Palm OS low lwvwl funcionality > At 11:41 AM

Mounting files on PC into PalmOS Simulator

2004-05-27 Thread \[ a | x \] - Peter Alex
Hello everyone, How can i mount directories/files into palmOS simulator? I have installed in simulator HostFS but i dont have idea how to mount dirs/files? Please help regards, Peter __ Do you Yahoo!? Friends. Fun. Try the all-ne

Network problem with Softick PPP

2004-05-27 Thread Petr Stetina
Hi, I tried to establish client connection to simple TCP/IP server application running on Palm device (m505) connected to PC via USB cable but it seems does not work. However I can connect other way - from Palm to PC. My configuration is: WXP Pro, Softick PPP 2.15 and Palm m505 Do you have any

[General]In CW 9.3 , What's Different between Debug mode and Release Mode?!

2004-05-27 Thread Kirpheaice
Hello there, I Write an Applicatino by CW 9.3 & POL . My Problem is , My Applicatino can work and make synchronize on M505 Emluator with my Release mode PRC file. But it will cause exceptino as I using my Debug mode Applicaion . What's wrong ?! When I using my debug mode application to sy

Popup trigger arrow substitution

2004-05-27 Thread cristian . brunelli
Hello, I need to make a control made as a popup trigger (so that it shows a list) but with a different bitmap on the left: I would use a normal popup trigger with another bitmap. Is it possible or must I implement a gadget? Or are there other simpler ways? I've been thinking about showing a stan

Drawing without PalmOS

2004-05-27 Thread Pavel
Hi. Using CW 9.3 Linker : Palm OS 68k Trying to do some drawing without PalmOS API. template< U8 bpp > void SurfaceDid::Fill ( COLOR col ) {     PixelType c = (PixelType)col;     U8     *l=PixelPtr( 0, 0 ),     *p=l;     for ( S