Hi, Any pointers to this will help in understanding USSD code flow.
-Atul On Fri, Oct 8, 2010 at 6:10 PM, Atul Raut <[email protected]> wrote: > Hi Jagdish > > >> : is there java file which are being used for USSD call? > > > No RIL.java is used to handled the USSD call. > > -Atul > > > On Fri, Oct 8, 2010 at 4:17 PM, Jignesh Kakkad(Jiggy) <[email protected] > > 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 <[email protected]> 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 <[email protected]> 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 [email protected]. >> > To unsubscribe from this group, send email to >> > [email protected]<android-platform%[email protected]> >> . >> > 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 [email protected]. >> To unsubscribe from this group, send email to >> [email protected]<android-platform%[email protected]> >> . >> 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 [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

