-
Notifications
You must be signed in to change notification settings - Fork 5
/
AndroidManifest.xml
90 lines (79 loc) · 3.47 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.twobuntu.twobuntu"
android:installLocation="auto"
android:versionCode="14"
android:versionName="1.1.7" >
<!-- This app will only run on Android 4.x+. -->
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />
<!-- We require permission to retrieve files from the Internet
and to be notified when the system boots. We also need to
use the vibrator if the user wishes to enable it later. -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
<uses-permission android:name="android.permission.VIBRATE" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:logo="@drawable/ic_logo"
android:name=".TwobuntuApplication"
android:theme="@style/AppTheme" >
<!-- Displays a list of articles. -->
<activity
android:name=".ArticleListActivity" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<!-- Displays an individual article. -->
<activity
android:name=".ArticleDetailActivity"
android:parentActivityName=".ArticleListActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".ArticleListActivity" />
<!--
This is not functional yet.
<intent-filter>
<data android:scheme="http"
android:host="2buntu.com" />
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
-->
</activity>
<!-- Displays comments for an article. -->
<activity
android:name=".ArticleCommentsActivity"
android:parentActivityName=".ArticleDetailActivity" >
<meta-data
android:name="android.support.PARENT_ACTIVITY"
android:value=".ArticleDetailActivity" />
</activity>
<!-- Displays configurable settings. -->
<activity
android:name=".SettingsActivity"
android:label="@string/activity_settings"
android:theme="@style/SettingsTheme" >
</activity>
<!-- Periodically updates the articles in the database. -->
<service android:name="com.twobuntu.service.UpdateService" />
<!-- A receiver for boot broadcast events. -->
<receiver
android:name="com.twobuntu.service.BootReceiver" >
<intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
<!-- A content provider for article information. -->
<provider
android:name="com.twobuntu.db.ArticleProvider"
android:authorities="com.twobuntu.articleprovider"
android:exported="false" />
</application>
</manifest>