Getting your android apps to run on the OUYA

If you’re not familiar with the OUYA check out my other blog post or go here.

First you must include the ouya-sdk.jar, guava-r09.jar, and commons-lang-2.6.jar in your project libraries, which is found in the OUYA developer kit.  Then you need to add an intent category to your manifest file.  You can use either

<category android:name="tv.ouya.intent.category.GAME"/>
<category android:name="tv.ouya.intent.category.APPs"/>

Here is an example from the music player app we did in class that I edited for the OUYA.

android:label=”@string/app_name” >
<action android:name=”android.intent.action.MAIN” />
<category android:name=”android.intent.category.LAUNCHER” />
<category android:name=”tv.ouya.intent.category.APP”/>



Then you need to make sure that your minimum/target API is set to 16 and your screen orientation is set to landscape.

And that’s how you edit your android apps to run on the OUYA or your virtual device.