background - Error when switching to running applications - android -


I've written an app to switch between background apps in Android, I'm running system error (ex: com.android.setting )

My code: try

  {intent i = new intent (); I.setFlags (Intent.FLAG_ACTIVITY_NEW_TASK); I.setAction ("android.intent.action.VIEW"); I.setComponent (ComponentName.unflattenFromString (pack + "/" + cclass)); This.startActivity (i); } Catch (Exception precedent) {** // precede **}  

Thanks for the help!


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -