aboutsummaryrefslogtreecommitdiff
path: root/connectivity
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-22Updated NetworkConnect to not leak Activity in AsyncTask. Also: * Persist ↵Douglas Sigelbaum
through config changes. * Fixed LINT errors. * Refactored and removed unused code. * Switched to TextView instead of Log fragment. * Switched to HTTPS connection. * Check for connectivity before network request. am: 5e8b90d2e8 Change-Id: I0c70f8219c1f0586d3454db77bf63a54792cb445
2016-12-21Updated NetworkConnect to not leak Activity in AsyncTask. Also:Douglas Sigelbaum
* Persist through config changes. * Fixed LINT errors. * Refactored and removed unused code. * Switched to TextView instead of Log fragment. * Switched to HTTPS connection. * Check for connectivity before network request. Change-Id: I7f941275ab40179a7652cf4f28565e1ba24948d6
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-06-15samples: Bump minSdk for BasicNetworkingTrevor Johns
Minimum SDK level for this sample now needs to be 7, for compatibility with support libs. Change-Id: I5f29ac42b95ffbf143a68c4b2d308e65db3546c7
2016-06-15samples: Remove BasicSyncAdapter's attrs.xml fileTrevor Johns
This file was declaring a duplicate style (?indeterminateProgressStyle) which was conflicting with the support lib. Change-Id: Ifc9630592da9c9cdc4565d7a6d701457aa062420
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-07am 0a980178: am ad9ed1c9: New BLE Advertisements SampleClare Bayley
* commit '0a980178c908e4e3f224334a039d835ae55ce674': New BLE Advertisements Sample
2015-04-07New BLE Advertisements SampleClare Bayley
Change-Id: I144987adf2739d0fbc68ad87380518680eedfa6e
2015-04-02Fix broken tests for P2PDirect sampleTakeshi Hagikura
Change-Id: Icdee514941d469631e9b111f3435f4366eb99fcd
2015-03-30Update BeamLargeFiles/build.gradle to fix null output dirTrevor Johns
The build.gradle file for BeamLargeFiles wasn't importing the template engine dependencies, so it wasn't setting any of the build variables that should've been set. This was causing builds to get sent to a null directory, as well as causing emitGradleZip to go into an infinite loop. Change-Id: I640d67253003a450ed9b1e47243bc9ce08142b30
2015-03-26Port WifiDirect P2P sample to template system.Jan-Felix Schmakeit
Includes updates to styling and layout. Change-Id: Ia0a8fb5e886032401f7c2267a3e5bf25be57c87e
2015-03-25Merge "Updating metadata for NetworkConnect sample" into lmp-docsJoanna Smith
2015-03-24Add missing package name to BeamLargeFiles testsTrevor Johns
AndroidManifest.xml seemed to have an un-evaluated template variable. Bug: 19685387 Change-Id: I6a010f763baa37e8681e82d5526bb078d0670607
2015-03-24Add missing package name to CardEmulation testsTrevor Johns
AndroidManifest.xml seemed to have an un-evaluated template variable. Bug: 19685388 Change-Id: If52fa4e61a51228a60341f1363eec09aebcabb15
2015-03-16Fix feed update in SyncAdapterbashtian
Change-Id: Ic748b744ed2761a55b1d8ea6226ac83996dc7ddc
2015-03-11Fixes test code that don't compile.Takeshi Hagikura
- Removed the double license. - Removed non-existent classes such as ?????Fragment or ?????Activity which seemed to be created through the template but haven't been executed. - Changed the wrong index of the Fragment from 1 to 0. - Fixes the targetPackage name consistent with the application package. Change-Id: Id4e5924687ac2320f8ffc4319c4fbadd8523b42e
2015-03-09Remove double license for AndroidManifest.xml in testsTakeshi Hagikura
Change-Id: I3aba8d69cfa9a977e60904341fc2832bd96476e1
2015-01-14Updating metadata for NetworkConnect sampleJoanna Smith
Change-Id: I7f51d0911116e7ff317d2a1676d24c7757875f14
2014-12-12metadata added for sample BluetoothChatNatalie Masse
Change-Id: I20acb2f723ebee12cde4c8d60413fbae9ba8fc0e
2014-12-08Merge "Updates BasicNetworking sample metadata" into lmp-docsBenjamin Weiss
2014-12-08Updates BasicNetworking sample metadataBenjamin Weiss
Change-Id: Iecd858e645c4ae8e81511f20ddc2dc7c4b284353
2014-12-06Merge "Android BasicSyncAdapter sample: Update metadata." into lmp-docsArthur Thompson
2014-12-05Merge "Updates metadata for BluetoothLegatt sample." into lmp-docsJose Alcerreca
2014-12-04Android BasicSyncAdapter sample: Update metadata.Arthur Thompson
Change-Id: I595609129fb553cc1b8b219bf94b438e74dd9a59
2014-12-04Updates metadata for BluetoothLegatt sample.Jose Alcerreca
Change-Id: I04aa8b3eea85d5f675c90b4e35fce2720113c9c2