Hi All, I have kept the title bar in my application. But I have also given an option in the menu to invisible title bar. If someone clicks that menu option then my application need to restart and clear all the activities from the task.
For time being, I had thrown an unhandled exception menually using following code, *************************** after clicking " no title bar" option String s = "hello" char c = s.charAt(10); // this line throw the exection which is not handled, so app. restarts Thus " application stopped dialog" comes and after clicking " force close button app. restarts and settings are applicable. But is there any android APIs availble which will restart the application clearing all the activity on the task and moves back to root activity. Thanks, Asif -- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en To unsubscribe from this group, send email to android-developers+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.