Mjpegview With Other Xml Layouts
I'm developing an APP that needs to gets the stream of an Airdrone through mjpeg. I'm using the classes from this topic. It works great with the example but I need to add some oth
Solution 1:
I figured it out what was my problem...
I was trying to do:
mv = (MjpegView) findViewById(R.id.mv);
setContentView(R.layout.activity_test);
And was getting a NullPointerException.. I changed to:
setContentView(R.layout.activity_test);
mv = (MjpegView) findViewById(R.id.mv);
And now everything is working like is supposed to be :)
Post a Comment for "Mjpegview With Other Xml Layouts"