If you could access phone interface, you can call invokeOemRilRequestStrings
method in java code, but this method is depend on different reference-ril
implenmentation, some will send the command to modem and some just echo back
the command.

And phone interface is in package com.android.internal.telephony, I'm not
sure if your app can import this package.

2010/6/2 arnouf <[email protected]>

> Hi all,
>
> I would like to send some AT commands, from my Android application, to
> the RIL available on a phone.
>
> I read a lot of things about this :
> - it's not possible
> - it's possible
> - There are some API not documented about telephony which allow this
>
> How does it it work exactly?
> There is a RIL (a sort of library available in library level - related
> to the Android Anatomy). This RIL provides some information related to
> telephony connection or data connection.
> If I need to call this real :
> - can I do it directly from my Java code?
> - do I have to implement a C library (using JNI / NDK) calling RIL ?
>
> I think there is always a solution, so ...I'll read your answer.
>
> Thanks a lot for your help.
>
> --
> 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]<android-developers%[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 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

Reply via email to