/
AndroidManifest.xml
60 lines (43 loc) · 2.28 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
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="at.zweng.smssenttimefix" android:versionCode="8" android:versionName="1.2">
<application android:icon="@drawable/ic_launcher" android:label="@string/app_name"
android:theme="@android:style/Theme.NoTitleBar">
<!-- Main activity, started from Launcher -->
<activity android:label="@string/app_name" android:name=".SmsSentTimeFixActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- preferences -->
<activity android:name=".SmsTimeFixPrefs"/>
<!-- debug settings -->
<activity android:name=".DebugSettingsActivity"/>
<!-- Receiver for incoming SMS messages -->
<receiver android:enabled="true" android:name=".SmsReceiver">
<intent-filter android:priority="2140000000">
<action android:name="android.provider.Telephony.SMS_RECEIVED" />
</intent-filter>
</receiver>
<!-- Service for fixing the date in SMS DB -->
<service android:enabled="true" android:name=".SmsTimeFixService"
android:label="@string/service_label" />
</application>
<!-- We want to be sure that everyone can use this application -->
<uses-sdk android:minSdkVersion="3" android:targetSdkVersion="9" />
<!-- We nedd permission to receive SMS (to get the sent time out of the
raw sms-data) -->
<uses-permission android:name="android.permission.RECEIVE_SMS"></uses-permission>
<!-- And we need permission to read and write the SMS database for finding
the message and changing the date -->
<uses-permission android:name="android.permission.READ_SMS"></uses-permission>
<uses-permission android:name="android.permission.WRITE_SMS"></uses-permission>
<!-- needed to write the debug logfile -->
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>
<!-- Also allow for devices without touch screen (otherwise would be added automatically) -->
<uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
<supports-screens android:smallScreens="true"
android:normalScreens="true" android:largeScreens="true"
android:anyDensity="true" android:xlargeScreens="true" />
</manifest>