Re: problem adding .rcp file to project

2006-03-27 Thread niranjan
 We're going to need a bit more information from you, mainly what version
 of CW are you using.  I believe that CW had the PilRC plugin starting at
 version 8.

 Check your Bin\Plugins\Compiler where you have CodeWarrior and check to
 see if you have the PilRC.dll.  If you do then go to your debug/release
 settings panel under 'Target-File Mappings' and check to see if you have
 the .rcp extension listed.  If you don't see it then hit the 'Factory
 Settings' button...this should hopefully restore your .rcp back into the
 listing.  If not, then you'll have to add it manually.

 But first, what compiler version are you running?

 //

 I have PilRC.dll . Iam using Metrowerks CodeWarrior version 9.0   .
 I have checked  Target-File Mappings there is no .rcp extension
 in the list . I hit 'factory settings'  button but did not get .rcp
 back in the list .

   Can you please explain me in detail  how I add it manually .

   All your help will be greatly appreciated .

Thanks






-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


re: API for Downloading files

2006-03-27 Thread shuba
ExgDBRead()
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: what's the correct way of closing a socket connection?

2006-03-27 Thread Sanjay Wakhare

Hello Guilherme,

 Though replying late, but I would like to type in few lines.
 NetLibClose() function call has a second parameter called 'Immediate'. If you set this parameter to value 'true' then you dont need to use NetLibFinishCloseWait() call.

Instead, if you set this parameter to false, onlythen probably, you may need to call NetLibFinishCloseWait() depending on your application.


Sanjay


