[android-developers] Re: Froyo -- How to detect that my application has been killed?

2010-07-31 Thread Happy C.
Hi Dianne, I have the same issue with the froyo. I use the start service UI as the following code. //CurrentActivity.java (extend from ListActivity) Intent intent_start_service=new Intent(CurrentActivity.this,MyRunningService.class); intent_start_service.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);

[android-developers] Re: How does forceStopPackage work in Android 2.2 (Froyo)?

2010-06-25 Thread Happy C.
24, 2010 at 4:13 PM, Happy C. taiwanhappin...@gmail.com wrote: How does forceStopPackage work in Android 2.2 (Froyo)? Thanks Google released 2.2 source code. In this code-InstalledAppDetails.java It shows how android 2.2 do the force close function. private void forceStopPackage

[android-developers] How does forceStopPackage work in Android 2.2 (Froyo)?

2010-06-24 Thread Happy C.
How does forceStopPackage work in Android 2.2 (Froyo)? Thanks Google released 2.2 source code. In this code-InstalledAppDetails.java It shows how android 2.2 do the force close function. private void forceStopPackage(String pkgName) { ActivityManager am =

[android-developers] When will Android 2.2 source code release

2010-06-23 Thread Happy C.
Does anyone know this news? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Kill an app / package in API 8 (Froyo)

2010-06-18 Thread Happy C.
Hi Dianne, Sorry to bother you. Does the Force stop in the setting of android 2.2 also use KillBackgroundProcess or use the system level API (developer can't use directly) to make it? I have tried the KillBackgroundProcess and adding the related permission, but it can't stop the running app