I'm developing an AppWidget that utilises a Service (running in its own Thread) to pull data via HTTP and FTP (using Zehon FTP for Java).
The FTP process works fine under Emulator(2.1) and Emulator(2.2), NexusOne(2.1) and NexusOne(2.2), Huawei u8150(2.2), and Wildfire(2.1) [those are the builds of Android I have acess to for testing] I released a beta to get feedback regarding any problems encountered on devices I don't have access to, and seems to be the GalaxyS(2.1) that had the worst experience (never saw the data updated). Now that I've downloaded Gingerbread SDK, I see that in Emulator(2.3) my AppWidget's service gets consistently killed about 30-40 seconds into the FTP pull process (typically near the end of the first file being pulled, but sometimes just after the 2nd file starts getting pulled). It seems thaty GalaxyS(2.1) (and possibly GalaxyS(2.2)) as well as Gingerbread are very strict about killing my service. I've since tried running my service as a foreground thread but that didn't help. Lowering the priority of the Thread my service runs in results in the service being killed earlier within the FTPing process. Am after some direction as to best way to go about debugging/solving this! -- 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

