Hi all,
I'm makeing some test about Android permission with 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 any permission.

The problem is the phone dial the number but I didn't set any
permission. 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 [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