On Sun, Jul 4, 2010 at 4:49 AM, alex.tchumel <alex.tchu...@gmail.com> wrote:
> Activity can't be started from the service without
> FLAG_ACTIVITY_NEW_TASK flag.

Then do not start that activity from a service.

There better be a user using the device at the time the call needs to
be placed, and the user better be using one of your activities at the
time. In that case, have the service tell the activity to place the
call, without the FLAG_ACTIVITY_NEW_TASK flag.

To put this another way, if ACTION_CALL were broken on the Milestone,
there would probably already be complaints due to the flaw. Therefore,
it is more likely that ACTION_CALL is fine, and it is ACTION_CALL
combined with with FLAG_ACTIVITY_NEW_TASK that is not working, since
few developers (if any) are needing this.

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

Android Consulting: http://commonsware.com/consulting

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