Thanks Romain, then may be i can use telephonymanager to talk with the
interfaces?

2009/4/20 Romain Guy <romain...@google.com>

>
> Don't. The package name says "internal" because it's a private API. Do
> NOT use it.
>
> On Mon, Apr 20, 2009 at 1:55 AM, Nio <luodali...@gmail.com> wrote:
> >
> > Hi there,
> > I'm trying to invoke the functions belong to class phone and
> > PhoneFactory. But when I'm trying to import these packages, it reminds
> > errors:
> >
> > code:
> > import com.android.internal.telephony.Phone
> > import com.android.internal.telephony.PhoneFactory
> > ...
> > PhoneFactory.makeDefaultPhones(this)
> > Phone phone = PhoneFactory.getDefaultPhone()
> >
> > error:
> > The com.android.internal.telephony.Phone can not be resolved.
> > The com.android.internal.telephony.PhoneFactory can not be resolved.
> >
> > But some other packages can be imported. I don't know why. I think all
> > this packages should be included in the SDK.
> > Can any one tell me where I am getting wrong?
> > Thanks.
> > Nio
> > >
> >
>
>
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to