Has anyone managed to edit the AndroidManifest.xml and build a valid apk again?

David,

That’s awesome! Please forgive me for my blasphemy. I’m looking forward to it! I think developing for the TV / game controllers through OUYA will be a great opportunity for Corona.

As David has said, we’re actually hard at work on Ouya support.  It’s a pretty big project, and because of that, we’ll be providing incremental changes via daily builds adding each of the features that people will need/want for Ouya.  In fact, the newest daily build already contains some new features now that you can play with on Ouya.
 
First, we’ve added Ouya app icon support, which we’ve documented here…
   http://docs.coronalabs.com/daily/guide/distribution/buildSettings/index.html#ouya
 
We’ve also added support for all keys on a keyboard and for gamepad/joystick buttons via our “key” event.  You can see this in action now via sample app “Interface/KeyEvent” that is included with the Corona Simulator.
   http://docs.coronalabs.com/daily/api/event/key/index.html
   http://docs.coronalabs.com/daily/api/event/key/keyName.html
   http://docs.coronalabs.com/daily/api/event/key/nativeKeyCode.html
 
We’ve add a new “mouse” event feature which allows you to track the mouse cursor movement and mouse clicks that can be generated by the Ouya controller’s trackpad, USB mouse, or bluetooth mouse.  In fact, mouse events are supported on Android 3.1 and higher devices (phones and tablets) too via bluetooth.  Mouse event support has been added to the Corona Simulator for Windows when simulating an Android device… but not for Mac yet.  Also note that apps running on Ouya do not have touchscreen support (because your TV is not a touchscreen), making mouse/touchpad support important.
   http://docs.coronalabs.com/daily/api/event/mouse/index.html
 
We have one undocumented feature that allows you to set the category in your AndroidManifest.xml file for Ouya, which is an Ouya requirement.  You can do this by adding the following to your “build.settings” file…

settings = { android = { mainIntentFilter = { categories = { "tv.ouya.intent.category.GAME" }, }, }, }

Next, we’re working on the ability to get information about the device that an input event came from.

After that, we’ll be adding analog axis event support so that you can get the input events from the gamepad’s thumbsticks and analog triggers.

I’m sure more changes will follow, such as the ability to simulate a 720 and 1080 TV in the Corona Simulator.  There is lots to do.  So, we’ll be rolling out these changes incrementally via daily builds.

Ouya (the company) will be creating the Corona plugin that will allow you to do in-app purchases and game network support.  They’re actively working on it now.

So, yeah, there’s lots of stuff going on.  :)

Mr4hT.gif

Cool guys! As an indie you guys really make the pro subscription worth my money…

OMGOMGOMG, so glad I took the time to reactivate this thread and find this out! You guys just saved me so much time decompiling and recompiling APKs you don’t even know!

Thanks!!

Is joystick movement possible? I only see references for button pushes.

Not yet.  Joystick (ie: axis input) support will come later, as I’ve mentioned in my post above.

First, we need to add support to recognize which device the input events came from and the ability to acquire information about that device.  That’s a far bigger job and we hope to make this change available in a daily build soon.  Axis input support will come after that.

Okay, thank you for your detailed response. I’m very excited to see Corona working on OUYA!

Actually, we’re doing more than adding Ouya support.  We’re adding general game controller support to Android so that we can support GameStick, NvidiaShield, Moga controllers, and any other controller that supports the HID protocol.  Heck, even Mad Catz has announced that they’re going to do an Android console system in the future.  That’s why we’re taking the extra time to make sure we do this right.

Ouya (the company) will be creating an Ouya plugin for Corona.  They’re working on it now.

that’s great news Josh.  gluon pays off!

Can’t wait to get my hand on this, I’m getting my first controller soon this week.

Is there a way for us to get the experimental build/daily build that has this long awaited feature?

@yanuar, the current daily build has the features Joshua was talking about.  If you look at the current daily build’s API docs, you will see that most of this is already documented as part of the daily build process.  Only the build.settings isn’t documented formally, but Joshua listed what you need above.

Any time frame for when the Simulator will have a 1280*720 screen? Also support for the joystick axis?

thanks guys.

Joshua provided a rough roadmap of deliverables on this.  As a rule we don’t provide times. 

As for the screen size, I’ve added new simulator skins to an internal discussion on the matter which I would like to see 720p and 1080p 16:9 screens supported too.  However, one of the best ways to communicate that is to use http://feedback.coronalabs.com and add your feature request there and vote it up and get your friends to vote for it too.

@samwit : if it’s just 1280x720 then you can use Samsung Galaxy SIII in the simulator in landscape mode, it’ll also kinda work for 1920x1080 if you use auto scale since it’s the same ratio

That’s how i survive so far :slight_smile:

We already know we need to add Ouya simulator support.  We just haven’t gotten to it yet.  We’re just extremely busy right now.  Once we’ve finished full game controller support we’ll move on to that.  Thanks for your patients.

Any time frame for when the Simulator will have a 1280*720 screen? Also support for the joystick axis?

thanks guys.

Joshua provided a rough roadmap of deliverables on this.  As a rule we don’t provide times. 

As for the screen size, I’ve added new simulator skins to an internal discussion on the matter which I would like to see 720p and 1080p 16:9 screens supported too.  However, one of the best ways to communicate that is to use http://feedback.coronalabs.com and add your feature request there and vote it up and get your friends to vote for it too.

@samwit : if it’s just 1280x720 then you can use Samsung Galaxy SIII in the simulator in landscape mode, it’ll also kinda work for 1920x1080 if you use auto scale since it’s the same ratio

That’s how i survive so far :slight_smile:

We already know we need to add Ouya simulator support.  We just haven’t gotten to it yet.  We’re just extremely busy right now.  Once we’ve finished full game controller support we’ll move on to that.  Thanks for your patients.