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 <[email protected]> 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 [email protected] 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 [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 -~----------~----~----~----~------~----~------~--~---

