bump to v0.1
[andGMXsms.git] / connectors / example / AndroidManifest.xml
blob3392a967a015955005f8b7fda7e4471c65653837
1 <?xml version="1.0" encoding="utf-8"?>
2         <!--
3                 Copyright (C) 2009 Felix Bechstein
4         -->
5         <!--
6                 This file is part of AndGMXsms. This program is free software; you can
7                 redistribute it and/or modify it under the terms of the GNU General
8                 Public License as published by the Free Software Foundation; either
9                 version 3 of the License, or (at your option) any later version.
10         -->
11         <!--
12                 This program is distributed in the hope that it will be useful, but
13                 WITHOUT ANY WARRANTY; without even the implied warranty of
14                 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15                 General Public License for more details. You should have received a
16                 copy of the GNU General Public License along with this program; If
17                 not, see <http://www.gnu.org/licenses/>.
18         -->
19 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
20         package="com.yourcompany.android.exampleconnector" android:versionName="0.1"
21         android:versionCode="100">
22         <application android:label="@string/app_name" android:icon="@drawable/icon"
23                 android:debuggable="true">
25                 <!--
26                         This Activity is brought by the WebSMS Connector Plugin API. It shows
27                         a simple information about this connector when launching it via
28                         "open" button from android market.
29                 -->
30                 <activity android:name="de.ub0r.android.websms.connector.common.InfoActivity"
31                         android:label="@string/app_name" android:icon="@drawable/icon"
32                         android:theme="@android:style/Theme.Translucent.NoTitleBar">
33                         <intent-filter>
34                                 <action android:name="android.intent.action.MAIN" />
35                                 <category android:name="android.intent.category.INFO" />
36                         </intent-filter>
37                 </activity>
40                 <!-- Service doing all the IO. -->
41                 <service android:name="de.ub0r.android.websms.connector.common.ConnectorService"
42                         android:exported="false" />
44                 <activity android:name="Preferences">
45                         <intent-filter>
46                                 <action android:name="de.ub0r.android.websms.connectors.example.PREFS" />
47                                 <category android:name="android.intent.category.DEFAULT" />
48                         </intent-filter>
49                 </activity>
50                 <receiver android:name="com.yourcompany.android.exampleconnector.ConnectorExample"
51                         android:enabled="true" android:exported="true">
52                         <intent-filter>
53                                 <action android:name="de.ub0r.android.websms.connector.RUN_BOOTSTRAP" />
54                                 <action android:name="de.ub0r.android.websms.connector.RUN_UPDATE" />
55                                 <action android:name="de.ub0r.android.websms.connector.RUN_SEND" />
56                                 <action android:name="de.ub0r.android.websms.connector.UPDATE" />
57                         </intent-filter>
58                 </receiver>
59         </application>
60         <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="7" />
61         <supports-screen android:largeScreens="true"
62                 android:normalScreens="true" android:smallScreens="true"
63                 android:anyDensity="true" />
64         <uses-permission android:name="android.permission.INTERNET" />
65         <!-- WAKE_LOCK needed to make sure, sms are send even if user sends device to sleep. -->
66         <uses-permission android:name="android.permission.WAKE_LOCK" />
67 </manifest>