Re: [android-developers] CALL_PHONE permission

2010-03-31 Thread Mark Murphy
Isaac Wagner wrote:
 On Tue, Mar 30, 2010 at 10:34 PM, Mark Murphy mmur...@commonsware.com wrote:
 Isaac Wagner wrote:
 startActivity(new Intent(Intent.ACTION_CALL, tel:...));
 Yes, but that brings up the dialer.  I don't want the dialer UI to
 come up on the screen.
 No, it doesn't. ACTION_DIAL brings up the Dialer.

 
 Sorry, I'm using the wrong terminology.  I want my application to
 place a call without leaving my current activity.  When I do
 ACTION_CALL it brings up the call activity, or whatever that is
 called.

Fortunately, that is not possible.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Beginning Android 2_ from Apress Now Available!

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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] CALL_PHONE permission

2010-03-31 Thread Isaac Wagner
On Wed, Mar 31, 2010 at 7:44 AM, Mark Murphy mmur...@commonsware.com wrote:
 Isaac Wagner wrote:
 On Tue, Mar 30, 2010 at 10:34 PM, Mark Murphy mmur...@commonsware.com 
 wrote:
 Isaac Wagner wrote:
 startActivity(new Intent(Intent.ACTION_CALL, tel:...));
 Yes, but that brings up the dialer.  I don't want the dialer UI to
 come up on the screen.
 No, it doesn't. ACTION_DIAL brings up the Dialer.


 Sorry, I'm using the wrong terminology.  I want my application to
 place a call without leaving my current activity.  When I do
 ACTION_CALL it brings up the call activity, or whatever that is
 called.

 Fortunately, that is not possible.


** START RANT **
Fortunately?  How is that fortunate?  OK, here is what I don't
understand about Android.  The API allows me to send SMS messages
without starting the messaging app, but I can't place a phone call
without going through the phone app.  I really just don't get it.
Both services cost money for the user.  Why isn't this functionality
exposed to the developers?  That seems to be a decision without a lot
of thought behind it.
** END RANT**

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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] CALL_PHONE permission

2010-03-31 Thread Mark Murphy
Isaac Wagner wrote:
 Fortunately?  How is that fortunate?

There is a bunch of functionality in the phone app that might be desired
by users. Such as the ability to end a call. Or use a phone menu. Or
toggle speakerphone mode. Or mute the phone.

Besides, what you are proposing be possible is to hide from the user
that there is even a phone call going on, let alone that one was placed.
Even if you have the best of intentions, others may not.

 The API allows me to send SMS messages
 without starting the messaging app

Up to a limit of 100 before the user is notified of what you are doing.

 That seems to be a decision without a lot
 of thought behind it.

Are you an expert on FCC regulations? Bear in mind that you are talking
about *phone* functionality, and so there are quite a few regulatory
bodies (FCC and equivalents in other countries) that get involved with
that sort of thing.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

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

To unsubscribe, reply using remove me as the subject.


[android-developers] CALL_PHONE permission

2010-03-30 Thread Isaac Wagner
In the Android docs for the CALL_PHONE permission it says: Allows an
application to initiate a phone call without going through the Dialer
user interface for the user to confirm the call being placed.

So, my question is, how do I make a phone call through the API without
it bringing up the dialer interface?  It sounds like this should be
possible.

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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] CALL_PHONE permission

2010-03-30 Thread Mark Murphy
Isaac Wagner wrote:
 In the Android docs for the CALL_PHONE permission it says: Allows an
 application to initiate a phone call without going through the Dialer
 user interface for the user to confirm the call being placed.
 
 So, my question is, how do I make a phone call through the API without
 it bringing up the dialer interface?  It sounds like this should be
 possible.

startActivity(new Intent(Intent.ACTION_CALL, tel:...));

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Training...At Your Office: http://commonsware.com/training

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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] CALL_PHONE permission

2010-03-30 Thread Isaac Wagner
On Tue, Mar 30, 2010 at 10:22 PM, Mark Murphy mmur...@commonsware.com wrote:
 Isaac Wagner wrote:
 In the Android docs for the CALL_PHONE permission it says: Allows an
 application to initiate a phone call without going through the Dialer
 user interface for the user to confirm the call being placed.

 So, my question is, how do I make a phone call through the API without
 it bringing up the dialer interface?  It sounds like this should be
 possible.

 startActivity(new Intent(Intent.ACTION_CALL, tel:...));


Yes, but that brings up the dialer.  I don't want the dialer UI to
come up on the screen.

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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] CALL_PHONE permission

2010-03-30 Thread Mark Murphy
Isaac Wagner wrote:
 startActivity(new Intent(Intent.ACTION_CALL, tel:...));
 
 Yes, but that brings up the dialer.  I don't want the dialer UI to
 come up on the screen.

No, it doesn't. ACTION_DIAL brings up the Dialer.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Books: http://commonsware.com/books

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

To unsubscribe, reply using remove me as the subject.


Re: [android-developers] CALL_PHONE permission

2010-03-30 Thread Isaac Wagner
On Tue, Mar 30, 2010 at 10:34 PM, Mark Murphy mmur...@commonsware.com wrote:
 Isaac Wagner wrote:
 startActivity(new Intent(Intent.ACTION_CALL, tel:...));

 Yes, but that brings up the dialer.  I don't want the dialer UI to
 come up on the screen.

 No, it doesn't. ACTION_DIAL brings up the Dialer.


Sorry, I'm using the wrong terminology.  I want my application to
place a call without leaving my current activity.  When I do
ACTION_CALL it brings up the call activity, or whatever that is
called.

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