<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="adil.SMC.KUST" android:versionCode="1" android:versionName="1.0" > <uses-permission android:name="android.permission.CALL_PHONE"/> <uses-permission android:name="android.permission.GET_ACCOUNTS"/> <uses-permission android:name="android.permission.CALL_PRIVILEGED"/> <application android:allowBackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme" > <activity android:name=".SplashScreen" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> <activity android:name="android.intent.action.CALL_PRIVILEGED" > <intent-filter> <action android:name="android.intent.action.CALL_PRIVILEGED" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter> </activity> </application> </manifest>
Intent callIntent = new Intent("android.intent.action.CALL_PRIVILEGED"); callIntent.setData(Uri.parse("tel:" + "03401933560")); startActivity(callIntent);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)