请咨询云台。在getValue的框架位置继续发生NullPointerException。下面的代码。
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内部有数据。因此,万向节。resetApplicationInstanceIdentifier () .