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>BeamLargeFiles</name> 19 <group>Connectivity</group> 20 <package>com.example.android.beamlargefiles</package> 21 22 23 <!-- change minSdk if needed--> 24 <minSdk>16</minSdk> 25 26 <strings> 27 <intro> 28 <![CDATA[ 29 This sample demonstrates how to transfer large files via Android Beam. After the initial 30 handshake over NFC, file transfer will take place over a secondary high-speed 31 communication channel such as Bluetooth or WiFi Direct. 32 33 \n\nThis feature requires Android 4.1 (Jelly Bean) or above. Unlike traditional Beam, 34 your application will not receive an Intent on the receiving device. Instead, the system 35 will save the file to disk and display a notification that the user can select to open 36 the file using a standard ACTION_VIEW Intent. 37 ]]> 38 </intro> 39 </strings> 40 41 <template src="base"/> 42 <template src="SimpleView"/> 43 <common src="logger"/> 44 <common src="activities"/> 45 <common src="assetprovider"/> 46 47</sample> 48