Alexander Afanasyev | ddaa831 | 2015-01-27 16:33:45 -0800 | [diff] [blame] | 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
| 3 | package="net.named_data.nfd" > |
| 4 | |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 5 | <uses-permission android:name="android.permission.INTERNET" /> |
Alexander Afanasyev | a8d404b | 2016-11-05 10:07:08 -0600 | [diff] [blame] | 6 | <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/> |
| 7 | <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE"/> |
Haitao Zhang | 32232f5 | 2017-03-12 01:27:15 -0800 | [diff] [blame] | 8 | <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /> |
| 9 | <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" /> |
Alexander Afanasyev | 14fd3e2 | 2018-07-04 14:20:53 -0400 | [diff] [blame] | 10 | <uses-permission android:name="android.permission.CHANGE_WIFI_MULTICAST_STATE" /> |
Haitao Zhang | 32232f5 | 2017-03-12 01:27:15 -0800 | [diff] [blame] | 11 | <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" /> |
Lei Pi | c7ddbe5 | 2016-11-21 00:38:51 -0800 | [diff] [blame] | 12 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
Ju Pan | d1cdade | 2018-11-18 23:22:39 -0700 | [diff] [blame^] | 13 | <uses-permission android:name="android.permission.FOREGROUND_SERVICE" /> |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 14 | |
Alexander Afanasyev | ddaa831 | 2015-01-27 16:33:45 -0800 | [diff] [blame] | 15 | <application |
| 16 | android:allowBackup="true" |
Alexander Afanasyev | 3b249ec | 2015-09-10 23:32:49 -0700 | [diff] [blame] | 17 | android:icon="@drawable/nfd_app" |
Alexander Afanasyev | ddaa831 | 2015-01-27 16:33:45 -0800 | [diff] [blame] | 18 | android:label="@string/app_name" |
| 19 | android:theme="@style/AppTheme" > |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 20 | |
Alexander Afanasyev | ddaa831 | 2015-01-27 16:33:45 -0800 | [diff] [blame] | 21 | <activity |
Alexander Afanasyev | 937d3f4 | 2015-03-11 13:58:59 -0700 | [diff] [blame] | 22 | android:name=".MainActivity" |
Alexander Afanasyev | ddaa831 | 2015-01-27 16:33:45 -0800 | [diff] [blame] | 23 | android:label="@string/app_name" > |
Ivan Yeo | 432488f | 2015-02-02 19:35:23 -0800 | [diff] [blame] | 24 | <intent-filter> |
| 25 | <action android:name="android.intent.action.MAIN" /> |
| 26 | <category android:name="android.intent.category.LAUNCHER" /> |
| 27 | </intent-filter> |
Alexander Afanasyev | ddaa831 | 2015-01-27 16:33:45 -0800 | [diff] [blame] | 28 | </activity> |
Alexander Afanasyev | ddaa831 | 2015-01-27 16:33:45 -0800 | [diff] [blame] | 29 | |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 30 | <service |
Ivan Yeo | 6296dce | 2015-02-10 23:29:43 -0800 | [diff] [blame] | 31 | android:name=".service.NfdService" |
| 32 | android:process="net.named_data.nfd.service.NfdService" |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 33 | android:icon="@drawable/ic_launcher" |
| 34 | android:label="@string/service_name" |
| 35 | android:exported="true" > |
| 36 | <intent-filter> |
Ivan Yeo | 6296dce | 2015-02-10 23:29:43 -0800 | [diff] [blame] | 37 | <action android:name="net.named_data.nfd.START_NFD_SERVICE" /> |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 38 | </intent-filter> |
| 39 | </service> |
| 40 | |
Lei Pi | c7ddbe5 | 2016-11-21 00:38:51 -0800 | [diff] [blame] | 41 | <receiver |
| 42 | android:name="net.named_data.nfd.utils.ConnectivityChangeReceiver" |
| 43 | android:label="ConnectivityChangeReceiver" > |
| 44 | <intent-filter> |
| 45 | <action android:name="android.net.conn.CONNECTIVITY_CHANGE" /> |
| 46 | <action android:name="android.net.wifi.WIFI_STATE_CHANGED" /> |
| 47 | </intent-filter> |
| 48 | </receiver> |
| 49 | |
Haitao Zhang | 32232f5 | 2017-03-12 01:27:15 -0800 | [diff] [blame] | 50 | <service android:name="net.named_data.nfd.wifidirect.service.WDBroadcastReceiverService"/> |
Ivan Yeo | db0052d | 2015-02-08 17:27:04 -0800 | [diff] [blame] | 51 | </application> |
Alexander Afanasyev | ddaa831 | 2015-01-27 16:33:45 -0800 | [diff] [blame] | 52 | |
| 53 | </manifest> |