public class NotifiActivitiy extends SherlockActivity implements CleanerService.OnActionListener {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
mSortByKey = getString(R.string.sort_by_key);
mCleanOnAppStartupKey = getString(R.string.clean_on_app_startup_key);
mExitAfterCleanKey = getString(R.string.exit_after_clean_key);
mSharedPreferences = PreferenceManager.getDefaultSharedPreferences(context);
mAppsListAdapter = new AppsListAdapter(context);
int no = (int) getIntent().getExtras().get("appnno");
switch (no) {
...}
// finish();
}
소스입니다.
제가 커스텀노티피케이션을 많들었는데 버튼을 클릭하면 한 액티비티를 실행하면서 그안에있는 명령어를 실행시킵니다. 그러던중 하얀화면이 자꾸 뜨더라고요 끝에 finish() 를 붙이자니 하얀화면은 안뜨지만 서비스 실행도 같이 멈춰서 어찌할 방법을 모르겠습니다.. finish() 말고 하얀화면이 안나오도록 할수있는 방법이 있을까요?