IS Stellarium for Android available?

Feedback
2010-05-30
2012-10-09
1 2 > >> (Page 1 of 2)
  • lillyvalleys

    lillyvalleys - 2010-05-30

    I'm about to buy an Android mobile.
    Would Stellarium work?

    Thank you

     
  • Bogdan Marinov

    Bogdan Marinov - 2010-05-31

    Highly unlikely (at least at the moment), for several reasons:
    - There's no port of Qt for Android (yet), and Stellarium is written using Qt.
    - Android applications are supposed to be written in Java, and C++ applications like Stellarium require a special wrapper to run.

    At the moment there is some effort to port Stellarium to the Nokia N900. When
    this port is ready, it will be relatively easy to adapt it to different mobile
    devices (provided that they support OpenGL ES and Qt).

     
  • Anonymous - 2011-10-02

    I probably shouldn't reply to old threads, but QT has (finally) been ported to
    android, so it is possible.

     
  • Alexander Wolf

    Alexander Wolf - 2011-10-03

    Can you help us with porting Stellarium on Android? :)

     
  • Anonymous - 2011-10-21

    Again QT has been ported to android so thats ok, but stellarium's written in
    C++. Converting it to java would be horrible. However it sounds like fun and
    I'll get started.

     
  • Alexander Wolf

    Alexander Wolf - 2011-10-22

    First you need trying build Stellarium with android-cmake :)

     
  • Anonymous - 2011-10-22

    Day 2 working on it. Qt libs are hard to include, anyone who has ideas just
    comment. check out my other forum at Stellarium OS (Stellarium With Linux As A
    UI). :)

     
  • Anthony Coddington

    Shouldn't it be possible to keep most of Stellarium in C++ and use JNI? It
    might also be worth having a look at the iPhone (and Mameo?) ports to see if
    anything needs to be done to make it work with OpenGL ES.

    Disclaimer: I know nothing about JNI or OpenGL ES, and very little so far
    about Android coding (though I do know Java)

     
  • Anonymous - 2011-10-28

    QT calls by the JNI don't work on android and is buggy in anything else, so it
    HAS to be ported to java. #_#

     
  • Anonymous - 2011-10-28

    P.S. I'm also making a Halloween Edition stellarium panorama. Download on
    October 31!

     
  • Zack Sawyer

    Zack Sawyer - 2011-10-31

    I know this does not contribute to stellarium and I am sorry for that but for
    those of you interested there is a free google android app: http://www.google
    .com/mobile/skymap/,
    just an fyi.

     
  • Anonymous - 2011-12-10

    Still working on it. :|

     
  • Viper OS Team

    Viper OS Team - 2011-12-29

    Wouldn't you have to change the ui when creating stellarium for android?

     
  • Brady Brenot

    Brady Brenot - 2012-01-18

    For what it's worth, I've decided to look into this as well. I need something
    to do in my spare time. I'll get a Bazaar branch going and play around with
    that Android Qt port a bit.

    Did you make any progress, binaryarts?

     
  • Bogdan Marinov

    Bogdan Marinov - 2012-01-18

    Thank you for looking into it! Look at the main CMakeLists file, there are a
    few switches for using OpenGL ES and building Stellarium for Maemo that may be
    useful.

    It's unlikely that binaryarts will see your question: https://sourceforge.net
    /projects/stellarium/forums/forum/278769/topic/4907558

     
  • Brady Brenot

    Brady Brenot - 2012-01-18

    Good to know :P

    The fact that Open GL ES rendering has already been added takes off a good
    amount of the work. Hopefully I can get some sort of progress on this by the
    end of the weekend. Should be fun in any case.

     
  • Viper OS Team

    Viper OS Team - 2012-01-22

    Hrm, this forum seems to have a lot of attention, hope someone ports it soon.
    would like to see stellarium on my htc.

     
  • Anonymous - 2012-01-23

    Sad news, after some debugging and googling most android devices won't support
    this heavy-use of open-gl, nor can the qt port handle the ui. :( Won't even
    compile the apk.

     
  • Anonymous - 2012-01-23

    "It's unlikely that binaryarts will see your question:"

    Well, I did.

     
  • Brady Brenot

    Brady Brenot - 2012-01-23

    I unfortunately didn't spent too much time on this over the weekend, but I
    have cobbled together an ugly build setup. For some reason I'm building on
    Windows, so it's extra-ugly. Hit a couple snags; for
    instance
    (link there partly for my own reference). The
    wiki article documenting the build process is going to be fun.

    Won't even compile the apk.
    

    How is it failing? I would've thought that building the apk would be the least
    difficult part.

    nor can the qt port handle the ui

    Specifics, please?

     
  • Bogdan Marinov

    Bogdan Marinov - 2012-01-23

    bradybrenot, I'm glad that you have made progress.

    If the GUI turns out to be a problem, you can disable it - it's implemented as
    a static plug-in. Again, there's a switch in the main CMakeLists file. As far
    as I know, even without the GUI you can use mouse navigation. In all cases,
    this will allow you to debug the OpenGL part.

    If you get that working, you can try to use the published GUI code of the
    original StellariumMobile version - it is also implemented as a plug-in, and
    it is supposed to be licensed under the GPL. (This is Fabien's N900 port that
    turned out to be a bit divisive for the community.) You'll need to make your
    own button icon bitmaps, though.

    (I have an exam in three hours and I'm posting on Stellarium again. Argh. :( )

     
  • Anonymous - 2012-01-24

    So with a bit of research i found out that the qt port to android isn't a good
    or full port, nor can you link to it as a dependency. :( But, there IS hope!
    It's not the best alternative, but you can load Linux on android
    (INSTRUCTIONS: http://hackaday.com/2009/02/22/x11-on-
    android/).
    Then compile
    Stellarium on that, it should work, but i haven't tried it.

    These forums are super addicting....

     
  • Brady Brenot

    Brady Brenot - 2012-01-24

    So with a bit of research i found out that the qt port to android isn't a
    good or full port

    It's not a finished port. The biggest thing is that Qt Mobility hasn't been
    ported over yet. Main impacts from that, as far as I can gather, are audio and
    location. Location can be worked around by using JNI.

    I have no idea how long Necessitas is going to take to get Qt Mobility, or how
    long it's going to take to get out of Alpha. It uses a shared Qt library
    installed on the device (not sure if that can be overridden), so until it hits
    API freeze (Beta), that's going to be scary.

    nor can you link to it as a dependency.

    Sure you can. I got Stellarium to build no problem. I'm working off the
    example set by Marco Bernasocch's port of QGIS to Android/Necessitas.
    Although, my setup needs a tiny bit of work before I push it and document the
    process.

    Waiting for my phone to get back from Samsung before I can actually test it.
    It compiles without any errors though, so that's something.

     
  • Brady Brenot

    Brady Brenot - 2012-01-24

    Location can be worked around by using JNI.

    Although, I don't see any point in doing the location stuff with JNI if Qt
    Mobility is going to support it eventually anyways. Better to either ignore
    location for now, or if nothing is left (dangerous optimism), help Necessitas
    with that.

     
  • Brady Brenot

    Brady Brenot - 2012-01-24

    Oh, also, just to clog this thread up even more, Android NDK lacks locale
    support, localization is apparently expected to go through the Java side. I've
    thus had to drop localization from the build to get it to compile
    (ENABLE_NLS=false). Unless there's some way around this that I'm not aware of,
    this is something else that'll need to be done for the port.

     
1 2 > >> (Page 1 of 2)


Anonymous

Cancel  Add attachments





Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks