1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- 3 Copyright 2014 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 18 <sample> 19 <name>BluetoothChat</name> 20 <group>Connectivity</group> 21 <package>com.example.android.bluetoothchat</package> 22 23 <!-- change minSdk if needed--> 24 <minSdk>11</minSdk> 25 26 <!-- Include additional dependencies here.--> 27 <!-- dependency>com.google.android.gms:play-services:5.0.+</dependency --> 28 29 <strings> 30 <intro> 31 <![CDATA[ 32 This application allows two Android devices to carry out two-way text chat over 33 Bluetooth. It demonstrates all the fundamental Bluetooth API capabilites, such as: 34 (1) Scanning for other Bluetooth devices 35 (2) Querying the local Bluetooth adapter for paired Bluetooth devices 36 (3) Establishing RFCOMM channels/sockets 37 (4) Connecting to a remote device 38 (5) Transfering data over Bluetooth 39 ]]> 40 </intro> 41 </strings> 42 43 <!-- The basic templates have already been enabled. Uncomment more as desired. --> 44 <template src="base" /> 45 <template src="FragmentView" /> 46 47 <!-- Include common code modules by uncommenting them below. --> 48 <common src="logger" /> 49 <common src="activities"/> 50 </sample> 51