Oh and idle detection mode is disabled by default when you run your app via Visual Studio’s “Managed” debugger. You can see this in your “App.xaml.cs” file in its constructor. This is the code that was generated by Microsoft’s WP8 project template. Just warning you in case it causes confusion. It caught me off guard at first.
OK, good to know! Since I’m uploading the new version anyway I’ll include this in C# as well. Thanks!
Hi is this available to use now? I tried running the Store test kit and while profiling the app it turns off and fails.
You can disable idle timer using native/lua communication. Here you can follow examples on how to use it:
http://docs.coronalabs.com/daily/coronacards/wp8/index.html#lua-interop-communications
So you have to dispatch an event from lua and define the event listener in C# to call the native idle disabling method that Joshua mentioned above.
Rob,
We’ll push out another build next week having support for this. But, you don’t have to wait. You can do what “whammy” suggested and implement it yourself via our Native/Lua bridge and the code example I posted up above.