Mikey,

This can be caused by "the other" ftp code using too much memory, or crashing. Have you looked into this?

-- Kostya

11.12.2010 10:06, metal mikey пишет:
Yeah, I used Service.startForeground() just in case the service was
being killed because it was in the background (and since this is an
AppWidget I guess my "App" isn't in the foreground, rather the
Launcher's "App" is in the foreground).

Am trying out ditching Zehon FTP for Java and using the native
URLConnection. unfortunately Android's implementation of
FtpURLConnection is hard-coded to guessContentTypeFromName(url) so it
doesn't want to download a text file that has an extension of,
say, .wtf...one of the reasons I wasn't using native URLConnection in
the first place.

I'm still interested to know/solve why my service gets killed when
using Zehon FTP for Java, but in the interest of meeting overall goals
of the AppWidget I'm now rejigging regexes to handle the FTP download
of an html file.


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to