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


This content was proof-read by Grammarly. You can Try Grammary for FREE

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 ?

try 
{  
    BandPendingResult<String> result = bandClient.getFirmwareVersion();
    String firmVersion = result.await();  
    result = bandClient.getHardwareVersion();  
    String hardwareVersion = result.await();    
}
catch(Exception ex)
{
    // Handle Exception
}
%d bloggers like this: