antifriz antifriz - 3 years ago 271
Android Question

Why MediaPlayer throws NOT present error when creating instance of it?

When creating an instance of MediaPlayer LogCat shows this error:

QCMediaPlayer mediaplayer NOT present

Why is that and is it normal?


package com.example.testapp;

import android.os.Bundle;

public class MainActivity extends Activity{

protected void onCreate(Bundle savedInstanceState) {
MediaPlayer mediaPlayer = new MediaPlayer();

Answer Source

It means your platform does not support QCMediaPlayer. QCMediaPlayer provides extended APIs and interfaces to get and set MPD attributes for DASH protocol in compatible Snapdragon builds. So, this error should not affect on media playing in normal case

Check this sources to find out more details:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download