Android QCMediaPlayer not present -


i have small problem. logcat gives me error "e/mediaplayer-jni﹕ qcmediaplayer mediaplayer not present" searched , found out looks device doesn't support qcmediaplayer. else can play audio files?

also how can ceck if qcmediaplayer supported?

thanks

mine got solved using static create method of mediaplayer:

mediaplayer player= mediaplayer.create(cntx, uri.parse(this.path)); 

for resource files:

mediaplayer player = mediaplayer.create(cntx, sound_resource_id, loop); 

Comments

Popular posts from this blog

c# - SharpSsh Command Execution -

python - Specify path of savefig with pylab or matplotlib -

How to run C# code using mono without Xamarin in Android? -