<?xml version="1.0" encoding="UTF-8"?>
<!--
 Copyright 2013 The Android Open Source Project

 Licensed under the Apache License, Version 2.0 (the "License");
 you may not use this file except in compliance with the License.
 You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

 Unless required by applicable law or agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
-->
<sample>
    <name>DirectP2P</name>
    <group>Connectivity</group>
    <package>com.example.android.wifidirectp2p</package>

    <!-- change minSdk if needed-->
    <minSdk>14</minSdk>

    <!-- Include additional dependencies here.-->
    <!-- dependency>com.google.android.gms:play-services:5.0.+</dependency -->

    <strings>
        <intro>
           <![CDATA[
           This is a demo application highlighting how to make peer to peer network connections with
           the Wi-Fi Direct APIs.\n\nThe application allows you to transfer jpeg images from the
           gallery after a successful connection.
           The source code for this demo app shows how to accomplish three key things
           with Wi-Fi Direct APIs: Discovering peers, connecting using Wi-Fi Direct APIs, and
           finding group details post connection, so that a
           TCP socket can be opened to transfer files.\n
           If you are developing an application that uses the Wi-Fi Direct APIs, remember that the
           feature is supported only on Android 4.0 (API level 14) and higher versions of
           the platform.
           ]]>
        </intro>
    </strings>

    <template src="base" />

    <common src="logger" />
    <common src="activities"/>
    <metadata>
    <status>PUBLISHED</status>
    <categories>Connectivity</categories>
    <technologies>Android</technologies>
    <languages>Java</languages>
    <solutions>Mobile</solutions>
    <level>ADVANCED</level>
    <icon>screenshots/big_icon.png</icon>
    <screenshots>
        <img>screenshots/1-main.png</img>
        <img>screenshots/2-discovery.png</img>
        <img>screenshots/3-client.png</img>
    </screenshots>
    <api_refs>
        <android>android.net.wifi.p2p.WifiP2pManager</android>
        <android>android.net.wifi.p2p.WifiP2pDevice</android>
        <android>android.net.wifi.p2p.WifiP2pConfig</android>
    </api_refs>
    <description>
<![CDATA[
Sample demonstrating the use of Wi-Fi Direct APIs for communication available on Android 4.0 (API level 14) and higher.
Shows the use of the Peer to Peer APIs to set up bi-directional connectivity between two devices
to send an image.
]]>
    </description>
    <intro>
<![CDATA[
This is a demo application highlighting how to make peer to peer network connections with 
the Wi-Fi Direct APIs.\n\nThe application allows you to transfer jpeg images from the 
gallery after a successful connection.

The source code for this demo app shows how to accomplish three key things 
with Wi-Fi Direct APIs: Discovering peers, connecting using Wi-Fi Direct APIs, and 
finding group details post connection, so that a TCP socket can be opened to transfer files. 

If you are developing an application that uses the Wi-Fi Direct APIs, remember that the 
feature is supported only on Android 4.0 (API level 14) and higher versions of 
the platform.
]]>
    </intro>
</metadata>
</sample>