Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. Why Android went with Java?
Forum Updated to NodeBB v4.3 + New Features

Why Android went with Java?

Scheduled Pinned Locked Moved The Lounge
27 Posts 13 Posters 38.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Seba84
    wrote on last edited by
    #17

    When iOS port will be available, Qt will be literally platform-independent!

    I think anyway that all of this ports should be incorporated in Qt Creator. It would make life easier.

    Seba84

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #18

      They probably will, now that Open Governance is in place. But they must mature first, so that the whole official Qt package remains top-quality stuff.

      They are even working on NaCL port! Pure beauty!

      (Z(:^

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Seba84
        wrote on last edited by
        #19

        Very good! I hope this won't take a lot of time!

        Sorry, but what is Open Governance?

        1 Reply Last reply
        0
        • L Offline
          L Offline
          lgeyer
          wrote on last edited by
          #20

          See the "Qt Project":http://labs.qt.nokia.com/2011/09/12/qt-project/.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mk12345
            wrote on last edited by
            #21

            because java has strong GUI system than C/C++.

            1 Reply Last reply
            0
            • M Offline
              M Offline
              mk12345
              wrote on last edited by
              #22

              what is the difference between throws and throw. i have read from internet but point is not clear to me.

              1 Reply Last reply
              0
              • sierdzioS Offline
                sierdzioS Offline
                sierdzio
                Moderators
                wrote on last edited by
                #23

                [quote author="mk12345" date="1383736748"]what is the difference between throws and throw. i have read from internet but point is not clear to me.[/quote]

                The "s" at the end of the word. What are you really asking about, and why in this thread?

                (Z(:^

                1 Reply Last reply
                0
                • raven-worxR Offline
                  raven-worxR Offline
                  raven-worx
                  Moderators
                  wrote on last edited by
                  #24

                  [quote author="mk12345" date="1383736748"]what is the difference between throws and throw. i have read from internet but point is not clear to me.[/quote]
                  throws specifies that the class may throw an exception which needs to be handled somewhere in the call stack when using this class/method.

                  And throw actually raises the exception upwards the call-stack, which needs to be handled anywhere and if not the application crashes.

                  But as sierdzio said, this is not the place to ask this here.

                  --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                  If you have a question please use the forum so others can benefit from the solution in the future

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    Seba84
                    wrote on last edited by
                    #25

                    It's two year's since I opened this thread and much has changed. I see that the last version of Qt Creator is Android compatible (I suppose that Necessitas is inside it). I didn't test it, are the results looking good? Is it buggy?

                    In the time being, I have learnt Java and the Android SDK package. A piece of cake coming from C/C++. The conclusion from the experience was: better stick to C/C++.

                    1 Reply Last reply
                    0
                    • T Offline
                      T Offline
                      tclicot
                      wrote on last edited by
                      #26

                      "because java has strong GUI system than C/C++."

                      I hope this was posted in jest...but it is typical of the misunderstanding of what is being discussed here, by MOST Java adherents.

                      C/C++ vs Java is NOT a war or a comparison of "who has the better GUI system"--THAT is irrelevant and a non-sequitur, as I'm sure most on this forum already realize. Language features and drawbacks have very little to do with the GUI that serves as a presentation layer.

                      The original idea behind Java, to obscure the HW and provide a VM orchestrated sandbox comes with so many penalties (in speed, obfuscation, control, etc, etc), we as programmers and engineers are always trying to play catchup...

                      In terms of Android, it's amazing that this Linux/JVM/User code scheme is workable AT ALL. There is so much layering and object instantiation that, indeed, a 1/2/4 core 1+Ghz platform still seems sluggish! And to top it off, we have to dance around a blocking GC in the VM!

                      There is a reason why C++ is NOT favored in OS and limited resource scenarios--and the same can be said for Java, in terms of the penalties one incurs with OO in general.

                      Even Google realizes this, but instead of changing gears, back to native code, they come out with yet another VM (ART) to patch up the scheme, and try to make all this gobbledegook a little faster....amazing!!!

                      1 Reply Last reply
                      0
                      • K Offline
                        K Offline
                        kamhagh
                        wrote on last edited by
                        #27

                        IBM wrote Eclipse ?! that is awesome !!!!

                        1 Reply Last reply
                        0

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved