I found a solution for my problem. I decided to create an application in a vlc application. I cloned git-project from vlc and followed the instructions for creating a version of ARM-CPU. After a successful compilation, I managed to integrate my project into a vlc application.
Just change the package in AndroidManifest.xml, change the declared classes, for example:
.GUI.Main to org.videolan.GUI.Main
Remember that do not register your Primary object as a start. Just start your activity after the VLC-Main action onCreate () ends. Remember to call finish () in onResume () of the VLC-Main activity. OnResume () will be called after you destroy your own activity.
/! \ Remember to enroll VLC-Team for an excellent base!
source share