Home | History | Annotate | Download | only in DirectP2P
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 <!--
      3  Copyright 2013 The Android Open Source Project
      4 
      5  Licensed under the Apache License, Version 2.0 (the "License");
      6  you may not use this file except in compliance with the License.
      7  You may obtain a copy of the License at
      8 
      9      http://www.apache.org/licenses/LICENSE-2.0
     10 
     11  Unless required by applicable law or agreed to in writing, software
     12  distributed under the License is distributed on an "AS IS" BASIS,
     13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  See the License for the specific language governing permissions and
     15  limitations under the License.
     16 -->
     17 <sample>
     18     <name>DirectP2P</name>
     19     <group>Connectivity</group>
     20     <package>com.example.android.wifidirectp2p</package>
     21 
     22     <!-- change minSdk if needed-->
     23     <minSdk>14</minSdk>
     24 
     25     <!-- Include additional dependencies here.-->
     26     <!-- dependency>com.google.android.gms:play-services:5.0.+</dependency -->
     27 
     28     <strings>
     29         <intro>
     30            <![CDATA[
     31            This is a demo application highlighting how to make peer to peer network connections with
     32            the Wi-Fi Direct APIs.\n\nThe application allows you to transfer jpeg images from the
     33            gallery after a successful connection.
     34            The source code for this demo app shows how to accomplish three key things
     35            with Wi-Fi Direct APIs: Discovering peers, connecting using Wi-Fi Direct APIs, and
     36            finding group details post connection, so that a
     37            TCP socket can be opened to transfer files.\n
     38            If you are developing an application that uses the Wi-Fi Direct APIs, remember that the
     39            feature is supported only on Android 4.0 (API level 14) and higher versions of
     40            the platform.
     41            ]]>
     42         </intro>
     43     </strings>
     44 
     45     <template src="base" />
     46 
     47     <common src="logger" />
     48     <common src="activities"/>
     49     <metadata>
     50     <status>PUBLISHED</status>
     51     <categories>Connectivity</categories>
     52     <technologies>Android</technologies>
     53     <languages>Java</languages>
     54     <solutions>Mobile</solutions>
     55     <level>ADVANCED</level>
     56     <icon>screenshots/big_icon.png</icon>
     57     <screenshots>
     58         <img>screenshots/1-main.png</img>
     59         <img>screenshots/2-discovery.png</img>
     60         <img>screenshots/3-client.png</img>
     61     </screenshots>
     62     <api_refs>
     63         <android>android.net.wifi.p2p.WifiP2pManager</android>
     64         <android>android.net.wifi.p2p.WifiP2pDevice</android>
     65         <android>android.net.wifi.p2p.WifiP2pConfig</android>
     66     </api_refs>
     67     <description>
     68 <![CDATA[
     69 Sample demonstrating the use of Wi-Fi Direct APIs for communication available on Android 4.0 (API level 14) and higher.
     70 Shows the use of the Peer to Peer APIs to set up bi-directional connectivity between two devices
     71 to send an image.
     72 ]]>
     73     </description>
     74     <intro>
     75 <![CDATA[
     76 This is a demo application highlighting how to make peer to peer network connections with 
     77 the Wi-Fi Direct APIs.\n\nThe application allows you to transfer jpeg images from the 
     78 gallery after a successful connection.
     79 
     80 The source code for this demo app shows how to accomplish three key things 
     81 with Wi-Fi Direct APIs: Discovering peers, connecting using Wi-Fi Direct APIs, and 
     82 finding group details post connection, so that a TCP socket can be opened to transfer files. 
     83 
     84 If you are developing an application that uses the Wi-Fi Direct APIs, remember that the 
     85 feature is supported only on Android 4.0 (API level 14) and higher versions of 
     86 the platform.
     87 ]]>
     88     </intro>
     89 </metadata>
     90 </sample>
     91