Hello Mohammad, If you are talking about the preference activated from the xml using activity please refer the api demos that is provided. developer.android.com/resources/samples/ApiDemos/res/xml/ advanced_preferences.html The example are quite self explanatory and covers all the possible usage of preference even how to launch a new activity from it.
You can then use it as you require. Hope this would help. Please let me know if you need any more clarification. ag On May 3, 6:15 pm, Mohammad Siddiqui <siddiqui.m...@gmail.com> wrote: > Hi everyone, > > I want to lunch a actvitity when click on a prefrence(inflated form > the xml ). > how we can do it > > Thanks > > -- > 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 > athttp://groups.google.com/group/android-developers?hl=en -- 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