Microsoft Band and Android(Java) -Get the Version Information

Published on May 18, 2015 by Senthil Kumar

Filed under Java

Last modified May 18, 2015

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 9619 times

Below is a sample code snippet demonstrating how to get the version information from Microsoft Band using Java from android app.

How to Get Microsoft Band Version Information using Java in Android Application ?

    BandPendingResult<String> result = bandClient.getFirmwareVersion();
    String firmVersion = result.await();  
    result = bandClient.getHardwareVersion();  
    String hardwareVersion = result.await();    
catch(Exception ex)
    // Handle Exception

Leave a Comment


You might be Interested in these Posts

Best Android Game Stores

Are you looking for the best android game stores where you can download the games apart from the Goo...

How to hide virtual keyboard in android using Java?

There are times when you want to hide the virtual keyboard in android. You can easily do that using ...

Java - How to use Packages to organize code ?

Problem Statement You need to use packages in java to organize your code. Solution Your Java prog...