[android-developers] Memory Leak problem (about activity background)

2011-12-10 Thread Ken Yang
Hi!! Dear All, I have an app that contains many Activity. (ex: i got 10 Activity which be named a1,a2,a3,a10) and all of the Activity(a1,a2,a3a10) have background like this. LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:background=@drawable/bg_normal

[android-developers] I registered a broadcast to detect sd card status, but it only works on the device below 2.1(include 2.1)

2010-08-30 Thread Ken Yang
I registered a broadcast to detect sd card status, but it only works on the device below 2.1(include 2.1) it's doesn't work on nexus one or 2.2 emulator... android os will kill my process on nexus one and 2.2 emulator, but it won't do that on device below 2.1(include 2.1) is there anything

[android-developers] Re: Killi Process with files on SD card

2010-08-30 Thread Ken Yang
I find it works on 2.1 and 1.5 device(emualtor), but it doesn't work on my nexus one(2.2) or 2.2 emulator? why? On 7月15日, 上午12時23分, Streets Of Boston flyingdutc...@gmail.com wrote: It works fine for me on my motorola droid, nexus one and G1. Did you properly register your broadcast receiver,

[android-developers] Re: Killi Process with files on SD card

2010-08-30 Thread Ken Yang
Hi, Excuse.. I did it the same way... but it only works on 1.6、2.1 device.. it's doesn't work on 2.2 device, no matter on nexus one or 2.2 emulator... how can you do that on nexus one? this is my code public class serviceSDcard extends Service { private static Context