Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
pain/svn/pristine/26/266f1d96a5236b93c760805cb41ca3d562826cec.svn-base@0:832122ce6748, 2021-04-07 (annotated)
- Committer:
- darienf
- Date:
- Wed Apr 07 22:37:59 2021 +0000
- Revision:
- 0:832122ce6748
painnie
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
darienf | 0:832122ce6748 | 1 | <?xml version="1.0" encoding="utf-8"?><!-- |
darienf | 0:832122ce6748 | 2 | Copyright 2013 The Android Open Source Project |
darienf | 0:832122ce6748 | 3 | |
darienf | 0:832122ce6748 | 4 | Licensed under the Apache License, Version 2.0 (the "License"); |
darienf | 0:832122ce6748 | 5 | you may not use this file except in compliance with the License. |
darienf | 0:832122ce6748 | 6 | You may obtain a copy of the License at |
darienf | 0:832122ce6748 | 7 | |
darienf | 0:832122ce6748 | 8 | http://www.apache.org/licenses/LICENSE-2.0 |
darienf | 0:832122ce6748 | 9 | |
darienf | 0:832122ce6748 | 10 | Unless required by applicable law or agreed to in writing, software |
darienf | 0:832122ce6748 | 11 | distributed under the License is distributed on an "AS IS" BASIS, |
darienf | 0:832122ce6748 | 12 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
darienf | 0:832122ce6748 | 13 | See the License for the specific language governing permissions and |
darienf | 0:832122ce6748 | 14 | limitations under the License. |
darienf | 0:832122ce6748 | 15 | --> |
darienf | 0:832122ce6748 | 16 | <manifest xmlns:android="http://schemas.android.com/apk/res/android" |
darienf | 0:832122ce6748 | 17 | package="com.example.android.bluetoothlegatt" |
darienf | 0:832122ce6748 | 18 | android:versionCode="1" |
darienf | 0:832122ce6748 | 19 | android:versionName="1.0"> |
darienf | 0:832122ce6748 | 20 | |
darienf | 0:832122ce6748 | 21 | <!-- Min/target SDK versions (<uses-sdk>) managed by build.gradle --> |
darienf | 0:832122ce6748 | 22 | |
darienf | 0:832122ce6748 | 23 | |
darienf | 0:832122ce6748 | 24 | <!-- |
darienf | 0:832122ce6748 | 25 | Declare this required feature if you want to make the app available to BLE-capable |
darienf | 0:832122ce6748 | 26 | devices only. If you want to make your app available to devices that don't support BLE, |
darienf | 0:832122ce6748 | 27 | you should omit this in the manifest. Instead, determine BLE capability by using |
darienf | 0:832122ce6748 | 28 | PackageManager.hasSystemFeature(FEATURE_BLUETOOTH_LE) |
darienf | 0:832122ce6748 | 29 | --> |
darienf | 0:832122ce6748 | 30 | <uses-feature |
darienf | 0:832122ce6748 | 31 | android:name="android.hardware.bluetooth_le" |
darienf | 0:832122ce6748 | 32 | android:required="true" /> |
darienf | 0:832122ce6748 | 33 | |
darienf | 0:832122ce6748 | 34 | <uses-permission android:name="android.permission.BLUETOOTH" /> |
darienf | 0:832122ce6748 | 35 | <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> |
darienf | 0:832122ce6748 | 36 | |
darienf | 0:832122ce6748 | 37 | <application |
darienf | 0:832122ce6748 | 38 | android:icon="@drawable/ic_launcher" |
darienf | 0:832122ce6748 | 39 | android:label="@string/app_name" |
darienf | 0:832122ce6748 | 40 | android:theme="@android:style/Theme.Holo.Light"> |
darienf | 0:832122ce6748 | 41 | <activity |
darienf | 0:832122ce6748 | 42 | android:name=".DeviceScanActivity" |
darienf | 0:832122ce6748 | 43 | android:label="@string/app_name"> |
darienf | 0:832122ce6748 | 44 | <intent-filter> |
darienf | 0:832122ce6748 | 45 | <action android:name="android.intent.action.MAIN" /> |
darienf | 0:832122ce6748 | 46 | |
darienf | 0:832122ce6748 | 47 | <category android:name="android.intent.category.LAUNCHER" /> |
darienf | 0:832122ce6748 | 48 | </intent-filter> |
darienf | 0:832122ce6748 | 49 | </activity> |
darienf | 0:832122ce6748 | 50 | <activity |
darienf | 0:832122ce6748 | 51 | android:name=".SensorActivity" |
darienf | 0:832122ce6748 | 52 | android:label="SensorActivity" |
darienf | 0:832122ce6748 | 53 | android:screenOrientation="portrait"></activity> |
darienf | 0:832122ce6748 | 54 | |
darienf | 0:832122ce6748 | 55 | <service |
darienf | 0:832122ce6748 | 56 | android:name=".BluetoothLeService" |
darienf | 0:832122ce6748 | 57 | android:enabled="true" /> |
darienf | 0:832122ce6748 | 58 | |
darienf | 0:832122ce6748 | 59 | </application> |
darienf | 0:832122ce6748 | 60 | |
darienf | 0:832122ce6748 | 61 | </manifest> |