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
Post a Comment