[android-developers] Re: How to initiate call

2008-05-16 Thread Charlie Collins
I have several applications that use the Intent and have the permission specified, they work fine. Putting that permission as a child of manifest, as you stated you did, works for me. . . . As to why I recommended one or the other (I did mention both), the IPhone interface is more difficult

[android-developers] Re: How to initiate call

2008-05-16 Thread Mark Murphy
Raja Nagendra Kumar wrote: > Thanks murphy.. I am now able to call in both the modes using intent > and also iphone interface. > Also, not getting the difference between dial and call methods. i.e > which one to be used when.. dial() takes a phone number and puts it on the Android Dialer scree

[android-developers] Re: How to initiate call

2008-05-16 Thread Raja Nagendra Kumar
Thanks murphy.. I am now able to call in both the modes using intent and also iphone interface. Charlie Collins, could you pl let me know why you did not recommend IPhone approach as this is seems to be simple api call as opposed to intent apporach.. Also, not getting the difference between dial

[android-developers] Re: How to initiate call

2008-05-16 Thread Mark Murphy
Raja Nagendra Kumar wrote: > Based on further hurisctic coding I did the following > > added the line (just below manifest tag in AndroidManifest.xml) file > That shouldn't be needed, if you use the technique I show below. > and used the code > > Intent dial = new Intent(); >

[android-developers] Re: How to initiate call

2008-05-16 Thread Raja Nagendra Kumar
The error is permission denial.. requires android.permission.CALL_PHONE etc.. How do I over come this.. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] Re: How to initiate call

2008-05-16 Thread Raja Nagendra Kumar
Charlie, Based on further hurisctic coding I did the following added the line (just below manifest tag in AndroidManifest.xml) file and used the code Intent dial = new Intent(); dial.setAction("android.intent.action.CALL"); dial.setDataAndType(Uri.parse("tel:23

[android-developers] Re: How to initiate call

2008-05-16 Thread Raja Nagendra Kumar
Hi Charlie, Thank you for the pointer.. However I am unable to understand the document w.r.t to how to use the same.. Is there any sample on how to make a call or how to open up a inbuilt browser would help.. Regards, Nagendra --~--~-~--~~~---~--~~ You received th

[android-developers] Re: How to initiate call

2008-05-08 Thread Charlie Collins
Check out the documentation more, and look at the samples that come with the SDK. There are several ways to initiate a phone call, the easiest is to use the correct Intent: http://code.google.com/android/reference/available-intents.html There is also phone.dial() (on the IPhone interface), but

[android-developers] Re: How to initiate call

2008-05-07 Thread Raja Nagendra Kumar
Any inputs pl.. --~--~-~--~~~---~--~~ 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 [EMAIL