Clone VitamioBundle release version, use Vitamio as Android library project.
Add the following line to Activity onCreate, Vitamio will initialize decoders.
onCreate
public void onCreate(Bundle b) { super.onCreate(b); if (!io.vov.vitamio.LibsChecker.checkVitamioLibs(this)) return; // your code }
Declare InitActivity in AndroidManifest.xml
InitActivity
<activity android:name="io.vov.vitamio.activity.InitActivity" android:configChanges="orientation|screenSize|smallestScreenSize|keyboard|keyboardHidden" android:launchMode="singleTop" android:theme="@android:style/Theme.NoTitleBar" android:windowSoftInputMode="stateAlwaysHidden"/>
Now you can use Vitamio Media API same as Android Media API
There was an error while loading. Please reload this page.