Pages

Tuesday, May 12, 2015

Microsoft Band Kit: Swift Samples for iOS

I just finish posting the latest Swift ports of the Microsoft Band Kit SDK Samples for iOS. You can find the original Objective-C samples at http://developer.microsoftband.com/.

My ports can be found at:

8 comments:

  1. 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!

    ReplyDelete
  2. 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.

    ReplyDelete
  3. 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?

    ReplyDelete
  4. 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

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. 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

    ReplyDelete
  7. 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.

    ReplyDelete
  8. 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

    ReplyDelete