On Fri, Jul 2, 2010 at 6:11 PM, alex.tchumel <[email protected]> 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/commonsguy
http://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 [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

Reply via email to