Thanks Fina, actually i need the menu which is created in mainactivty so thats why i am thinking for extending whole activity in preferenceactivity.can you solve this problem or any idea about this..?
On Tue, Mar 27, 2012 at 1:57 PM, Fina Perez <fina.pere...@gmail.com> wrote: > you mean extending from two classes into one? That's not possible in > Java. Try using interfaces or think again about your structure. If > you reached the necessity of extending two classes, I'm pretty sure > your structure is not well-orientated. > > On márc. 27, 08:10, jugni <jugni1sm...@gmail.com> wrote: > > Hello all, > > > > i have one class file in which i have extends preferenceActivity.now i > also > > want to extends mainactivity because in main activity i have created the > > menu that menu i need in this preference class.so is it possiblem to > extend > > preferenceactivity and mainactivity within on class file? > > -- > 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 > -- Regards jagruti Sangani *iNextrix Technologies* -- 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