[android-developers] Re: Start ACTION_CALL activity from service on Motorola Milestone

2010-07-15 Thread alex.tchumel
Hi! I'm sorry, looks like the problem is not related with activity or service. I have this problem if I have a running MediaRecorder in my service or some binded service. The ACTION_CALL activity doesn't appear while the MediaRecorder is running! The ACTION_CALL activity appears right after that as

Re: [android-developers] Re: Start ACTION_CALL activity from service on Motorola Milestone

2010-07-04 Thread Mark Murphy
On Sun, Jul 4, 2010 at 4:49 AM, alex.tchumel 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 on

[android-developers] Re: Start ACTION_CALL activity from service on Motorola Milestone

2010-07-04 Thread alex.tchumel
Activity can't be started from the service without FLAG_ACTIVITY_NEW_TASK flag. Probably there is some alternative to this flag, but activity from the service doesn't started simple without this flag and without any other flag. Read about this flag here http://developer.android.com/guide/topics/fu

Re: [android-developers] Re: Start ACTION_CALL activity from service on Motorola Milestone

2010-07-03 Thread Mark Murphy
On Sat, Jul 3, 2010 at 5:54 AM, alex.tchumel wrote: > Could you say more about your idea - what kind of the flags can be > helpfull? Position the cursor of your editor at the end of the line containing you setFlags() call. Press the backspace key enough times to eliminate all characters on that

[android-developers] Re: Start ACTION_CALL activity from service on Motorola Milestone

2010-07-03 Thread alex.tchumel
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" activi