The place to discuss creating, porting and modifying Celestia's source code.
The main problem to migrate it to Android is, most of the software is written in C++, and there is a not easy and direct way to translate software from C++ to Java... so I guess that the amount of work is tremendous, maybe it is better to write it from scratch and maybe that code could be used to replace the current C++ one... otherwise... it does not look easy job to be done
- Posts: 217
- Joined: 29.01.2009
- Age: 25
- With us: 11 years 11 months
- Location: Suzhou, China
well only if the original developers would do that.mario.schinder wrote:maybe it is better to write it from scratch
Android apps can call C++ codes with JNI, and this is how this app uses the existing code, it uses a Java shim to call into the C++ code. The difficult part was getting it to work and render the first scenes, once it is done, it is just like any other mobile app, how to build a good UI and interaction model, etc.
Since it is already out there, you are more than welcome to try it from the play market.