aboutsummaryrefslogtreecommitdiff
path: root/connectivity/bluetooth
AgeCommit message (Collapse)Author
2017-05-17Increment Gradle version to 3.4.1 for all samplesTrevor Johns
Test: gradlew assembleDebug Change-Id: Ifd6ac37af5fff607c1a83056f2f4100ab68c3240
2017-03-22Cleanup template-params.xml files for all projectsTrevor Johns
- Remove references to N Preview - Change statuses from DRAFT to PUBLISHED Test: manual Change-Id: I4cd302fb133f5f3e3f4f690397e0375e273ac1a1
2017-03-17BluetoothAdvertisements: Update for background service restrictionsTrevor Johns
Ensure that background advertisement service is running as a foreground service so that it is exempt from background service execution limits. Test: manual Bug: 35451065 Change-Id: I911bb3c3c1e097f3d27d11cf83aa152f01116e97
2016-12-20BluetoothChat: Clean up codeYuichi Araki
am: ae9c44ad7c Change-Id: Ied510c41a38f51d1fa9cfa2f03f80aed953ac67c
2016-12-20Various updates and fixessirmordred
am: 6a3afe1cd3 Change-Id: I6c060dceb271770abf9dfd1ce91c6e24c39f555a
2016-12-19BluetoothChat: Clean up codeYuichi Araki
This is a follow-up CL for Iae5412832205ee13894aa6ba3c786652155e23f2 Change-Id: Iccc98dc16bdfaf1d31d479e363d7070ff729cd5e
2016-12-19Various updates and fixessirmordred
https://github.com/googlesamples/android-BluetoothChat/pull/9 BluetoothChatService: Robustify connection states * Declare connection states within methods instead of before nor after method * States should be called immediately after creating sockets && before running thread * Fixes race condition and restore two-way chat again BluetoothChatService: Update setState method * Connection state changes are handled externally(mState) now * So rename setState method to updateUserInterfaceTitle method BluetoothChatService: Remove unnecessary calls * BluetoothChatService.this.start() is already declared in connectionLost() method BluetoothChatService: Set connection state after failure * and update the UI title Change-Id: Iae5412832205ee13894aa6ba3c786652155e23f2
2016-12-19Corrected typo in word deviceVerdi R-D
https://github.com/googlesamples/android-BluetoothChat/pull/11 Change-Id: I82d5a69654444c8a765e3bc80cf97e191d379b5c
2016-12-13Clarified the length of time that a device is discoverableKevin Hufnagle
Change-Id: I41c21f77ce9bbe1a26967ef4b60b3c3d9fe24599
2016-09-28Syncing template-generated build artifactsTrevor Johns
Change-Id: I2f782966a41e36c47025e33f80c6f6df16d7299a
2016-09-28Update Gradle wrapper to v2.14.1Trevor Johns
Change-Id: I276f36356c62c4b472cae9eff4be4ab47bbde2ff
2016-08-11Update samples to use API 24Trevor Johns
Template output to update samples to use API 24 instead off 'N'. (Includes manual changes to MultiWindowPlayground.) Also any supplamentary changes to templates that haven't been checked in, since we don't usually check in template output. Change-Id: Id16ec84fddcbf6b11218aaf22475413b156449bd
2016-04-11Resolve merge conflicts of f091104 to nyc-devTrevor Johns
Change-Id: Ie5a6e3a472784605577c00d06ac0abf798deb8e1
2016-03-08Set Gradle wrapper to v2.10 for all samplesTrevor Johns
Change-Id: I9e5d292d218d34c6fbb2c889a43dc375bd4a9f59
2016-01-21BluetoothChat: Fix crash on disconnectionVitaly Chekryzhev
https://github.com/googlesamples/android-BluetoothChat/pull/1 Update BluetoothChatService.java Read input stream only when connection established. Otherwise there will be exceptions on disconnection and disconnection when program finish. Change-Id: I4fb93cee93c271d2159c7811a83474699eb3ae0b
2016-01-07Update Gradle Wrapper version to 2.8Trevor Johns
Change-Id: Idaf1e221cbe0cb66e89e833b170e43315ed39803
2015-10-01Update gradle wrapper to v2.5Trevor Johns
Change-Id: I2824a6ff305b052ead3e88b0f55aa97dc6d686d7
2015-10-01Update gradle wrapper to v2.4Trevor Johns
Change-Id: I3aaf5e6951ef9606f1c3a3395ffe200f36acac31
2015-08-14Merge "Update sample prebuilts to use latest deps" into mnc-devTrevor Johns
2015-08-14Update sample prebuilts to use latest depsTrevor Johns
Pulling in dependency changes from //developers/build commit 5d58bc4802 Change-Id: I66d3c35f03cf0eca6463d22fdb9471f4e4a1dc0a
2015-08-14am 4cc52927: am 84544467: am 6ece77b7: Add Material icon to BTAds sampleClare Bayley
* commit '4cc529274f65e29ecc7eaeb015185a441facdcd9': Add Material icon to BTAds sample
2015-08-14am ff6116e9: am 4b43840d: am e3bc8d8f: Update BTAds sample to use a service ↵Clare Bayley
for advertising * commit 'ff6116e92fc48e712479c87c6c5d6c95b0b2c3bf': Update BTAds sample to use a service for advertising
2015-08-13Update sample templates for android-23 releaseTrevor Johns
Converted "android-MNC" build target references (including min/compile) to use "23" instead, to correspond with recent SDK builds. Includes source file refresh. Change-Id: I441aba7b50d16179cc231531e6aeffd108cdd404
2015-07-28Add Material icon to BTAds sampleClare Bayley
Change-Id: Idc0aab2f94e3acbf98ddfc93f081ddbf46b1282a
2015-07-08Update BTAds sample to use a service for advertisingClare Bayley
The BluetoothAdvertisements sample originally did BT advertising in the main fragment, which meant (for memory leak reasons) it would only advertise when the app was visible on the screen. Now it uses a service, yay! Change-Id: I08c860d228c857099b835b340dc21e8e265e80c5
2015-05-26Add missing license headers to java files in BtAds sampleClare Bayley
Change-Id: I4671a820e7651f1ecad2d5e4be53d6d00e7578dd
2015-05-05Add missing already_scanning stringClare Bayley
Change-Id: I87f97a60ab88b5b2be8cd66394ae532b5ad648d6
2015-04-07New BLE Advertisements SampleClare Bayley
Change-Id: I144987adf2739d0fbc68ad87380518680eedfa6e
2014-12-12metadata added for sample BluetoothChatNatalie Masse
Change-Id: I20acb2f723ebee12cde4c8d60413fbae9ba8fc0e
2014-12-05Merge "Updates metadata for BluetoothLegatt sample." into lmp-docsJose Alcerreca
2014-12-04Updates metadata for BluetoothLegatt sample.Jose Alcerreca
Change-Id: I04aa8b3eea85d5f675c90b4e35fce2720113c9c2
2014-12-03Bump the gradlew version. (only BluetoothChat wasn't updated)Takeshi Hagikura
follow up on this CL https://googleplex-android-review.git.corp.google.com/#/c/596767/ Change-Id: Ib20107b5deaacd35a456739a0dc94997aec0569e
2014-12-02Update build dependencies for Android Studio 1.0 RC1Trevor Johns
- Use Gradle version v2.2.1 Change-Id: I3a49b3b89e7cb0a66288ebb1841314109db29fdb
2014-10-16Remove additional <uses-sdk> instancesTrevor Johns
Second pass to find additional instances of <uses-sdk> in AndroidManifest.xml that weren't found in commit '23a2c44d'. Change-Id: I35fd2f955c2c6f3137ee20b28e8be04e9a975394
2014-10-14Remove <uses-sdk> block from all samplesTrevor Johns
This value is now automatically merged in from build.gradle (which is managed by template-params.xml). Removing it prevents conflicts in the event uses-sdk doesn't match properly. Change-Id: Icbe4aabac366a26a326cfa2ecd2cb57192634a1a
2014-09-12BluetoothChat: Fix crash on screen rotation.Yuichi Araki
Change-Id: Iea68505414b331b83e8c36473d7fab92a335a5b3
2014-09-10Merge "Add README and related files for distribution" into klp-modular-docsTrevor Johns
2014-09-08Merge "BluetoothChat: Porting from legacy directory." into klp-modular-docsYuichi Araki
2014-09-05Add Wear sample and rename other samples modulesRenato Mangini
- Renamed all sample modules from <sampleDir>/<SampleName>Sample to <sampleDir>Application in order to support multi-module samples. - Add a Wear SynchronizedNotification sample Change-Id: I6141df5f3b161a81f389c532f2f9a67a8fe2d525
2014-09-02BluetoothChat: Porting from legacy directory.Yuichi Araki
Change-Id: I7d7b39f6cefdf7e3e40bdf1655df5a994af15f8a
2014-08-29Add README and related files for distributionTrevor Johns
Includes CONTRIB.md, LICENSE, and README.md to all samples for distribution through GitHub. Also adds packaging.yaml for all samples for indexing purposes. Change-Id: Ia1d27af059185c8aef324c07224e400484df17f3
2014-07-30update gradle from 1.10 to 1.12 in all samplesClare Bayley
Change-Id: I393063987d9c66e8aba6fb8e05f63313ff2d5a5d
2014-03-06Updated samples for Gradle 1.10Alexander Lucas
Change-Id: I1d5231c082938cb63553c96696fc0889f59b7f7a
2013-10-30Restore "Merge downstream branch 'developers-dev' into 'klp-dev'"Trevor Johns
This reverts commit ec985147ec781dfff9a229c6b794ee4eac0ced91.
2013-10-30Revert "Merge downstream branch 'developers-dev' into 'klp-dev'"Trevor Johns
Undoing recent merge to get a clean klp-dev samples release without template code. Will un-revert for followup release with templates after that build has been cut. This reverts commit bc6fe0f65025563ab50af193b099a8fca95ff0a2. Change-Id: Icd2b9772986de7c4978a92e7e22bb2c2cef20bd0
2013-10-29Updated all build.gradle files for emit* compatibility. Added index.jd to ↵Alexander Lucas
gitignore Change-Id: Icc1488eb3db924170cd905cb77416fdd5bd36112
2013-10-29Updated all samples with group categories.Alexander Lucas
Change-Id: I96847d1359fc9dcdb9bb2d0f30b4b95f3124d56f
2013-10-28Migrate BluetoothLeGatt sample to new build systemTrevor Johns
Convert BluetoothLeGatt sample to use new templatized build system for conformity with other samples. Change-Id: Ib8a5d7537702daff1197f657141005872c9b51db
2013-09-23Remove the build directory from samples/commonIan Ni-Lewis
Removing the build directory from samples/common in favor of platform/developers/build. Change-Id: I0f4fbba61669434fc441ffe3575e31f26c17ce15
2013-07-24Refactor and update sample build files to use SDK 18Trevor Johns
Moved buildscript to top-level project directories, for when we add additional modules later. Issue: 10002977 Change-Id: Ife4478e2381030878885cace27cfa10347883c31