Re: [android-developers] How to close an activity

2011-08-12 Thread leo luo
Hi, If the version u used is before 2.2, I guess u can try this methord: ActivityManager activityManager = (ActivityManager) context.getSystemService(Context.ACTIVITY_SERVICE); activityManager.restartPackage(packagename); If the version is 2.2 or later: u may try this: public

[android-developers] Is the screensaver in source code Launcher?

2011-07-27 Thread leo luo
Hi all, I am trying to make my own screensaver, but the result is not that good. I want to read the screensaver source code. I guess the source code is in Launcher, but I did not found it. Anyone who know where the screensaver source code is , please share with me. How to develop a screensaver?

Re: [android-developers] Is the screensaver in source code Launcher?

2011-07-27 Thread leo luo
to jump to home? On Thu, Jul 28, 2011 at 2:27 AM, TreKing treking...@gmail.com wrote: On Tue, Jul 26, 2011 at 8:57 PM, leo luo luobiao@gmail.com wrote: How to develop a screensaver? Android doesn't have screensavers