Posts by M.A • 1 point
1 post
-
0
votes2
answers7874
viewsA: "Quit" button in application developed in the App Framework
Intent intent = new Intent(Intent.ACTION_MAIN); intent.addCategory(Intent.CATEGORY_HOME); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(intent); …