Want to override some member methods,like toString. 2015-08-28 1:25 GMT+08:00 Steve Gabrilowitz <[email protected]>:
> > You don't instantiate it directly, you don't instantiate it at all, > therefore you can not extend it in the conventional sense. What you can do > is to create a class that acts that acts as a wrapper for the methods of TM > that you want it to expose directly. If you tell us what sort of > extensions you want to make you will get better suggestions! > On Aug 24, 2015 8:49 PM, "张斌" <[email protected]> wrote: > >> I want to create a new class extends TelephonyManager which can not >> instantiate directly.TelephonyManager can be instantiate through >> Context.getSystemService(Context.TELEPHONY_SERVICE). >> >> >> Are there anyone know sth about it? >> >> Waiting for your reply! >> >> -- >> 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 >> --- >> You received this message because you are subscribed to the Google Groups >> "Android Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- > 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 > --- > You received this message because you are subscribed to the Google Groups > "Android Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 如果邮箱有问题,请转至[email protected] <[email protected]> -- 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 --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

