-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Getting Started
Crossle Song edited this page Feb 13, 2014
·
7 revisions
-
Clone VitamioBundle release version, use Vitamio as Android library project.
-
Add the following line to Activity
onCreate
, Vitamio will initialize decoders.public void onCreate(Bundle b) { super.onCreate(b); if (!io.vov.vitamio.LibsChecker.checkVitamioLibs(this)) return; // your code }
-
Declare
InitActivity
in AndroidManifest.xml<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