I am working on a project in eclipse, i have been working for the last few months in python/pygame, making pygames in the Python IDLE. I have my eclipse build setup with android sdk and pydev to run python programs (pygame) in eclipse. What I am trying to do is build an app with the android sdk that can use my pygame inside the app (put game built in pygame on android app through android sdk) that way the main menu would be coded in java with buttons, etc, then when you click the play button it goes to the pygame code. Is there anyway of doing this, you can make individual projects of the 2, and make an android app, but I want to integrate both languages features for the best performance. How am I going to do this???? I have looked on the web and I can't find anybody talking about doing this, it may be impossible, maybe not. Is it possible for this to be done for an app in eclipse????
No, there's really no way of doing this. Pygame is not natively runnable on Android: you'd need to somehow find a Pygame port to Jython and then figure out how to make that work using the Android drawing primitives. Probably more work than it is worth.
How do you integrate PyGame and Android SDK together inside Eclipse to build an Android App running Java SDK as the main menu for PyGame?