Impossible to instantiate LibVLC object
Posted: 17 Jun 2015 11:10
I am working on a Android project and I want to creat a media player using the LibVLC.
To creat a media player with this lib I need to instantiate a LibVLC object.
But when I try to do that the instantiation will failed and the app will close automatically.
To creat a media player with this lib I need to instantiate a LibVLC object.
But when I try to do that the instantiation will failed and the app will close automatically.
Code: Select all
public class MediaPlayerActivity extends Activity {
private String path;
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.activity_media_player);
LibVLC lib = new LibVLC();
// path = (String) getIntent().getSerializableExtra("path");
}
}