c# - SensorCore with CameraCaptureTask -
in our wp 8.1 application, we're using sensorcore sdk collect information movements of user, , use cameracapturetask too. when launch task cameracapturetask.show(), application crashes, before capture, after, , after event completed, , message in vs 2013 : 'the program '[2512] aghost.exe' has exited code -1073741819 (0xc0000005) 'access violation'.' however, capabilities activated, , exact same piece of code work without sensorcore activated. use lumia 635.
any ideas ?
are deactivating sensorcore related stuff before navigating away/showing task? need that, otherwise app crashes.
read sensorcore essential practices. there code samples both silverlight , winrt on how deactivate sensors.
for example:
protected override async void onnavigatingfrom(navigatingcanceleventargs e) { await _stepcounter.deactivateasync(); }
Comments
Post a Comment