我无法确定以下代码断开的原因,除了:System.Data.ConstraintException。我不确定为什么甚至会考虑约束,因为我所做的只是读取数据表。
如何放宽下面参数查询的约束?
config = {
desiredAccuracy: 10,
stationaryRadius: 5,
distanceFilter: 0,
debug: false,
stopOnTerminate: false,
startForeground: true,
locationProvider: 1,
interval: (120 * 1000), //2mins in millis
fastestInterval: (60 * 1000), // 1min in millis
activitiesInterval: (60 * 1000),
stopOnStillActivity: false,
pauseLocationUpdates: false,
activityType: 'AutomotiveNavigation',
notificationText: 'Location Tracking Started',
notificationTitle: 'Location Tracking'
};