full reset and full reinstall

2003-12-17 Thread Riccardo Cohen
Hi I would like to clean a Palm M515 : reset all applications to empty, put back those who were deleted, and reset it like if it has not been touched. Is there a software to do that ? (for instance, the application Graffiti have been deleted, language have been changed to french, some

Re: hacks and TRAPs

2003-12-17 Thread Igor Nesterov
Paul Nevai [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] If I have a hack with many TRAP resources and I want to LIMBO one of them but I don't want to redesign the entire thing then what is the easiest way to proceed? EXAMPLE. I have resource 'TRAP' (1010)

Re: bitmap palettes

2003-12-17 Thread sopta
Unfortunatelly the problem is a bit more complex. I retrieve images in PNG format from the server. Anyway, I've already solved it but it is awfully inefficient. I simply take pixel after pixel, find RGB values from palete suplied with the picture, lookup the index which have similar RGB values in

how to build ARM code resource by CW?

2003-12-17 Thread Zhiqiang Yang
How to build ARM code resource by CW? Best Regards! -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Displaying battery status

2003-12-17 Thread Charles Garcia-Tobin
Hi there Is there a way for my app to display the battery status indicator like the applaucher app? Cheers Charles / // Charles García-Tobin -. ///[] _ _\ // Software and

RE: Displaying battery status

2003-12-17 Thread Mihai Ciornei
Yes there is try please something like: UInt8 percentP; UInt16 voltage = SysBatteryInfo (false, NULL, NULL, NULL, NULL, NULL, percentP); RectangleType rect; rect.topLeft.x = 93; rect.topLeft.y = 91; rect.extent.x = 60;

WinRGBToIndex() crashes with low memory access for Treo270

2003-12-17 Thread George VS
Hi group, Did anyone had trouble with using WinRGBToIndex() under Treo270? Thanks! George VS ([EMAIL PROTECTED]) -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: WinRGBToIndex() crashes with low memory access for Treo270

2003-12-17 Thread Pascal LEVY
Did anyone had trouble with using WinRGBToIndex() under Treo270? I think WinRGBToIndex will crash if called while the current draw window is a bitmap that does not have a color table. May be that's where your problem comes from? Pascal -- For information on using the Palm Developer Forums,

Re: WinRGBToIndex() crashes with low memory access for Treo270

2003-12-17 Thread Aaron Ardiri
Did anyone had trouble with using WinRGBToIndex() under Treo270? I think WinRGBToIndex will crash if called while the current draw window is a bitmap that does not have a color table. May be that's where your problem comes from? i know that some early handspring devices (ie: Prism)

Re: 5way SDK problem

2003-12-17 Thread Robert Rademacher
You need the newer PalmChars.h header file that contains PalmNavigator.h which deals with 5 way navigator-specific definitions. See header info below: (with header shown as the respect to copyright by Palm) Robert /*** ***

Re: 5way SDK problem

2003-12-17 Thread Chris Apers
Hi, It seems that some stuffs from PalmChars.h (FiveWaySDK version) are already defined in tapwave SDK (TwKeys.h) and in PalmChars.h from Palm SG SDK So what file am i supposed to include in order to use correctly 5way navigator ? The Palm SG SDK is newer than the FiveWay SDK, so if

Re: WinRGBToIndex() crashes with low memory access for Treo270

2003-12-17 Thread Pascal LEVY
i know that some early handspring devices (ie: Prism) screwed up the trap numbers for these API calls :) http://www.escribe.com/computing/pcpqa/m73415.html http://www.escribe.com/computing/pcpqa/m56445.html (thread on it) http://www.escribe.com/computing/pcpqa/m40643.html (original report)

about ARMlet and 68K project

2003-12-17 Thread Armada.li
I move a project from PC platform(little-endian format) to palmos5 platform now,and I use codewarrior9. I create a 68K project,add ARMlets Target and .r file.I compile and link successfully.I have some doubts: 1.In my arm native code,can I write many functions?Can I place them to a .bin file?How

about ARM and .r file compiler

2003-12-17 Thread Armada.li
I use codewarrior9 and develop palm platform applications based on ARM processor. Pleas see the File Mappings panel(Edit menu-Setting-Target-File Mappings),I need add .r file to the table,otherwise I don't add .r file to my project. If I use Macintosh 68K as linker,my resource file(.rcp) can't be

Big Sound Stream problem

2003-12-17 Thread Chris Apers
Hi, Do you know why i have the following error : I;\Ripple\ARM\Core\Emul68K\SrcSlowEmu\Run68K.c, Line:3109, Invalid read from CDA8. using this callback function for my stream : Err sndCallback(void* UserDataP, SndStreamRef stream, void* bufferP, UInt32 frameCount) { Ct *data = (Ct

Re: Big Sound Stream problem

2003-12-17 Thread Vu Pham
IMHO, it sounds like that UserDapaP ( and then data ) pointing to some invalid address. Have you checked value of data before running that calculation line ? - Original Message - From: Chris Apers [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wednesday, December 17,

AttnUpdate use

2003-12-17 Thread visios
someone has an example of use of AttnUpdate in how much I would have need of that set the loading of an application to happening of a determined alarm the reception of a sms!! thanks -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: Big Sound Stream problem

2003-12-17 Thread Chris Apers
This is just an example. But every thing works fine if i use + instead of * IMHO, it sounds like that UserDapaP ( and then data ) pointing to some invalid address. Have you checked value of data before running that calculation line ? Hi, Do you know why i have the following error :

VFSFileWrite bug?

2003-12-17 Thread Gabriel Black
I am writing a conduit that creates a file on an expansion card. I am running into a strange problem where it seems like the function VFSFileWrite behaves strangely depending on the number of bytes that you attempt to write. It appears to be a word boundary issue, but I cannot determine which

table static text problem

2003-12-17 Thread Neil Fallon
I'm trying to insert some static text into a text field in a table but for some reason it's not going in. The following is the code that I am using. There must be something wrong with it but I can't see it. TblSetItemStyle (tableP, 0, 0, textTableItem); myText = Labor Rate;

Re: Big Sound Stream problem

2003-12-17 Thread Chris Apers
This is just an example. But every thing works fine if i use + instead of * I have the same result with : Err sndCallback(void* UserDataP, SndStreamRef stream, void* bufferP, UInt32 frameCount) { int a = 5; int b = 8; int l = a * b; return errNone; } IMHO, it sounds like that

Re: Big Sound Stream problem

2003-12-17 Thread Pascal LEVY
This is just an example. But every thing works fine if i use + instead of * Just a guess. Some compilers use support routines to implement multiplications. If your callback and this support routine are not located in the same segment, the generated code will have an implicit reference to the

CW 9.2 using the Simulator for debugging (How to specify the path ?)

2003-12-17 Thread Muriph, Michael
Happy Holidays to all! Small items! If someone has time I will be appreciative. If not no problem! In CW 8 I was able to specify the path. In 9.2 I cannot! Where is it looking by default? Is these an ini config file somewhere? Also, when I hit file open it always opens the

AttnUpdate failed

2003-12-17 Thread visios
The following code does not succeed to modernize the attention manager and to associate the event to my application, someone knows say where is the error? Boolean updated; AttnFlagsType newFlags=kAttnFlagsSoundBit; UInt16 cardNoP; LocalID dbIDP;

Re: Big Sound Stream problem

2003-12-17 Thread Aaron Ardiri
This is just an example. But every thing works fine if i use + instead of * I have the same result with : Err sndCallback(void* UserDataP, SndStreamRef stream, void* bufferP, UInt32 frameCount) { int a = 5; int b = 8; int l = a * b; return errNone; }

Re: Big Sound Stream problem

2003-12-17 Thread Chris Apers
This it it !!! thanks a lot This is just an example. But every thing works fine if i use + instead of * Just a guess. Some compilers use support routines to implement multiplications. If your callback and this support routine are not located in the same segment, the generated code will

Re: CW 9.2 using the Simulator for debugging (How to specify the path ?)

2003-12-17 Thread Regis St-Gelais
Look for PalmEmulators.xml in your codewarrior folder -- Regis St-Gelais, P. Eng. / ing. Software Development / Développement informatique www.laubrass.com -- Muriph, Michael [EMAIL PROTECTED] a écrit dans le message de news:[EMAIL PROTECTED] Happy Holidays to all! Small items! If

Re: table static text problem

2003-12-17 Thread John Leung
I don't see you inserting anything into any text field. You didn't even get the handle to the field and modify the field. All you were trying to do is to draw something on screen. And what is the purpose of calling TblGetSelection in your code? You didn't even attempt to retrieve anything!

Re: 5way SDK problem

2003-12-17 Thread Ben Combee
At 08:04 AM 12/17/2003, Chris Apers wrote: It seems that SG SDK doesn't include all required stuffs like navFtr and navBit Am i wrong ? Yes. They moved some of the items to other header files, but the Palm SG 2.0 SDK should have all items needed to support the PalmOne five-way

Re: table static text problem

2003-12-17 Thread Dave Lasker
For static text, use customTableItem instead of textTableItem. Your mainline code needs to call TblSetCustomDrawProcedure. The call to WinDrawChars needs to be moved inside the callback function passed to TblSetCustomDrawProcedure; it should not be in the mainline code. Dave Neil Fallon wrote

Re: about ARM and .r file compiler

2003-12-17 Thread Ben Combee
At 09:12 AM 12/17/2003, Armada.li wrote: I use codewarrior9 and develop palm platform applications based on ARM processor. Pleas see the File Mappings panel(Edit menu-Setting-Target-File Mappings),I need add .r file to the table,otherwise I don't add .r file to my project. If I use Macintosh 68K

Re: CW 9.2 using the Simulator for debugging (How to specify the path ?)

2003-12-17 Thread Ben Combee
At 10:31 AM 12/17/2003, Muriph, Michael wrote: Happy Holidays to all! Small items! If someone has time I will be appreciative. If not no problem! In CW 8 I was able to specify the path. In 9.2 I cannot! Where is it looking by default? Is these an ini config file somewhere?

How set the creator ID of hardware and silkscreen buttons?

2003-12-17 Thread rguevara
I read the post about the exit the program, and Roger Stringer say what change the Creator ID of Buttons but i dont know how do it. -- Open WebMail Project (http://openwebmail.org) -- For information on using the Palm Developer Forums, or to unsubscribe, please see

Re: How set the creator ID of hardware and silkscreen buttons?

2003-12-17 Thread Luc Le Blanc
rguevara a écrit : I read the post about the exit the program, and Roger Stringer say what change the Creator ID of Buttons but i dont know how do it. Use PrefSetPreference( buttonID, appCreatorID ); where buttonID can be: prefHard1CharAppCreator ... prefHard4CharAppCreator or

Re: How set the creator ID of hardware and silkscreen buttons?

2003-12-17 Thread rguevara
Thanks Luc !! Now work fine! -- Open WebMail Project (http://openwebmail.org) -- Original Message --- From: Luc Le Blanc [EMAIL PROTECTED] To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wed, 17 Dec 2003 15:45:02 -0500 Subject: Re: How set the creator ID of hardware and

Re: table static text problem

2003-12-17 Thread Neil Fallon
I'm setting up a form and making sure things work. As far as the reference manual goes I have spent quite a bit of time with it. Unfortunately the information on tables in the reference manual and companion guides are useless. There are no clear examples of placing text in a text field without

Re: table static text problem

2003-12-17 Thread Matthew Henry
constructive or helpful. On the other hand if you have an example of placing one item into a text field and changing the attributes for that item that would be helpful. * Read the Palm OS Bible. * If doing it by hand is giving you too much trouble and you have access to POL (Object Library

Re: table static text problem

2003-12-17 Thread Vu Pham
Neil, IMHO, when you show your code, it means you 've spent some time to read the documents. But your code and what you asked seems pretty far from each other. That's why J. Leung suggested that you read the manuals. If you search a little bit on PalmOS site, you would find this easily.

detecting hardkey and disable launch

2003-12-17 Thread palmDev
HI, have a app running in the background that polls the hardkey. when it is pressed the app popups up a menu and the user selects it and then the popup goes away. this is fine. however the app that is mapped to the hardkey is launched. How do i avoid or disable the app launch. thanks --

Re: table static text problem

2003-12-17 Thread Neil Fallon
You pointed me to the information for a regular text field. I've been there and read that. I'm looking for table specific fields. I need to set the field attributes for a text field in a table instead of using a label or custom draw type. Nowhere on that page does it say how to accomplish this

Re: table static text problem

2003-12-17 Thread Neil Fallon
Hi Mathew, I'm using Falch.net Developer Studio. I'll take a look at the book after the Christmas rush at the book stores. Neil - Original Message - From: Matthew Henry [EMAIL PROTECTED] Newsgroups: palm-dev-forum To: Palm Developer Forum [EMAIL PROTECTED] Sent: Wednesday, December

about ARM and .r file compiler

2003-12-17 Thread palm
I use codewarrior9 and develop palm platform applications based on ARM processor. Pleas see the File Mappings panel(Edit menu-Setting-Target-File Mappings),I need add .r file to the table,otherwise I don't add .r file to my project. If I use Macintosh 68K as linker,my resource file(.rcp) can't be

custom command bar buttons

2003-12-17 Thread Eric Allen
I am working on an application that will add it's own custom buttons to the command bar. I'm doing this through the sysNotifyMenuCmdBarOpenEvent so it will add the buttons no matter what app is running. My problem is that I can't come up with a way to make the resources of my custom images

RE: Reading a file stream via conduit...

2003-12-17 Thread Randall Pulsifer
I've been looking for this info in the conduit forums, but stumbled across it here. It sounds like I've been doing it correctly: offsetting by 8 bytes and reading and appending the remainder of the records to a file on the host. However, while I get a file that is about the right size for a jpeg,

Re: about ARMlet and 68K project

2003-12-17 Thread armada.li
please help me,and thanks. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: Reading a file stream via conduit...

2003-12-17 Thread Randall Pulsifer
Nevermind - I've been using the older fopen and other stdio functions for max portability to the Mac and simply forgot to specify a binary file, so it was obligingly adding a carriage return everywhere it saw a linefeed. Duh. -Original Message- From: [EMAIL PROTECTED]

Re: custom command bar buttons

2003-12-17 Thread Gavin Maxwell
As you've discovered you need to keep your db open. There is no problem keeping a db open (dmModeLeaveOpen) - but you need to keep hold of a reference to the open db so you can close it later as required (stuff it in a feature). There's a bit more to it, but that should get you going for the most

Re: Background process

2003-12-17 Thread Gavin Maxwell
AlmSetAlarm is your friend... Cheers, Gavin. Sanjeev [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi All, I want to run a block of the code which can be said to be some kind of maintenance without actually opening the application of mine. This has to be a periodic process