0

Could there be any reason why sendARAnimationObject should stop working without any change in the code? Does rendering of bitmaps in a timer depend on any external state like battery level or sensor state etc?

Another issue is that if I use sendARAnimationObjectWithCallback the callback method in the listener onResultSendAnimationObject is never called as stated in the documentation. Could there be any other dependency causing this callback method not called at all?

Gökhan Kurt
  • 531
  • 5
  • 13
  • I am overriding even `onAREnableAnimationResponse` and `onARDisableAnimationResponse`. Even though I am not calling `disableARAnimationRequest` the callback method is called with result 0 and the callback method `onAREnableAnimationResponse` is called some number of times (about 50) with result 3 which means no success I guess but no idea what 3 means. – Gökhan Kurt Feb 12 '15 at 11:16

2 Answers2

1

It works much better with the official SDK v1.0

Gökhan Kurt
  • 531
  • 5
  • 13
0

Now I belive I found the main reason behind. I was not calling disableARAnimationRequest anywhere in my app. Now I am calling it in onPause and it works much better next time I start the app and call enableARAnimationRequest. But I would need someone at sony to confirm this kind of behaviour. Maybe the disable method should be called in some SDK method without putting that burden on the developer. Or some kind of cleanup in SDK when you start your app and enable animation request.

Gökhan Kurt
  • 531
  • 5
  • 13