I am adding Bluetooth support to my Palm application (http://cushman.net/projects/palantir/) and I've run into a problem while testing on my Tungsten T5. Because I am testing Bluetooth functionality, I must test changes I make to the BT code on my device. The quickest way to get a new .prc version from my PC where I compile (prc-tools) to my T5 is the Secure Digital card and a cardreader. This is my process on my Win2k development box:

1. Compile the app, resulting in a test.prc file
2. Copy the app to a small SD card using Windows Explorer, overwriting the file on the SD card if it exists
3. Right-click on the drive letter for my cardreader and Eject the SD card
4. Insert the SD card into my T5 and tap the application icon

This does not always get me a new version of my app on my device! I'm going nuts here trying to find out where the app is being cached. I have checked the dates and file sizes and they match between my PC and the SD card, but my T5 does not "get" the changes (I print out the version number on application launch). I can even copy the .prc file from the SD card to a simulator session and I get the right version.

So what can I do to kick my T5 into realizing there is a new version of the app on the SD card and to run that? I may have one clue, if I try to run the .prc file from the Files application by tapping it in the explorer view, I get the following message:

Error launching an application from a card. It may be in main memory already.

Soft resets do not work, either. Anyone have a clue as to what I am doing wrong?

Mark Cushman
http://cushman.net/

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

Reply via email to