The MMI messages on screen displayed at package com.android.phone; in
class PhoneUtils
static void displayMMIComplete will this used to display USSD messages also.



On Fri, Oct 8, 2010 at 4:17 PM, Jignesh Kakkad(Jiggy) <jig2n...@gmail.com>wrote:

> Hi,
>
> I am also looking for this information .
>
> First of all, Thanking you for sharing this.
>
> Does this mean that if want to make any chance then we need to care
> about RIL.java ??
>
> Or is there java file which are being used for USSD call?
>
> Any help will appreciated
>
> Thank you
>
> Regards
> Jiggy
>
>
> On Fri, Oct 8, 2010 at 8:37 PM, Atul Raut <atul.dr...@gmail.com> wrote:
> > From some other mail thread I found some good info :
> >
> > There is protected Registrant mUSSDRegistrant in package
> > com.android.internal.telephony; in BaseCommands.java
> > There is code to process USSD Response from RIL (telephony / java / com /
> > android / internal / telephony / RIL.java)
> > 2381             case RIL_UNSOL_ON_USSD:
> > 2382                 String[] resp = (String[])ret;
> > 2383
> > 2384                 if (resp.length < 2) {
> > 2385                     resp = new String[2];
> > 2386                     resp[0] = ((String[])ret)[0];
> > 2387                     resp[1] = null;
> > 2388                 }
> > 2389                 if (RILJ_LOGD) unsljLogMore(response, resp[0]);
> > 2390                 if (mUSSDRegistrant != null) {
> > 2391                     mUSSDRegistrant.notifyRegistrant(
> > 2392                         new AsyncResult (null, resp, null));
> > 2393                 }
> >
> > Message displayed at device screen
> > package com.android.phone; in class PhoneUtils
> > static void displayMMIComplete
> >
> > -Regards
> > Atul
> > On Fri, Oct 8, 2010 at 2:29 PM, Atul Raut <atul.dr...@gmail.com> wrote:
> >>
> >> Hi,
> >>
> >> Is there any APIs for USSD [Unstructured Supplementary Service Data]
> >> or how the code flow in Google's Android could some one point me.
> >>
> >> Some info that I have found here :
> >> /frameworks/base/telephony/java/com/android/internal/telephony//RIL.java
> >>
> >>
> /frameworks/base/telephony/java/com/android/internal/telephony/RILConstants.java
> >> /hardware/ril/include/telephony/ril.h
> >> /hardware/ril/libril/ril.cpp
> >> /hardware/ril/libril/ril_unsol_commands.h
> >> /vendor/qcom/proprietary/qcril/qcril_fusion/qcril_log.c
> >>
> >> Basics file which handles the USSD.
> >>
> >> -Thanks,
> >> Atul
> >
> > --
> > You received this message because you are subscribed to the Google Groups
> > "android-platform" group.
> > To post to this group, send email to android-platf...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > android-platform+unsubscr...@googlegroups.com<android-platform%2bunsubscr...@googlegroups.com>
> .
> > For more options, visit this group at
> > http://groups.google.com/group/android-platform?hl=en.
> >
>
> --
> You received this message because you are subscribed to the Google Groups
> "android-platform" group.
> To post to this group, send email to android-platf...@googlegroups.com.
> To unsubscribe from this group, send email to
> android-platform+unsubscr...@googlegroups.com<android-platform%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/android-platform?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 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