Page 1 of 1

Impossible to instantiate LibVLC object

Posted: 17 Jun 2015 11:10
by leykan
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.

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"); } }

Re: Impossible to instantiate LibVLC object

Posted: 09 Jul 2015 22:00
by Jean-Baptiste Kempf
Look at our current code.