how does the newly downloaded PRC get imported/inserted into the device's 
application storage?

Can the downloaded PRC file be directly inserted into a resource database or 
do I have to "parse" it and write the pieces individually?
Can you point me to any code samples or documentation?

thanks


"Russell Cagle" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> You can't import the new PRC because it has the same database name as the 
> current application database, so rename the current application database 
> to "My App Backup" or something.  Call SysCurAppDatabase() to get the 
> LocalID of the current application database, then call DmSetDatabaseInfo() 
> to rename it.  Import your new PRC.  Call SysUIAppSwitch().  To delete the 
> old copy of your application, check for "My App Backup" at startup and 
> delete it.  This works for me, but YMMV.
>
> Russell Cagle
> Handheld Developer, Partner Software



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

Reply via email to