Discussion Forums  >  Uncategorized

Replies: 5    Views: 352

Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
12/29/10 11:57 AM (15 years ago)

Picture download error

Hi. First I would like to thank you for a great tool. Keep it up! My problem is that I get Download error saying that it is a problem downloading an image. But this only happen to my droid (HTC Desire) but not to my iphone. Any one have a clue?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/29/10 01:19 PM (15 years ago)
This is strange, havn't heard of this yet. Could there be some kind of security setting or file-download prevention issue on the HTC?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/29/10 01:26 PM (15 years ago)
The method (function) that runs to download an image is in AppDelegate.java > public Bitmap downloadImage(String theUrl) You could have a look at that and print some log statements to see where the issue could be? To see all kinds of useful log info in Exclipse do this... Window > Show View > Other > LogCat This should show some useful debugging info. All the debug output is prefixed with ZZ so you can filter the output as needed.
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
12/29/10 03:48 PM (15 years ago)
Thanks for the quick tip on filtering and where to look. I'll do that and see what can be the problem. I shall maybe mention that even on the different emulated versions for droids the issue with the pictures persist so it´s not related only to my device. I have also tested different version of android version in eclipse. I'm thinkning that it maybe a pc-related problem? I'll test the app from my mac/eclipse installation and get back. I'll keep you posted.
 
Stefan
buzztouch Evangelist
Profile
Posts: 558
Reg: Dec 21, 2010
Sweden
14,780
like
12/30/10 12:52 AM (15 years ago)
This is weird. It seem to be a level issue. Images is visible on Home Screen Menu level but not on Sub-Menu level. I tried to add picture to another app I'm developing and the same error arised. Step 1: Create a Sub Menu Step 2: Choose Single Image on the drop down Step 3: Browse for the jpg-image, add that, add name etc and save. Step 4: Check in the ecplise emulator and on my physical device - the error message picture download error showed. BUT When I added a new image to Home Screen Menu the image showed. Step 1: Choose add Single Image on the drop down menu Step 2: Browse for the jpg-image, add that, add name etc and save. Step 3: Check in the device an viola the image showed! This only happen to Android and is not a issue on iphone. If you need to check my test-app please do so. You can choose wich one you want since I did the same on both of them just to make sure. Best Regards and Happy New Year/Stefan
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
12/30/10 01:32 AM (15 years ago)
Great job finding and tracking this strange issue... we'll see what we can find on this end and report back. THANKS TONS, your work will surely help lots of folks.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.