Could you say more about your idea - what kind of the flags can be
helpfull?
Do you think an alternative to FLAG_ACTIVITY_NEW_TASK flag or some
additional flag(s) to FLAG_ACTIVITY_NEW_TASK?
I spent a lot of time to fix this problem without of understandig it :
(
I started a simple "launcher" activity from the service and started
ACTION_CALL from the it. But it also doesn't work. My "launcher"
activity is fine, but ACTION_CALL hangs up like from the service.
I sent a broadcast message from the service to my activity and started
ACTION_CALL from the it - not help - same bull...:(

I think that it can be solved after understanding - why it happens.
Probably the service should be running with some spesific
attribute(s)?
Probably it's a bug in InCallScreen activity?
May be you know where I can find sources of 2.1-update1 firmware?

Anyway, thank you very much!

On Jul 3, 9:26 am, Mark Murphy <mmur...@commonsware.com> wrote:
> On Fri, Jul 2, 2010 at 6:11 PM, alex.tchumel <alex.tchu...@gmail.com> wrote:
> > I have a problem with starting ACTION_CALL activity from my service on
> > Motorola Milestone after upgrade to 2.1 - update1 firmware version.
>
> > I have a very simple (worked before) code.
>
> > <code>
> > Intent dialIntent = new Intent(Intent.ACTION_CALL, Uri.parse("tel://"
> > + dialOutNumber));
> > dialIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
> > startActivity(dialIntent);
> > </code>
>
> Try getting rid of the setFlags() call and see if that helps.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|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

Reply via email to