Just as a followup in case anyone reads this later, it turns out the
download was only slow on my Android Dev Phone 2, my client installed
the app on their Nexus One and the code downloads the file in
approximately 10 seconds.

Time to figure out what's up with my dev phone!

Mark thanks again for all the help.

Rob

On Mar 23, 7:54 pm, Stormtap Studios <[email protected]> wrote:
> Your file download quickly on my emulator, however on my device in the
> debugger it downloaded at the same slow rate.  So I then tested the
> release / no debugger version (by exporting, and then installing
> the .apk with adb).  Same issue, equally slow as the debugger + device
> combo.  This was with the debuggable value set to false this time as
> well (which seemed to change nothing, probably just prevents mangling
> of the code in the package is my bet).
>
> I thought maybe something might be wrong with my device's WIFI.  I put
> it right near the wireless router for full signal, no change in speed.
>
> Tomorrow I'll be able to load the app onto another Android device, so
> we'll see then whether it's just my device that has the issue.  I'll
> report back if any success on that front.
>
> In the meantime thanks Mark for the thorough help, and for hosting
> this file to test with, good idea!
>
> Thanks,
>
> Rob
>
> On Mar 23, 4:39 pm, Mark Murphy <[email protected]> wrote:
>
>
>
> > Stormtap Studios wrote:
> > > Yes on WiFi, no the browser doesn't seem to perform similarly
> > > sluggish, although I'm not able to get it to download a large file so
> > > I can't compare that.  Is there a way to test that?  I did go to
> > > Google and do an image search though and some of those thumbnails were
> > > quite slow to load.
>
> > Well, the speed difference is over 40x (~14 seconds to 600+ seconds), so
> > I would think if the Browser had similar problems, it'd be bindlingly
> > obvious.
>
> > > When you say in an emulator image do you mean through the debugger
> > > targeted at the emulator?  Or do you mean installing it to the
> > > emulator with adb (same as I installed it to the device)?
>
> > I mean "on an emulator". How you get it there (Eclipse, ant, adb,
> > manually poking hex values into flash) is up to you. :-)
>
> > > I have
> > > tried it on the emulator and it's even slower on there, everything is
> > > slower.  This is an emulator built for Android 1.5 (my app's target).
>
> > I just tried it on an Android 1.5 emulator. It took exactly 14 seconds.
>
> > Switch your code to download this file:
>
> >http://commonsware.com/misc/test.mp4
>
> > to:
>
> > /sdcard/test.mp4
>
> > and see what happens. If this works much more quickly for you, then
> > there's something afoot with the Web server you're downloading from.
>
> > --
> > Mark Murphy (a Commons 
> > Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> > Android Development Wiki:http://wiki.andmob.org

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to