My ports can be found at:
- BandCustomPagesSwift - sending barcode pages to a Microsoft Band.
- BandNotificationSwift - sending notifications to a Microsoft Band.
- BandPersonalizationSwift - updating the Me Tile Image on a Microsoft Band.
- BandRegisterNotificationSwift - registering local notifications for your custom tile on the Microsoft Band which allows you to have ANCS notifications go to your Band's tile.
- BandSensorSwift - subscribing to the accelerometer sensor of a Microsoft Band.
- BandTileEventSwift - registering for tile events such as open/close tile and button events of your tile on a Microsoft Band.
- SendHapticSwift - sending a haptic (vibration) to a Microsoft Band.
8 comments:
Mark - Have you seen issues subscribing to the contact sensor in iOS? I am doing this in Swift and I am unable to return results when using this sensor. All other sensors work ask expected in my code. Any help would be appreciated!
Currently, the sensor contact returns state changes only. So if the band is on or off the wrist it will not send an event until the state changes, that is, the band is removed or put back on.
Hi Mark, I'm very new to Swift and the Microsoft band. Is it possible to pair the iOS Simulator to a physical Microsoft Band?
Hi Lauren,
No, it is not possible to pair the iOS Simulator to a physical Microsoft Band. You need to run on a real iOS device.
MT
I'm currently trying to use the BandSensorSwift but with swift 2.0 and i am not able to correct all the errors that appear. Also, do you know how can i fetch the value of the heart rate sensor? Thanks
I just converted the latest (Dec 22, 2015) Microsoft Band Kit for iOS BandHeartRate sample over to Swift 2.1. As I have time I will look at converting others but for now I have only converted the Heart Rate sample.
The new sample is called BSwiftHeartRate. Direct link is here: https://github.com/mthistle/MicrosoftBandKit_iOS-Swift2.2/tree/master/BandSensor/BSwiftHeartRate
Let me know if it works for you.
I just built and compiled it with Xcode 7.2.1.
I wondered upon your blog and wanted to say that I have really enjoyed reading your blog posts. Any way I’ll be subscribing to your feed and I hope you post again soon.
Texting API
Text message marketing
Digital Mobile Marketing
Mobile Marketing Services
Mobile marketing companies
Fitness SMS
Post a Comment