I'm sorry I didn't explained myself... What I wanted to say is that It must be another way to hang an outgoing call. Other than the hang button in the phone. Because others are doing it.
So the question still remains. What is the way to hang an outgoing call?
I can't believe that that's not possible. For example it will abort any
try to make any of this applications:
Call manager.
On screen buttons to handle the call.
Advanced call management.
And others
And I don't find any reason to not allow this.
So... I think this is the group to ask about how to manage this. Maybe
you can help more than others as you know
how this thing will progress.
Thank you in advance
____________________________________
Gonzalo Aguilar Delgado
Consultor CRM - Ingeniero en
Informática
M. +34 607814276
On mar, 2009-06-30 at 12:08 -0700, Dianne Hackborn wrote:
> I have no idea what Huawei is doing, but manufacturers are free to
> implement this however they want, and it is irrelevant to this group
> on developing apps with the SDK.
>
> On Tue, Jun 30, 2009 at 12:02 PM, Gonzalo Aguilar Delgado
> <[email protected]> wrote:
>
> Ok,
>
> so how do the manufacturers the hang-up button if the phone
> has no buttons.
>
> Huawei Android has no buttons...
>
> Are you going to let do it in next versions?
>
> Thank you
>
>
>
>
>
>
>
>
>
> _______________________________
>
>
>
>
> Gonzalo Aguilar Delgado
> Consultor CRM - Ingeniero en
> Informática
>
> M. +34 607814276
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On mar, 2009-06-23 at 12:21 -0700, Dianne Hackborn wrote:
>
> > Sorry, there is no way to do this.
> >
> > On Mon, Jun 22, 2009 at 1:32 PM, N0m0r3l13s
> > <[email protected]> wrote:
> >
> >
> > Hi all,
> >
> > I'm just doing an application that controls who to
> > call and how many
> > rings let the call do. For example, to not wake up
> > someone in the
> > morning we only do 3 tones...
> >
> > I'm using the standard BroadcastReceiver method to
> > stop the call from
> > going out.
> >
> > I explain here for the people who want to do it,
> > also.
> >
> > [ Manifiest ]
> > 1.- You need enough permissions:
> > <uses-permission
> > android:name="android.permission.PROCESS_OUTGOING_CALLS" />
> > <uses-permission
> > android:name="android.permission.CALL_PHONE" />
> >
> > To make calls and process outgoing calls.
> >
> > 2.- You need a broadcast receiver that catches the
> > broadcast intent:
> >
> > <receiver
> > android:name=".receiver.PhoneOutgoingCallReceiver"
> > android:enabled="true" >
> > <intent-filter
> > android:priority="0">
> > <action
> > android:name="android.intent.action.NEW_OUTGOING_CALL" />
> > </intent-filter>
> > </receiver>
> >
> > [ Code ]
> >
> > 3.- You controls who can call in the:
> >
> > @Override
> > public void onReceive(Context context, Intent
> > intent) {
> >
> > }
> >
> > 4.- If you don't want to let any call go out you
> > can:
> >
> > @Override
> > public void onReceive(Context context, Intent
> > intent) {
> > setResultData(null);
> > }
> >
> > 5.- Use the to get the call information.
> >
> > Bundle extras = intent.getExtras();
> >
> > for(Iterator<String>
> > it=extras.keySet().iterator(); it.hasNext();)
> > {
> > String key =
> > it.next();
> >
> > Log.d(LOG_TAG, key);
> >
> > Log.d(LOG_TAG, "Value: " + extras.getString(key));
> > }
> >
> > BUT!
> >
> > With this I can only censure calls, can't control
> > how many time the
> > ring sounds.
> >
> > the question is:
> >
> >
> > How can I delay a little bit the call cancellation?
> >
> > I want to make it sound, for example, 3 seconds and
> > then hang up.
> >
> > Thank you all!
> >
> >
> >
> >
> >
> >
> > --
> > Dianne Hackborn
> > Android framework engineer
> > [email protected]
> >
> > Note: please don't send private questions to me, as I don't
> > have time to provide private support, and so won't reply to
> > such e-mails. All such questions should be posted on public
> > forums, where I and others can see and answer them.
> >
> >
> >
> >
>
>
>
>
>
>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support, and so won't reply to such e-mails. All
> such questions should be posted on public forums, where I and others
> can see and answer them.
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
<<inline: yo-48x48-bw.jpg>>
<<attachment: yo-48x48-bw.jpg>>

