nibuen / SpaceAlertMissionGenerator

Mission Generator For Space Alert Board Game On Android
https://blog.iterary.com/
MIT License
15 stars 9 forks source link

Android 4.4 has new requirements for MediaPlayer #13

Closed nibuen closed 9 years ago

nibuen commented 10 years ago

The mediaplayer does print out warnings in the log. This might indicate a problem that causes a problem on some devices:

08-19 22:39:14.926  24694-24694/com.boarbeard E/MediaPlayer-JNI﹕ QCMediaPlayer mediaplayer NOT present
08-19 22:39:15.056  24694-24694/com.boarbeard E/MediaPlayer﹕ Should have subtitle controller already set
08-19 22:39:21.896  24694-24694/com.boarbeard E/MediaPlayer-JNI﹕ QCMediaPlayer mediaplayer NOT present
08-19 22:39:21.986  24694-24694/com.boarbeard W/MediaPlayer﹕ mediaplayer went away with unhandled events
08-19 22:39:21.986  24694-24694/com.boarbeard E/MediaPlayer﹕ Should have subtitle controller already set
08-19 22:39:28.286  24694-24694/com.boarbeard E/MediaPlayer-JNI﹕ QCMediaPlayer mediaplayer NOT present
08-19 22:39:28.316  24694-24694/com.boarbeard W/MediaPlayer﹕ mediaplayer went away with unhandled events
 

Also complains about:

08-19 09:50:42.137  30862-30862/com.boarbeard E/MediaPlayer﹕ Should have subtitle controller already set
08-19 09:50:47.952  30862-30862/com.boarbeard E/MediaPlayer﹕ Should have subtitle controller already set
08-19 09:50:47.952  30862-30862/com.boarbeard E/MediaPlayer﹕ Should have subtitle controller already set
08-19 09:50:54.999  30862-30862/com.boarbeard W/MediaPlayer﹕ mediaplayer went away with unhandled events
08-19 09:50:54.999  30862-30862/com.boarbeard E/MediaPlayer﹕ Should have subtitle controller already set
08-19 09:50:56.341  30862-30862/com.boarbeard E/MediaPlayer﹕ Should have subtitle controller already set
08-19 09:50:58.423  30862-30862/com.boarbeard W/MediaPlayer﹕ mediaplayer went away with unhandled events

Which means it needs the subtitle set.

tompen commented 10 years ago

Question on stack overflow regarding some of these warnings: http://stackoverflow.com/questions/24501086/why-mediaplayer-throws-not-present-error-when-creating-instance-of-it

tompen commented 10 years ago

And about the subtitle support: http://stackoverflow.com/questions/20087804/should-have-subtitle-controller-already-set-mediaplayer-error-android

Does not look very serious.

nibuen commented 10 years ago

Will keep this open to try and stifle these as much as we can when we get time.

nibuen commented 9 years ago

Tried a few things and looked at code, doesn't look like much chance till google developer fixes it.