I wrote the Uri parse different: Intent callIntent = new Intent(Intent.ACTION_CALL, Uri.parse("tel:" + NUMBER));
NUMBER is a constant with the new number to dial. On Fri, Jan 8, 2010 at 3:43 PM, Alejandro D. Garin <aga...@gmail.com> wrote: > Hi Gulfam, > > I'm doing exactly the same and it's working, at least in the emulator. And > using sdk 2.0 api 6. > > This are my android permissions: > > <uses-permission > android:name="android.permission.RECEIVE_BOOT_COMPLETED" /> > <uses-permission > android:name="android.permission.PROCESS_OUTGOING_CALLS" /> > <uses-permission android:name="android.permission.CALL_PHONE"/> > <uses-permission android:name="android.permission.READ_PHONE_STATE"/> > <uses-permission android:name="android.permission.CALL_PRIVILEGED"/> > <uses-permission android:name="android.permission.INTERNET"/> > > On Fri, Jan 8, 2010 at 3:36 PM, Gulfam <gulfa...@gmail.com> wrote: > >> Hi Alejandro D. Garin, >> >> Reintiating call means when i setResultData(null); and after this i >> want to call at new number >> as >> Intent DialIntent = new Intent >> (Intent.ACTION_CALL,Uri.parse(3224005421));/**local number >> DialIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); >> context.startActivity(DialIntent); >> >> Its not initiating call now. any help???????????? >> >> Thanks for your reply. >> Gulfam Hassan >> >> On Jan 8, 9:16 pm, "Alejandro D. Garin" <aga...@gmail.com> wrote: >> > Hi, >> > >> > What do you mean with "not reinitiating the call" ? >> > >> > On Fri, Jan 8, 2010 at 4:07 AM, Gulfam <gulfa...@gmail.com> wrote: >> > > Hi , >> > >> > > I was aborting BroadCastReceiver using abortBroadcast(); method. >> > > Its working fine with 1.0 to 1.6 but on 2.0 or + its not working. I >> > > have checked the documentation that is also same in 1.0 and 2.0 but in >> > > 2.0+sdk's abortBroadCast(); method is not aborting broadcast on out >> > > going calls . I have use also setResultData(null) method its >> > > aborting the broadcast but not reinitiating the call. Any solution >> > > plzzzz ?????????????????? >> > >> > > Best Regards, >> > > Gulfam Hassan >> >> -- >> 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<android-developers%2bunsubscr...@googlegroups.com> >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > >
-- 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