Do what I do. Demo on the emulator!!
Are you creating a new thread to d/l each image? Could be a stack overload or
thread limit issue. Or even just data corruption/network problems. Data txfr
isn't guaranteed like it is over normal TCP/IP (I may be wrong on that,
though). Maybe try ensuring the images are loaded serially, one after another
with no overlap, i.e. on the same thread w/ a short pause in between. Try
displaying the images as they're downloaded, just to see if it chokes in the
same place every time. Post your relevant code -- maybe there's a glaring
error you're not seeing because you've been staring at it for too long.
--- Tanya Breshears <tanyab_at_atr.jp> wrote:
> Hello everyone,
> I'm working on an i-appli, and testing with a Foma F2102V. Since this
> program needs a lot of icons, the first time the program runs I'm calling up
> our site and downloading icons, then writing them to the scratchpad. Later,
> I read them off the scratchpad to show them on the screen. This is all fine
> and dandy on the emulator (DoCoMo's version 3.0) but crashes on the phone
> (shocking, I know). It starts up fine, brings up the splash screen, but
> sometime while downloading the icons it fails and gives me the message
> "error." That's it. I've tried wrapping my code in a try/catch statement
> to get it to be more forthcoming, but no luck. Must not be an exception
> coming directly from my code? I've set the size of the scratchpad to be
> slightly more than I need, and I'm downloading from the same domain as the
> i-appli was loaded from. I'm supposed to be demo-ing this program in a day
> and a half, and I'm basically working alone here, so I'd appreciate any help
> I can get.
> This mail was sent to address jasonpollard_at_yahoo.com
> Need archives? How to unsubscribe? http://www.appelsiini.net/keitai-l/
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
Received on Wed Aug 4 11:56:59 2004