[android-developers] Re: Intent extras modified

2012-02-17 Thread Ganesh Kumar R.
Hi  Rimma.,

Am in need to implementing some functionality while receiving call from my 
application. I raised my quaetion here but no response yet:

http://stackoverflow.com/questions/9289563/how-to-send-my-additional-intent-data-to-dialer-phone-application-and-receive

Intent intent = new Intent(Intent.ACTION_CALL, 
Uri.parse(tel:123456;1##)); 

So, i followed your approach to send the data along with the phone call 
from my application . Sending is done. 

Am unable to recive as your getting 123456;1 . Can you share your 
receiver approach. 

Help me ! How can i receive data along with a phonecall ?

Br.,
Ganesh r.


-- 
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: Intent extras modified

2008-11-27 Thread Mark Murphy

legerb wrote:
 I'm generating outgoing call using this:
 Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(tel:
 123456;1##));
 123456 - is the phone number i want to dial
 1## - post dial DTMF sequence i'm trying to send.
 The problem is that somehow the chars next to '#' (including) are cut
 off somewhere.
 Because when I catch this intent and try to read the phone number:
 intent.getExtras().getString(Intent.EXTRA_PHONE_NUMBER)
 returns the cut off string - 123456;1
 It's cruicial for me to send the '#' dtmf. Is this considered to be an
 ilegal character? W

Have you tried URL-encoding the # sign?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.4 Published!

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Intent extras modified

2008-11-27 Thread legerb

Thanks Mark :) this is what i was missing.

On Nov 27, 2:18 pm, Mark Murphy [EMAIL PROTECTED] wrote:
 legerb wrote:
  I'm generating outgoing call using this:
  Intent intent = new Intent(Intent.ACTION_CALL, Uri.parse(tel:
  123456;1##));
  123456 - is the phone number i want to dial
  1## - post dial DTMF sequence i'm trying to send.
  The problem is that somehow the chars next to '#' (including) are cut
  off somewhere.
  Because when I catch this intent and try to read the phone number:
  intent.getExtras().getString(Intent.EXTRA_PHONE_NUMBER)
  returns the cut off string - 123456;1
  It's cruicial for me to send the '#' dtmf. Is this considered to be an
  ilegal character? W

 Have you tried URL-encoding the # sign?

 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 _The Busy Coder's Guide to Android Development_ Version 1.4 Published!
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---