On 3/21/06, Guilherme C. Hazan [EMAIL PROTECTED] wrote:
Hi,I've used this code to close a connection: ok = NetLibSocketClose(PALM_REFNUM(refNum) socketRef, timeout, err) == 0;
Then someone told me that i would have to do this: if (NetLibSocketShutdown(PALM_REFNUM(refNum) socketRef, netSocketDirOutput, timeout,err) == 0) {// cleanup the receiving buffer
byte bytes[64];int32 n = 1;debug(socket close 1);do{ int i = 4; while (--i) {n = NetLibReceive(PALM_REFNUM(refNum) socketRef, bytes, 64, 0, 0, 0, timeout,
err);debug(int2str(socket close 2: ,err));if (!(n == -1  err == 4626)) // if was a timeout, try again break; } debug(int2str(socket close 3: ,n));
} while (n  0); } NetLibSocketShutdown(PALM_REFNUM(refNum) socketRef, netSocketDirInput, timeout, err); ok = NetLibSocketClose(PALM_REFNUM(refNum) socketRef, timeout, err) == 0;
But this is still not working. Now i found this: NetLibCloseand also this function: NetLibFinishCloseWaitCan a gentleman tell me what's the correct and safe way to close a socket?
thanks guich--For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: treo650 only shows a white form and the device is dead after clicking the main menu key

2006-03-27 Thread Sanjay Wakhare
Hi henryxu, 

 I believe you must have sorted the problem by now. Long back I had read somewhere that it is not a good practice to call MemPtrNew and MemPtrFree very often as you said you are doing in your program. Try to allocate global memory space and use it as many times as you want instead of Allocating/deallocating every time.





On 3/16/06, henryxu [EMAIL PROTECTED] wrote:
Did you try to run your application on the Treo 650 debug simulator to see whether it outputs any error messages?
DanielI use bluetooth lib in my application, so I don't know how to debug on the simulator.--For information on using the PalmSource Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/-- Sanjay WakhareDeveloperiFlect Technologies IPL. New Mumbai.Cell: +91-9819498866 

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Aborting a SqsQSort upon user screen tap

2006-03-27 Thread Michal Seliga
afaik abort is impossible, but if you would start to return 0 from callback
without preformimng any real action inside then i think it should finish 
quickly.

i didn't tried it, but maybe it would work - but i am not sure if it can't make
any unwanted reordering

or another possibility is to make your own sort routine and not use system one

Luc Le Blanc wrote:
 When the user launches a sort on the list display of 30,000 records, it may
take some time, even on a fast device like a T3 (like 10 seconds). I would like
to offer the possibility of interrupting that sort by simply tapping on the
Please wait... message. But even if I check for a screen tap with
EvtSysEventAvail in my comparison proc, how do I then abort the sort? Tips 
welcome.



-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


5-way navigation????????

2006-03-27 Thread Waqar
Hi ALL,

Can some one tell me how to use the 5-way navigation button on T5. 

Thanks ,
Waqar. 
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: Searching/Filtering Palm database records

2006-03-27 Thread David Thacker
Andy,

I'm not sure where you are at in your application development cycle, but you 
may want to consider taking a few hours to evaluate our Satellite Forms 
rapid application development tool for PalmOS and PocketPC: 
http://www.satelliteforms.net/

Satellite Forms is geared primarily to database-driven applications, and the 
database filtering capabilities enable you to work with filtered recordsets 
with basically zero effort.

A 30-day trial version is downloadable from our website.

Regards,

-- 
David Thacker
http://www.SatelliteForms.net
The Premier RAD Tool for PalmOS  PocketPC



-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: 5-way navigation????????

2006-03-27 Thread Ben Combee
On 3/27/06, Waqar [EMAIL PROTECTED] wrote:
 Hi ALL,

 Can some one tell me how to use the 5-way navigation button on T5.

The Palm Developer Guide from pluggedin.palm.com has all the info you need.

See also
http://kb.palmsource.com/cgi-bin/palmsource.cfg/php/enduser/std_adp.php?p_faqid=909

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: When does PalmOS release heap memory ?

2006-03-27 Thread Ben Combee
As part of a program's shutdown code, just before returning to the OS
for the next app to be launched, it will go through and release all
dynamic heap chunks with the owner ID of the program.  This doesn't
affect storage heap memory and doesn't free chunks where you've
explicitly set the chunk ownership to a different ID.

On 3/26/06, Tom Frauenhofer [EMAIL PROTECTED] wrote:
 At 03:15 AM 3/26/2006, Anand Kale [EMAIL PROTECTED] wrote:
 Hi,
 
 Even after optimising the application, I have few memory leaks which I
 have ignored currently.

 This is not a good thing to do.

 Is there such a thing in palm application to exit the application ? I
 guess AppStop handles that   and I can release the memory allocated
 there .. In case there some memory leaks, when they are released back
 to the system, after power off, soft reset, hard reset ..

 Memory will be released back only on resets
 (soft/hard/warm/etc.).  There really isn't a
 power-off state, it's more of a dormant/sleep state.

 One of the slams at Palm OS is that it doesn't
 have a memory manager like more modern
 operating systems.  I look at it more as the
 rules you have to follow - you have to clean up
 memory.  If you don't, the device may get into a
 state where there is not enough memory to run other applications.

 The Palm OS Emulator provides some good feedback
 on where you are leaking memory in the logs, so
 you can figure out how to clean up the leaks properly.


 
 Tom Frauenhofer, [EMAIL PROTECTED]
 Palm OS(r) Certified Developer
 http://www.beret.com
 My Blog: http://tomfrauen.blogspot.com


 --
 For information on using the PalmSource Developer Forums, or to unsubscribe, 
 please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: 5-way navigation????????

2006-03-27 Thread Chris Bruner Quadro

Look at PalmNavigator.h at the macro NavKeyPressed

Note though  that it is not upwards compatible. If you are using the
Tungsten E2 it uses different keys.  My routine for handling that follows
(entry point at GetKeyType())

:

my own definitions, everything boils down to these
typedef enum {
KEY_NONE = 0X00,
KEY_UP =0x01,
KEY_DOWN = 0x02,
KEY_LEFT = 0x04,
KEY_RIGHT = 0x08,
KEY_SEL = 0x10,
KEY_UPLEFT = 0x05,
KEY_DOWNRIGHT = 0x0a,
KEY_UPDOWN = 0x03,
KEY_RIGHTLEFT = 0x0c
} KeyTypeEnum;


//Get original Pre Palm OS 5 key
static KeyTypeEnum GetTungEKeyType(EventType *eventP)
{
Boolean  handled  = false;

ControlType *ctlP  = NULL;

// form info

// Get the KeyEvent fields
WChar   chr   = eventP-data.keyDown.chr;
UInt16   keyCode  = eventP-data.keyDown.keyCode;
UInt16   modifiers = eventP-data.keyDown.modifiers;

bool lr = (NavKeyPressed(eventP,Right) || NavKeyPressed(eventP,Left));
bool ud = (NavKeyPressed(eventP,Up) || NavKeyPressed(eventP,Down));
bool Forward = (NavKeyPressed(eventP,Right) || NavKeyPressed(eventP,Down));
bool Backward = (NavKeyPressed(eventP,Left) || NavKeyPressed(eventP,Up));
if (!(NavKeyPressed(eventP,Select) || lr || ud))
 return KEY_NONE;

int KeyType = 0;
 KeyType |= NavKeyPressed(eventP,Right) ? KEY_RIGHT : 0;
 KeyType |= NavKeyPressed(eventP,Left) ? KEY_LEFT : 0;
 KeyType |= NavKeyPressed(eventP,Up) ? KEY_UP : 0;
 KeyType |= NavKeyPressed(eventP,Down) ? KEY_DOWN : 0;
 KeyType |= NavKeyPressed(eventP,Select) ? KEY_SEL : 0;
return (KeyTypeEnum)KeyType;
}


// Call here to get both.
KeyTypeEnum GetKeyType(EventType *eventP)
{
KeyTypeEnum r = GetTungEKeyType(eventP);
if (r!=KEY_NONE) return r;
// Get the KeyEvent fields
WChar   chr   = eventP-data.keyDown.chr;
UInt16   keyCode  = eventP-data.keyDown.keyCode;
UInt16   modifiers = eventP-data.keyDown.modifiers;
if (modifiers==0x0808)
{
 switch(keyCode)
 {
 case 0x132: return KEY_UP;
 case 0x133: return KEY_DOWN;
 case 0x135: return KEY_RIGHT;
 case 0x134: return KEY_LEFT;
 case 0x136: return KEY_SEL;
 }
}

return KEY_NONE;
}


Chris Bruner
Compulife Software Inc.
==
- Original Message - 
From: Waqar [EMAIL PROTECTED]

To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Monday, March 27, 2006 10:38 AM
Subject: 5-way navigation



Hi ALL,

Can some one tell me how to use the 5-way navigation button on T5.

Thanks ,
Waqar.
--
For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/




--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: When does PalmOS release heap memory ?

2006-03-27 Thread Jay Ts
Ben Combee wrote:
 As part of a program's shutdown code, just before returning to the OS
 for the next app to be launched, it will go through and release all
 dynamic heap chunks with the owner ID of the program.  This doesn't
 affect storage heap memory and doesn't free chunks where you've
 explicitly set the chunk ownership to a different ID.

Ben, can you clarify this a bit?  I'm used to programming on
Unix/Linux and other big operating systems where when a program
exits, all memory allocated by malloc(3) will be automatically
freed.

I've been trying to figure out exactly what happens when a Palm OS
application exits.  I understand that when the power button is
pressed to turn the device off, it is simply put in sleep mode,
and when powered on again, the program continues to run -- so it
hasn't exited.

But when execution transfers to Launcher, it seems that the application
is signaled to exit with an appStopEvent.  So the usual action is
to execute AppStop to save Application Preferences and Database records,
then free any malloc'd memory and close all forms with a FrmCloseAllForms()
call.

But what exactly happens next?  What does the system do with this
application before switching to the Launcher or other application?

Are you saying that it automatically frees all memory allocated
using MemHandleNew()?

What about other system resources used by the application?

Jay Ts

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: ctlHitControl and Popup triggers and OS 5

2006-03-27 Thread Chris Bruner Quadro

If I push the button with my stylus everything works properly. A modal
dialog box pops up and I can fill in info etc.

If I push the button with CtlHitControl the modal dialog box pops up and
disappears like the default button was pushed.

Can anyone please tell me how I control can this?


Chris Bruner
Compulife Software Inc.
==
- Original Message - 
From: Chris Bruner Compulife [EMAIL PROTECTED]

To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Sunday, March 26, 2006 7:59 PM
Subject: ctlHitControl and Popup triggers and OS 5



I have code which works fine for OS 4 and 3, where I use the 5 way button
so select fields, buttons or poptriggers, (and draw a circle around the
active one) and the middle 5 way button to select the field.  I'm having
problems with the Pop up trigger using ctlHitControl to trigger the popup.
The popup pops up and disappears right away, or doesn't pop up at all.

Has this been changed, or is there a better way of doing this?


Chris Bruner
Compulife Software Inc.
==

--
For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/




--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: ctlHitControl and Popup triggers and OS 5

2006-03-27 Thread Chris Bruner Quadro

OK, it appears that I have to handle the nilEvent. For some reason returning
false (unhandled) exits the window

Now I'm fighting with the button selection. Is there some way of making the
Palm OS 5 and  not select buttons with the 5way button. I've got a numeric
field editor that I'm using the 5 way for and the wrong buttons are being
selected by the OS (the previous OS didn't do selections so I want to handle
it myself).

Chris Bruner
Compulife Software Inc.
==
- Original Message - 
From: Chris Bruner Quadro [EMAIL PROTECTED]

To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Monday, March 27, 2006 12:57 PM
Subject: Re: ctlHitControl and Popup triggers and OS 5



If I push the button with my stylus everything works properly. A modal
dialog box pops up and I can fill in info etc.

If I push the button with CtlHitControl the modal dialog box pops up and
disappears like the default button was pushed.

Can anyone please tell me how I control can this?


Chris Bruner
Compulife Software Inc.
==
- Original Message - 
From: Chris Bruner Compulife [EMAIL PROTECTED]

To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Sunday, March 26, 2006 7:59 PM
Subject: ctlHitControl and Popup triggers and OS 5



I have code which works fine for OS 4 and 3, where I use the 5 way button
so select fields, buttons or poptriggers, (and draw a circle around the
active one) and the middle 5 way button to select the field.  I'm having
problems with the Pop up trigger using ctlHitControl to trigger the popup.
The popup pops up and disappears right away, or doesn't pop up at all.

Has this been changed, or is there a better way of doing this?


Chris Bruner
Compulife Software Inc.
==

--
For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/




--
For information on using the PalmSource Developer Forums, or to
unsubscribe, please see http://www.palmos.com/dev/support/forums/




--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: ctlHitControl and Popup triggers and OS 5

2006-03-27 Thread Ben Combee
You should provide a fNav resource for the form and in the flags tell
it that you're doing form interaction, not object interaction.

On 3/27/06, Chris Bruner Quadro [EMAIL PROTECTED] wrote:
 OK, it appears that I have to handle the nilEvent. For some reason returning
 false (unhandled) exits the window

 Now I'm fighting with the button selection. Is there some way of making the
 Palm OS 5 and  not select buttons with the 5way button. I've got a numeric
 field editor that I'm using the 5 way for and the wrong buttons are being
 selected by the OS (the previous OS didn't do selections so I want to handle
 it myself).

 Chris Bruner
 Compulife Software Inc.
 ==
 - Original Message -
 From: Chris Bruner Quadro [EMAIL PROTECTED]
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Sent: Monday, March 27, 2006 12:57 PM
 Subject: Re: ctlHitControl and Popup triggers and OS 5


  If I push the button with my stylus everything works properly. A modal
  dialog box pops up and I can fill in info etc.
 
  If I push the button with CtlHitControl the modal dialog box pops up and
  disappears like the default button was pushed.
 
  Can anyone please tell me how I control can this?
 
 
  Chris Bruner
  Compulife Software Inc.
  ==
  - Original Message -
  From: Chris Bruner Compulife [EMAIL PROTECTED]
  To: Palm Developer Forum palm-dev-forum@news.palmos.com
  Sent: Sunday, March 26, 2006 7:59 PM
  Subject: ctlHitControl and Popup triggers and OS 5
 
 
 I have code which works fine for OS 4 and 3, where I use the 5 way button
 so select fields, buttons or poptriggers, (and draw a circle around the
 active one) and the middle 5 way button to select the field.  I'm having
 problems with the Pop up trigger using ctlHitControl to trigger the popup.
 The popup pops up and disappears right away, or doesn't pop up at all.
 
  Has this been changed, or is there a better way of doing this?
 
 
  Chris Bruner
  Compulife Software Inc.
  ==
 
  --
  For information on using the PalmSource Developer Forums, or to
  unsubscribe, please see http://www.palmos.com/dev/support/forums/
 
 
 
  --
  For information on using the PalmSource Developer Forums, or to
  unsubscribe, please see http://www.palmos.com/dev/support/forums/
 


 --
 For information on using the PalmSource Developer Forums, or to unsubscribe, 
 please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: ctlHitControl and Popup triggers and OS 5

2006-03-27 Thread Chris Bruner Quadro

Thanks for the reply Ben,

Is the fNav resource in the PiIRC designer? I can't seem to find it.


Chris Bruner
Compulife Software Inc.
==
- Original Message - 
From: Ben Combee [EMAIL PROTECTED]

To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Monday, March 27, 2006 1:37 PM
Subject: Re: ctlHitControl and Popup triggers and OS 5


You should provide a fNav resource for the form and in the flags tell
it that you're doing form interaction, not object interaction.

On 3/27/06, Chris Bruner Quadro [EMAIL PROTECTED] wrote:
OK, it appears that I have to handle the nilEvent. For some reason 
returning

false (unhandled) exits the window

Now I'm fighting with the button selection. Is there some way of making 
the
Palm OS 5 and  not select buttons with the 5way button. I've got a 
numeric

field editor that I'm using the 5 way for and the wrong buttons are being
selected by the OS (the previous OS didn't do selections so I want to 
handle

it myself).

Chris Bruner
Compulife Software Inc.
==
- Original Message -
From: Chris Bruner Quadro [EMAIL PROTECTED]
To: Palm Developer Forum palm-dev-forum@news.palmos.com
Sent: Monday, March 27, 2006 12:57 PM
Subject: Re: ctlHitControl and Popup triggers and OS 5


 If I push the button with my stylus everything works properly. A modal
 dialog box pops up and I can fill in info etc.

 If I push the button with CtlHitControl the modal dialog box pops up and
 disappears like the default button was pushed.

 Can anyone please tell me how I control can this?


 Chris Bruner
 Compulife Software Inc.
 ==
 - Original Message -
 From: Chris Bruner Compulife [EMAIL PROTECTED]
 To: Palm Developer Forum palm-dev-forum@news.palmos.com
 Sent: Sunday, March 26, 2006 7:59 PM
 Subject: ctlHitControl and Popup triggers and OS 5


I have code which works fine for OS 4 and 3, where I use the 5 way 
button

so select fields, buttons or poptriggers, (and draw a circle around the
active one) and the middle 5 way button to select the field.  I'm having
problems with the Pop up trigger using ctlHitControl to trigger the 
popup.

The popup pops up and disappears right away, or doesn't pop up at all.

 Has this been changed, or is there a better way of doing this?


 Chris Bruner
 Compulife Software Inc.
 ==

 --
 For information on using the PalmSource Developer Forums, or to
 unsubscribe, please see http://www.palmos.com/dev/support/forums/



 --
 For information on using the PalmSource Developer Forums, or to
 unsubscribe, please see http://www.palmos.com/dev/support/forums/



--
For information on using the PalmSource Developer Forums, or to 
unsubscribe, please see http://www.palmos.com/dev/support/forums/




--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/



--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: ctlHitControl and Popup triggers and OS 5

2006-03-27 Thread Ben Combee
It's supported by the PilRC language, but isn't part of the PilRC
Designer program.  Look in the PilRC manual for the NAVIGATION
resource.

On 3/27/06, Chris Bruner Quadro [EMAIL PROTECTED] wrote:
 Thanks for the reply Ben,

 Is the fNav resource in the PiIRC designer? I can't seem to find it.

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: API for Downloading files

2006-03-27 Thread Donald C. Kirker
I do not believe this actually downloads the files. You will either need to
write something to download a file yourself or pass the URL to a browser.

-Donald

[EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]
 ExgDBRead()




-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


resGadgetBluetooth

2006-03-27 Thread Borszczuk

Hi,

Which exact include defines resGadgetBluetooth? SDK 5r4 does
not seem to do so - do I need something specific for this
particular gadget?

Regards,
-- 
Daddy, what Formatting drive C: means?...

 Marcin   http://wfmh.org.pl/carlos/

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


PalmOs with xml?

2006-03-27 Thread marilia_palm
How I can work using xml and palmOs api?
 I can receive, to read and to create xml in palm?
This is possible?
thanks
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: problem adding .rcp file to project

2006-03-27 Thread David Oldis
First, upgrade to version 9.3.  Since you currently have 9.0 you'll need to 
nstall 9.2 first then 9.3.

I've also attached the filemappings.xml from my system. Do an 'Import Panel' 
from the File Mappings window and point it to this .xml.  Then try it and let 
me know what you get.  You might need to restart CW for it to take effect...

ftp://ftp.metrowerks.com/pub/updates/CWPP9/CW_PalmOS_9.2_Update.exe
ftp://ftp.metrowerks.com/pub/updates/CWPP9/CW_PalmOS_9.3_Update.exe

David
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/?xml version=1.0 encoding=UTF-8 standalone=yes ?
?codewarrior exportversion=1.0 ideversion=5.0 ?

!DOCTYPE EXPORTEDPANEL [
!ELEMENT EXPORTEDPANEL (NAME, (SETTINGLIST|VALUE))
!ELEMENT SETTINGLIST (SETTING+)
!ELEMENT SETTING (NAME?, (VALUE|(SETTING+)))
!ELEMENT NAME (#PCDATA)
!ELEMENT VALUE (#PCDATA)
]

EXPORTEDPANEL
NAMEFile Mappings/NAME
SETTINGLIST
SETTINGNAMEFileMappings/NAME
SETTING
SETTINGNAMEFileType/NAMEVALUEMMLB/VALUE/SETTING
SETTINGNAMEFileExtension/NAMEVALUE/VALUE/SETTING
SETTINGNAMECompiler/NAMEVALUELib Import 68K/VALUE/SETTING
SETTINGNAMEEditLanguage/NAMEVALUE/VALUE/SETTING
SETTINGNAMEPrecompile/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMELaunchable/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMEResourceFile/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMEIgnoredByMake/NAMEVALUEfalse/VALUE/SETTING
/SETTING
SETTING
SETTINGNAMEFileType/NAMEVALUEMPLF/VALUE/SETTING
SETTINGNAMEFileExtension/NAMEVALUE/VALUE/SETTING
SETTINGNAMECompiler/NAMEVALUELib Import 68K/VALUE/SETTING
SETTINGNAMEEditLanguage/NAMEVALUE/VALUE/SETTING
SETTINGNAMEPrecompile/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMELaunchable/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMEResourceFile/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMEIgnoredByMake/NAMEVALUEfalse/VALUE/SETTING
/SETTING
SETTING
SETTINGNAMEFileType/NAMEVALUETEXT/VALUE/SETTING
SETTINGNAMEFileExtension/NAMEVALUE.c/VALUE/SETTING
SETTINGNAMECompiler/NAMEVALUEMW C/C++ 68K/VALUE/SETTING
SETTINGNAMEEditLanguage/NAMEVALUEC/C++/VALUE/SETTING
SETTINGNAMEPrecompile/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMELaunchable/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMEResourceFile/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMEIgnoredByMake/NAMEVALUEfalse/VALUE/SETTING
/SETTING
SETTING
SETTINGNAMEFileType/NAMEVALUETEXT/VALUE/SETTING
SETTINGNAMEFileExtension/NAMEVALUE.c++/VALUE/SETTING
SETTINGNAMECompiler/NAMEVALUEMW C/C++ 68K/VALUE/SETTING
SETTINGNAMEEditLanguage/NAMEVALUEC/C++/VALUE/SETTING
SETTINGNAMEPrecompile/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMELaunchable/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMEResourceFile/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMEIgnoredByMake/NAMEVALUEfalse/VALUE/SETTING
/SETTING
SETTING
SETTINGNAMEFileType/NAMEVALUETEXT/VALUE/SETTING
SETTINGNAMEFileExtension/NAMEVALUE.cc/VALUE/SETTING
SETTINGNAMECompiler/NAMEVALUEMW C/C++ 68K/VALUE/SETTING
SETTINGNAMEEditLanguage/NAMEVALUEC/C++/VALUE/SETTING
SETTINGNAMEPrecompile/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMELaunchable/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMEResourceFile/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMEIgnoredByMake/NAMEVALUEfalse/VALUE/SETTING
/SETTING
SETTING
SETTINGNAMEFileType/NAMEVALUETEXT/VALUE/SETTING
SETTINGNAMEFileExtension/NAMEVALUE.cp/VALUE/SETTING
SETTINGNAMECompiler/NAMEVALUEMW C/C++ 68K/VALUE/SETTING
SETTINGNAMEEditLanguage/NAMEVALUEC/C++/VALUE/SETTING
SETTINGNAMEPrecompile/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMELaunchable/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMEResourceFile/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMEIgnoredByMake/NAMEVALUEfalse/VALUE/SETTING
/SETTING
SETTING
SETTINGNAMEFileType/NAMEVALUETEXT/VALUE/SETTING
SETTINGNAMEFileExtension/NAMEVALUE.cpp/VALUE/SETTING
SETTINGNAMECompiler/NAMEVALUEMW C/C++ 68K/VALUE/SETTING
SETTINGNAMEEditLanguage/NAMEVALUEC/C++/VALUE/SETTING
SETTINGNAMEPrecompile/NAMEVALUEfalse/VALUE/SETTING
SETTINGNAMELaunchable/NAMEVALUEfalse/VALUE/SETTING

Canvas and TextField

2006-03-27 Thread Denis Ergashbaev
Hello the forum!

I am new to jme, but committed to develop an
open-source and free dictionary application (to help
people learn words in SAT, GRE, GMAT) as my coursework
assignment. It should be written under MIDP1.0 and
targeted at Palm OS 4. 

However, i faced the challenge of placing lists
(ChoiceGroup) and textfiled on the same form, so that
I have a list of words that adjusts to what i type in
the text field below. Afterwards, the best match
should be highlighted for the user to tap on it with a
stylus and see the definition. The problem is that
ChoiceGroup with implicit selection looks ugly on
midp4palm implementation. 

What i am thinking of now is having string drawn on
the screen (Canvas) and placing a textField below (I
also need this fuctionality for one of the games that
should come bundled with the Dictionary application).
Heard that there is a possibility to implement a
textfield, or something alike, on Canvas. Is it true??

Sorry for the long letter :0

Please advice:)

Denis




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/


Re: problem adding .rcp file to project

2006-03-27 Thread Ben Combee
On 3/27/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
  We're going to need a bit more information from you, mainly what version
  of CW are you using.  I believe that CW had the PilRC plugin starting at
  version 8.
 
  Check your Bin\Plugins\Compiler where you have CodeWarrior and check to
  see if you have the PilRC.dll.  If you do then go to your debug/release
  settings panel under 'Target-File Mappings' and check to see if you have
  the .rcp extension listed.  If you don't see it then hit the 'Factory
  Settings' button...this should hopefully restore your .rcp back into the
  listing.  If not, then you'll have to add it manually.
 
  But first, what compiler version are you running?
 
  //

  I have PilRC.dll . Iam using Metrowerks CodeWarrior version 9.0   .
  I have checked  Target-File Mappings there is no .rcp extension
  in the list . I hit 'factory settings'  button but did not get .rcp
  back in the list .

If it doesn't show up in Factory Settings, then it's likely that your
project is using the Mac OS 68K Linker instead of the Palm OS 68K
Linker.  I've got a ton of articles up at palmoswerks.com about the
linker switch and how to migrate from one to the other.

-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/