Hi Jude, maybe the function can be call via the app within android itself.
As you can see that lots of app in android itself. But cannot be call by app
that developed with SDK.

Nio

2009/4/21 Jude <julien.dela...@gmail.com>

>
> Hi all,
>
> Thanks a lot for your reativity.
>
> Just to clarigy some stuffs...
>
> David,
> Normally, the modem can support the multi channel for AT commands, it
> allows to send/receive multiple AT commands. For example you can
> perform an MO/MT call (CS call) and activate a PDP context (PS call)
> or send/receive an SMS. It is the class A principle that has been
> implicitely brought with the 3G networks.
>
> WRT Nio said, what is the goal of the functions
> invokeOemRilRequestStrings and invokeOemRilRequestRaw if they cannot
> be called from the framework side ?
>
> Nio,
> It seems that the method getdefaultphone is in an internal package
> (PhoneFactory.java) that I can not access.
>
> Maybe do you have any workaround to access this getdefaultphone
> method ?
>
> Thanks a lot !
>
> Best regards
>
>
>
> On 20 avr, 05:45, Nio <luodali...@gmail.com> wrote:
> > Hi Jude,
> >
> > Can you call the function getdefaultphone()? It can get the gsm
> > default phone, and via this it can call the function
> > invokeOemRilRequestStrings().
> >
> > Hi David,
> >
> > If so, then what is invokeOemRilRequestStrings supposed to do? I think
> > this is a extendable interface for OEM to call to send AT commands or
> > do other things relate to RIL. Am I right?
> >
> > On 4月18日, 上午12时40分, David Turner <di...@android.com> wrote:
> >
> > > You can't do that. The AT protocol is to basic to allow several clients
> > > talking to the modem,
> > > which means that only the GSM/RIL stack can talk to it, or really bad
> things
> > > may happen
> > > (i.e. you would start receiving answers addressed to the GSM stack,
> some of
> > > your messages
> > > might be inserted between two messages from the GSM stack, which would
> make
> > > the modem
> > > not understand anything, or even enter strange states). Also the GSM
> stack
> > > assumes it is the
> > > only one talking to the modem, and is not capable of supporting when a
> > > different player changes
> > > the modem's state under its feet.
> >
> > > On Fri, Apr 17, 2009 at 3:50 PM, Jude <julien.dela...@gmail.com>
> wrote:
> >
> > > > Hi all,
> >
> > > > I am trying to develop an application that would need to AT commands
> > > > that are not yet defined in the RIL.
> > > > I saw from the ril.h file, that hook requests are available :
> >
> > > > It can be invoked on the Java side from
> > > > com.android.internal.telephony.Phone.invokeOemRilRequestStrings()
> > > > com.android.internal.telephony.Phone.invokeOemRilRequestRaw()
> >
> > > > But from the application side, this package is not visible
> > > > (com.android.internal.telephony)
> >
> > > > Is there anyone who bypassed this issue or is there any other way to
> > > > send specific AT command to the RIL from an application ?
> >
> > > > Thanks in advance,
> >
> > > > regards,
> >
> > > > Julien
> >
> >
> >
>

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