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 <[email protected]> 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

