Launcher Icon question

So i read in the docs that the launcher icon has to be called "ouya_icon.png", residing in res/drawable-xhdpi/ but i've had two weird things happen to me and i'm not sure if anyone else has had this problem or it's just me... but:

the icon does NOT show up if i use the OUYA intent filter in my manifest: <category android:name="tv.ouya.intent.category.GAME"/>
however the launcher icon DOES show up under the Games section if i do <category android:name="ouya.intent.category.GAME"/> instead. the difference was that i took out "tv." in the name. 

am i the only one that has this problem?? 

Comments

  • AyrikAyrik Posts: 429Member
    edited March 2013
    Make sure your launcher and framework are up to date, or firmware if you're on hardware. Because that was changed some time ago. It is supposed to have the tv. in front.
    Post edited by Ayrik on
    Saga Heroes - Adventure RPG
    image image
  • KonajuGamesKonajuGames Posts: 560Member
    ODK 0.0.6 and the corresponding launcher update added the "tv." prefix.
  • SyracaSyraca Posts: 12Member
    Ayrik said:
    Make sure your launcher and framework are up to date, or firmware if you're on hardware. Because that was changed some time ago. It is supposed to have the tv. in front.
    okay, bigger problem. i did what you said and now my game is completely broken for some odd reason.

    I'm using the ODK from March 7th. all i did was take the new ouya-sdk.jar and put that into my "libs" folder in my android project. was there something else I was supposed to do?

    the error i'm getting now is that i can no longer use 
    @Override
    public boolean onGenericMotionEvent(MotionEvent event) {
        boolean handled = OuyaController.onGenericMotionEvent(event);
        return handled || super.onGenericMotionEvent(event);
    }

    without it crashing. the WEIRDEST part is that it's actually a null pointer exception being thrown - from OuyaController.onGenericMotionEvent.... which is incredibly strange because that's a static method. I've checked the "event" object and it's not null (by printing it out).
  • AyrikAyrik Posts: 429Member
    They added an OuyaController.init you'll need to put in onCreate. Did you install the new firmware or launcher/framework?
    Saga Heroes - Adventure RPG
    image image
  • SyracaSyraca Posts: 12Member
    edited March 2013
    Ayrik said:
    They added an OuyaController.init you'll need to put in onCreate. Did you install the new firmware or launcher/framework?
    Ah! no wonder. i see it now in the docs. I'm using firmware and i had no idea that you have to actually manually click on the newly downloaded one to install it!!! the new interface looks cool :)

    thanks so much for your help. both the icon seems to be working and no more crashes

    P.S. Super Dungeon Bros is just too awesome XD
    Post edited by Syraca on
Sign In or Register to comment.