• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3    package="com.example.android.wifidirect.discovery"
4    android:versionCode="1"
5    android:versionName="1.0" >
6
7    <!-- runtime permission check API is on Android 6.0 or higher -->
8    <uses-sdk android:minSdkVersion="23" />
9    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
10    <uses-permission android:name="android.permission.CHANGE_WIFI_STATE" />
11    <uses-permission android:name="android.permission.CHANGE_NETWORK_STATE" />
12    <uses-permission android:name="android.permission.INTERNET" />
13    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
14    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
15    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
16    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
17
18    <!-- Google Play filtering -->
19    <uses-feature android:name="android.hardware.wifi.direct" android:required="true"/>
20
21    <application
22        android:icon="@drawable/ic_launcher"
23        android:label="@string/app_name" >
24        <activity
25            android:name=".WiFiServiceDiscoveryActivity"
26            android:label="@string/app_name"
27            android:screenOrientation="portrait">
28            <intent-filter>
29                <action android:name="android.intent.action.MAIN" />
30                <category android:name="android.intent.category.LAUNCHER" />
31            </intent-filter>
32        </activity>
33    </application>
34
35</manifest>
36