Re: [android-developers] Re: [USSD] Any API's or code flow ?

2010-10-22 Thread Atul Raut
Does USSD works on Android Phone ?


On Thu, Oct 21, 2010 at 2:08 PM, Atul Raut atul.dr...@gmail.com wrote:

 How to send Ussd command/code using Android phone.
 When am trying *#306# [for getting IMEI number] it say
 wrong Ussd code. But this is very generic and application
 to all phone.

 -Atul



 On Wed, Oct 13, 2010 at 10:52 AM, Atul Raut atul.dr...@gmail.com wrote:


 Thanks for kind reply.



 On Wed, Oct 13, 2010 at 2:35 AM, Frank Weiss fewe...@gmail.com wrote:

 I didn't even know what USSD code flow is. When I googled, the first few
 results were google groups questions.

 AFAICT, this is a carier-specific issue. I suggest you contact a carrier
 for specific USSD code flow questions.

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com

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

Re: [android-developers] Re: [USSD] Any API's or code flow ?

2010-10-21 Thread Atul Raut
How to send Ussd command/code using Android phone.
When am trying *#306# [for getting IMEI number] it say
wrong Ussd code. But this is very generic and application
to all phone.

-Atul


On Wed, Oct 13, 2010 at 10:52 AM, Atul Raut atul.dr...@gmail.com wrote:


 Thanks for kind reply.



 On Wed, Oct 13, 2010 at 2:35 AM, Frank Weiss fewe...@gmail.com wrote:

 I didn't even know what USSD code flow is. When I googled, the first few
 results were google groups questions.

 AFAICT, this is a carier-specific issue. I suggest you contact a carrier
 for specific USSD code flow questions.

 --
 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.comandroid-developers%2bunsubscr...@googlegroups.com

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

Re: [android-developers] Re: [USSD] Any API's or code flow ?

2010-10-12 Thread Frank Weiss
I didn't even know what USSD code flow is. When I googled, the first few
results were google groups questions.

AFAICT, this is a carier-specific issue. I suggest you contact a carrier for
specific USSD code flow questions.

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

[android-developers] Re: [USSD] Any API's or code flow ?

2010-10-10 Thread Atul Raut
Hi,

Any pointers to this will help in understanding USSD code flow.

-Atul


On Fri, Oct 8, 2010 at 6:10 PM, Atul Raut atul.dr...@gmail.com 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) 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.comandroid-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.comandroid-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

[android-developers] Re: [USSD] Any API's or code flow ?

2010-10-08 Thread Atul Raut
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 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

[android-developers] Re: [USSD] Any API's or code flow ?

2010-10-08 Thread Atul Raut
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.comwrote:

 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.comandroid-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.comandroid-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

[android-developers] Re: [USSD] Any API's or code flow ?

2010-10-08 Thread Atul Raut
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) jig2n...@gmail.comwrote:

 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.comandroid-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.comandroid-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