views:

30

answers:

0

Hi stackoverflow.

Can you help me play Robot Unicorn Attack on my Android phone?

I downloaded the .swf file, put it on my phone and there is this app called SWF Player that can open SWF files from the SDCard. But, since I don't have a hardware keyboard, I can't play the game because I have no chance pressing X or Z (I heard even with a hardware keyboard you're not able to do this though...).

No my idea is to write an App that offers an Overlay where you have a custom Gamepad that you can assign key events which are then dispatched to the SWF file.

But how to hell do I do this? I figured you probably need to use Air for Android...But I have not used it before and a short Google search could not show me how you could pass key events from Air to an SWF file. Any ideas?

related questions