If you've ever used the task switcher on a BlackBerry application  
you've seen that it's possible to have programs that run in the  
background.  This means that the module for that application is always  
in use.

When using the RIM javaloader and attempt to erase the module will  
fail unless the -f flag is passed to the erase command.  When  
replacing the module that is in use, the RIM javaloader will force a  
device reset after the module has been loaded.

I tried to replace a module on the device that is in use and  
bjavaloader showed the error:

"Device can't install the application. Check that the application  
isn't already installed !"

This is because the packet received after the module is finished  
loading has the response code 0x78.  I can't say for sure but my guess  
is that this response code actually means that the module is in use  
and a device reset is required.

I have captured the module loading session for the in-use module using  
RIM javaloader (this time I was able to make UsbSnoop go).  You can  
find the output here:
http://www.slashdev.ca/usbcap/



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Barry-devel mailing list
Barry-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/barry-devel

Reply via email to