-
Notifications
You must be signed in to change notification settings - Fork 0
/
AndroidManifest.xml
54 lines (45 loc) · 2 KB
/
AndroidManifest.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.prtlfcalls"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="19"
android:targetSdkVersion="19" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<!-- Permiso para poder manejar el evento LISTEN_CALL_STATE -->
<!-- en el listen() de TelephonyManager. -->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<!-- Permiso para recibir el broadcast android.intent.action.NEW_OUTGOING_CALL -->
<uses-permission android:name="android.permission.PROCESS_OUTGOING_CALLS" />
<!-- Permiso para manejar la llamada (colgar, etc) -->
<uses-permission android:name="android.permission.MODIFY_PHONE_STATE" />
<uses-permission android:name="android.permission.CALL_PHONE" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="activity.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<receiver android:name="receivers.ServiceOnBootReceiver" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<receiver android:name="receivers.OutgoingCallReceiver" >
<intent-filter>
<action android:name="android.intent.action.NEW_OUTGOING_CALL" >
</action>
</intent-filter>
</receiver>
<service android:name="service.CallService" >
</service>
</application>
</manifest>