[英]Import attribute values in the gimbal
Please inquire about the gimbal. 请咨询万向节。 In the gimbal place in the getValue continue to occur NullPointerException.
在getValue的万向节中,继续发生NullPointerException。 code below.
下面的代码。
placeEventListener = new PlaceEventListener() {
@Override
public void onVisitStart(Visit visit) {
String beaconName = visit.getPlace().getName();
try {
Toast.makeText(getApplicationContext(),
"KeyAll : " + visit.getPlace().getAttributes().getValue("X").toString(),
Toast.LENGTH_LONG).show();
}catch (Exception e) {
e.printStackTrace();
Toast.makeText(getApplicationContext(),
"Err : " + e.toString(),
Toast.LENGTH_LONG).show();
};
beaconRegiste(beaconName);
}
@Override
public void onVisitEnd(Visit visit) {
Toast.makeText(getApplicationContext(),
"End of " + visit.getPlace().getName(),
Toast.LENGTH_SHORT).show();
}
};
Gimbal had the data internally. 云台内部具有数据。 Therefore , Gimbal.resetApplicationInstanceIdentifier () the appropriate call were hayeoseo success .
因此,Gimbal.resetApplicationInstanceIdentifier()的适当调用均被hayeoseo成功。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.