To destroying the video or hide navigation until video plays?

To destroying the video or hide navigation until video plays?

Ok The problem I’m having with youtube is that my video’s keep playing in I navigate away from the page before they are loaded….clearVideo():void, destroy():void havn’t worked as it’s the loader I probably need to target but that also causes problems so i’m taking the option to navigate away until player is ready! problem solved 🙂

onPlayerReady
Read more "To destroying the video or hide navigation until video plays?"

Keeping the phone awake during tremble training

Keeping the phone awake during tremble training

Thank you!

<uses-permission android:name="android.permission.WAKE_LOCK"/>
<uses-permission android:name="android.permission.DISABLE_KEYGUARD"/>

Then you need to use this simple line of code anytime you want to keep the device awake:

NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.KEEP_AWAKE;

To enable the device to go to sleep again:

NativeApplication.nativeApplication.systemIdleMode = SystemIdleMode.NORMAL;
Read more "Keeping the phone awake during tremble training"