| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| Copyright 2014 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>BluetoothChat</name> |
| <group>Connectivity</group> |
| <package>com.example.android.bluetoothchat</package> |
| |
| <!-- change minSdk if needed--> |
| <minSdk>11</minSdk> |
| |
| <!-- Include additional dependencies here.--> |
| <!-- dependency>com.google.android.gms:play-services:5.0.+</dependency --> |
| |
| <strings> |
| <intro> |
| <![CDATA[ |
| This application allows two Android devices to carry out two-way text chat over |
| Bluetooth. It demonstrates all the fundamental Bluetooth API capabilites, such as: |
| (1) Scanning for other Bluetooth devices |
| (2) Querying the local Bluetooth adapter for paired Bluetooth devices |
| (3) Establishing RFCOMM channels/sockets |
| (4) Connecting to a remote device |
| (5) Transfering data over Bluetooth |
| ]]> |
| </intro> |
| </strings> |
| |
| <!-- The basic templates have already been enabled. Uncomment more as desired. --> |
| <template src="base" /> |
| <template src="FragmentView" /> |
| |
| <!-- Include common code modules by uncommenting them below. --> |
| <common src="logger" /> |
| <common src="activities"/> |
| </sample> |