Thanks all above. I mean I just want to add a AT command in the ril reference.c. And could this disturb all the other commands working?
And sorry for I'm not posting in the right place. :-( 2009/4/20 Marco Nelissen <[email protected]> > You shouldn't be sending AT commands, as they would very likely interfere > with AT commands sent by the system itself, possibly leaving the radio in an > inconsistent state. > Also, this list is about developing using the SDK, which by definition > excludes all the internal APIs. > > > On Mon, Apr 20, 2009 at 8:42 AM, Daliang Luo <[email protected]> wrote: > >> But Romain, what should I do if I am trying to call the function >> invokeOemRilRequestStrings()? I am trying to send AT commands via this >> interface. >> >> 2009/4/20 Daliang Luo <[email protected]> >> >>> Thanks Romain, then may be i can use telephonymanager to talk with the >>> interfaces? >>> >>> 2009/4/20 Romain Guy <[email protected]> >>> >>>> >>>> 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 -~----------~----~----~----~------~----~------~--~---

