Mobile-SDK-Android-V5
Mobile-SDK-Android-V5 copied to clipboard
Convert Feet to meter
How to change compass value from ft to m ,
Agent comment from yating.liao in Zendesk ticket #101031:
You need to modify the code of the AttitudeDashBoard control, below is the function that determines the unit to use. UnitUtils.UnitType.METRIC indicates the use of meters as the unit.
protected String getAttributeUnit() { return UnitUtils.getUintStrByLength(UnitUtils.isMetricUnits() ? UnitUtils.UnitType.METRIC : UnitUtils.UnitType.IMPERIAL);}
°°°
Thanks its working fine