Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Android Back Button Too Slow When Playing Video

$
0
0

Here is the Android log when I click the back button whilst playing a video...

D/ConnectivityService(  483): Sampling interval elapsed, updating statistics ..
D/ConnectivityService(  483): Done.
D/ConnectivityService(  483): Setting timer for 720seconds
W/TiWebViewBinding(20300): (KrollRuntimeThread) [19797,87824] Timeout waiting to evaluate JS
I/Choreographer(20300): Skipped 219 frames!  The application may be doing too much work on its main thread.
I/TiWebChromeClient.console(20300): (main) [58,87882] Uncaught SyntaxError: Unexpected token var (1:file:///android_asset/Resources/)
W/TimedEventQueue(  125): Event 980 was not found in the queue, already cancelled?
I/hwcomposer(  122): Setting interactive mode: On
D/NvOsDebugPrintf(  125): NvMMDecTVMRDestroyParser Begin 
D/NvOsDebugPrintf(  125): --------- Closing TVMR Frame Delivery Thread -------------
D/NvOsDebugPrintf(  125): ------- NvAvpClose -------
D/NvOsDebugPrintf(  125): NvMMDecTVMRDestroyParser Done 
D/NvOsDebugPrintf(  125): NvMMLiteTVMRDecPrivateClose Done 
W/AudioFlinger(  125): session id 488 not found for pid 20300
The app takes too long to react when the back button is clicked due to, I presume, the App doing too much on one thread. eg.
I/Choreographer(20300): Skipped 219 frames!  The application may be doing too much work on its main thread.
How can I launch the video player using a separate thread?

Thank You, George


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>