ItamarM/Nextpeer-libgdx — pull request #1 by badlogic (2013-09-01 14:19:14+00:00)
Title: Simplified Project Setup

Hi,

i forked your example repo, simplified the setup and fixed some minor things. Here's what i did:

* superjumper needs to be compiled with Java 1.6. That's true for any libgdx project, as Android only supports 1.6. Set the respective project property
* not sure why glue was necessary, removed it. You can link normal Java projects to Android projects by adding them to the Java Build Path, and in the same dialog, go to Order & Export and make sure the project is checked. See how the superjumper project is linked to the superjumper-android project
* the nextpeer-libgdx-bridge project was also removed. I moved the interfaces to the core project (superjumper, com.nextpeer.libgdx) instead. In a proper libgdx project, you'd have a separate desktop project, which only contains SuperJumperDesktop. Like the android project, it would link to the core project, and implement the nextpeer bridge interfaces accordingly.

Should be fine otherwise. One more note: while i could successfully open the tournament window on Android, and even saw other users, the dialog eventually quit with an error message, stating that there's no internet connection (which is funny, cause it was able to fetch the other users). Not sure if i did something wrong :)

I suggest you rework your docs for the new project setup, i'm afraid i don't have the time to do this. Once that's done, i'll post on the blog and add prominent entries for you guys on the wiki and documentation page.

ciao,
Mario