Matthew Henry <[EMAIL PROTECTED]> wrote in news:[EMAIL PROTECTED]:

> Todd Walk wrote:
> 
>> I'm trying to get jpegArmlets to work, but I need some help.
>> (I know zilch about armlets.)
>> 
>> First, I'm trying to modify testArmlet2 (I need only the 
>> decoder) to work.  Will that work?  Do I need anything 
>> else besides the stuff in jpegToys?  I installed the
>> starter.prc, ARMlet.pdb, and the jpeg, and I only get
>> fatal resets.
>> 
> 
> You only ned testARmlet2.  I fear you're gonna have to get your hands 
> diry and actually look at the code though.  It's free, and thus, by 
> definition, not well documented.  There's no special armlet knowledge 
> required to get it working.
> 
> 

Okay, I compiled testARMlet2 into starter.prc (with changing the
optimization on the armlet part to size, opt=4).  I changed line 273 to:

err=VFSFileOpen(volRefNum,"/intro.jpg",vfsModeRead,&fp);

and I installed intro.jpg to both the T3 and SD card (I'm guessing that
this will read from memory), along with just starter.prc.

I tap on ARMletSt..., and get the popup "JPEG read error  Unable to
open file   Device will reset".  ie, I can't even get this to
run.

Am I missing something?  (And yes, I've looked quite a bit at the code.)
Todd.


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

Reply via email to