<div dir="ltr"><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Try <a href="https://bitbucket.org/edwardcw/libvlc-android-sample" target="_blank">https://bitbucket.org/edwardcw/libvlc-android-sample</a> and add the setNetworkCaching() call where required.<br>
<br>
It worked for me when I added setNetworkCaching() there.</blockquote><div><br></div><div>I based my code heavily on your example. Anyway, I tried again, just for double cheking.<br><br>- Commented out the SD card part since it was crashing for me (nullpointerexception, the emulator has no SD card and the example probably don't handle this very nicely).<br>
</div><div>- Changed the URL to the /sdcard/a.mp3 to my ogg stream.<br></div><div>- Added the INTERNET permission on the Manifest XML.<br></div><div>- Added mLibVLC.setNetworkCaching(20000); just before mLibVLC.init(MainActivity.this);<br>
</div><div><br></div><div>And the problem persists. Maybe the problem is the way I'm compiling my application and your example. I'm very new to Android and JAVA programming, so perhaps I'm doing something strange. These are the steps I followed:<br>
<br></div><div>- Compiled the library with the compile.sh following the instructions.<br></div><div>- Copied the org.videolan.libvlc source code to the src folder on the example project. Discarded the other two folders.<br>
</div><div>- Copied the file libvlcjni.so to the lib/armeabi folder on the example project. Ignored the other libraries.<br><br></div><div>Perhaps I'm doing something wrong? Maybe are the other libraries are required? Sorry If I'm doing strange things, but I've found the instructions a little confusing for my little knowledge.<br>
<br>Thanks again,<br>Jorge.</div></div></div></div>