Mobile Celestia for Android

The place to discuss creating, porting and modifying Celestia's source code.
mario.schinder
Posts: 7
Joined: 06.12.2020
Age: 44
With us: 7 months 29 days
Location: Miami

Post #81by mario.schinder » 07.12.2020, 10:49

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

Topic author
Markerz
Developer
Posts: 230
Joined: 29.01.2009
Age: 25
With us: 12 years 6 months
Location: Suzhou, China

Post #82by Markerz » 07.12.2020, 14:30

mario.schinder wrote:maybe it is better to write it from scratch
well only if the original developers would do that.

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.

mario.schinder
Posts: 7
Joined: 06.12.2020
Age: 44
With us: 7 months 29 days
Location: Miami

Post #83by mario.schinder » 07.12.2020, 14:59

really?! good to know I will try that, and actually I did not know that was a wrapper that allows Java to interact with C++ software... thanks! :)

Avatar
Gurren Lagann
Posts: 335
Joined: 31.01.2018
Age: 15
With us: 3 years 6 months
Location: State of Rio de Janeiro, Brazil

Post #84by Gurren Lagann » 28.02.2021, 12:59

Here is the current Play Store link for the Android version of Celestia: https://play.google.com/store/apps/details?id=space.celestia.mobilecelestia
As an Android [and Windows] user, i can easily get the link at any time.
"The tomorrow we're trying to reach is not a tomorrow you had decided on!"
- Simon the Digger
"Nothing is impossible for me, as long I'm determinated to keep moving forward!"
"If other people aren't going to do it, I'm going to do it myself!"
- Me (Gurren)

Current major projects:
- Aur Cir
- Cel+
- Project Sisyphus
- Populating the Local Group
- An galaxy generator

Avatar
Anthony_B_Russo10
Moderator
Posts: 568
Joined: 03.07.2018
Age: 18
With us: 3 years 1 month
Location: Tallahassee, Florida, US

Post #85by Anthony_B_Russo10 » 28.02.2021, 20:59

That or just side load the app on Android.
Anthony B. Russo, I like Pluto. Mod of the Celestia subreddit: https://www.reddit.com/r/Celestiasoftware/
I have over 30 computers, trying to list them here would be a pain.

Topic author
Markerz
Developer
Posts: 230
Joined: 29.01.2009
Age: 25
With us: 12 years 6 months
Location: Suzhou, China

Post #86by Markerz » 02.03.2021, 00:24

johnamaro wrote:may be this URL is corrupted
updated


Return to “Development”

Who is online