Hi,

Are you executing this is device or emulator...

If emulator there is no need of any permission. If you do the same in
the mobile you need to use the permission CALL_PHONE.

With out this you can't diala number.

Regards,
Raj

On Jan 22, 4:33 pm, Massimo Carli <ca...@massimocarli.it> wrote:
> Hi all,
> I'm makeing some test about Androidpermissionwith a very simple
> application. I'm launching this Intent
>
>        Uri callUri = Uri.parse("tel://12345678");
>        Intent callIntent = new Intent(Intent.ACTION_CALL,callUri);
>        callIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
>        startActivity(callIntent);
>
> and using this configuration file
>
> <?xml version="1.0" encoding="utf-8"?>
> <manifest xmlns:android="http://schemas.android.com/apk/res/android";
>      android:versionCode="1"
>      android:versionName="1.0.0"
> package="it.libroandroid.cap03.call">
>    <application android:icon="@drawable/icon" android:label="@string/
> app_name">
>        <activity android:name=".CallActivity"
>                  android:label="@string/app_name">
>            <intent-filter>
>                <action android:name="android.intent.action.MAIN" />
>                <category
> android:name="android.intent.category.LAUNCHER" />
>            </intent-filter>
>        </activity>
>    </application>
> </manifest>
>
> without anypermission.
>
> The problem is the phone dial the number but I didn't set anypermission. I 
> know something has changed in last release but.....
>
> Where's the trouble?
>
> Thankx
> Max
--~--~---------~--~----~------------~-------~--~----~
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