Sun plans Java for iPhone, iPod touch

124

Comments

  • Reply 61 of 85
    nvidia2008nvidia2008 Posts: 9,262member
    Quote:
    Originally Posted by shadow View Post


    To those of you complaining regarding the Intel-only option:

    Do you guis understand what iPhone SDK is?....



    Wow an unintended pun but a good one.
  • Reply 62 of 85
    john.bjohn.b Posts: 2,742member
    Judging from the responses there are a number of programmers with a significant investment in Java and/or Flash.



    Sorry guys, I'm sure your applications are the exception to the rule, but I'm so tired of all the crapware delivered over the intarwebz on those two platforms that I avoid them like the plague. There's just no value add to me. In fact, when I get a new computer the first thing I do is download Firefox, then I nuke the JVM, download AdBlock Plus and FlashBlock and get on with my life.



    In the event that either Flash or the JVM does get ported to the Touch platform, I hope its that easy to disable them.
  • Reply 63 of 85
    anantksundaramanantksundaram Posts: 20,404member
    Quote:
    Originally Posted by John.B View Post


    Judging from the responses there are a number of programmers with a significant investment in Java and/or Flash.



    Sorry guys, I'm sure your applications are the exception to the rule, but I'm so tired of all the crapware delivered over the intarwebz on those two platforms ......



    I agree. Sorry to sound low-tech and all, in the midst of this high-falutin' back-and-forth, but I have to say that every time Safari has crashed on me (in Leopard), the error message always says something about Flash.
  • Reply 64 of 85
    hutchohutcho Posts: 132member
    Quote:
    Originally Posted by nvidia2008 View Post


    As for Java, will it please frickin' die already !!! DIE!!! Bloated piece of garbage. Always has been.



    Exactly. I can't understand how this language constantly seems to stick it's head in everywhere. It's not too bad to program in, but its slow as hell and bloated like you say. There is almost always a better alternative to using Java.
  • Reply 65 of 85
    Quote:
    Originally Posted by Amorya View Post


    You'd think that wouldn't you...







    Amorya



    Are you saying that you're running the SDK on a PPC Mac (truely)?

    - I know it looks like it - but it could just be a mock-up



    - if so, I'm sure there's a lot of people here who would be interested in hearing more



    (I don't have a PPC Mac, but it's just interesting....)
  • Reply 66 of 85
    Quote:
    Originally Posted by Hutcho View Post


    Exactly. I can't understand how this language constantly seems to stick it's head in everywhere. It's not too bad to program in, but its slow as hell and bloated like you say. There is almost always a better alternative to using Java.



    Yeah...

    - the cross-platform benefits of Java would be quickly outweighed by the benefits of developing native applications for the iPhone.



    - it might help some apps get to the iPhone quickly

    - but I think they would eventually be ported to native apps to get the full benefit of the speed, graphics, UI etc of the iPhone.
  • Reply 67 of 85
    melgrossmelgross Posts: 33,510member
    Quote:
    Originally Posted by Amorya View Post


    Yeah, that is true. But it's a far cry from impossible. I'm only a hobbyist developer, and my G5 needs to last another couple of years, but I haven't found many difficulties with it for that purpose.



    Amorya



    You see, you fit my definition of hobbyist, as you yourself admit.



    So, there's no disagreement..
  • Reply 68 of 85
    melgrossmelgross Posts: 33,510member
    Quote:
    Originally Posted by anantksundaram View Post


    I agree. Sorry to sound low-tech and all, in the midst of this high-falutin' back-and-forth, but I have to say that every time Safari has crashed on me (in Leopard), the error message always says something about Flash.



    Then go to Adobe's site, and download the latest version. Safari crashed for me as well from Flash Ads. When Adobe came out with the last update, a while ago, it ended that entirely. Safari hasn't crashed even once since I updated Flash.



    This is something I complained about as well, several months ago.
  • Reply 69 of 85
    john.bjohn.b Posts: 2,742member
    Quote:
    Originally Posted by samurai1999 View Post


    Yeah...

    - the cross-platform benefits of Java would be quickly outweighed by the benefits of developing native applications for the iPhone.



    The cross-platform benefits of Java would be quickly outweighed by, well, anything if Java was just as cross-platform as it claimed to be.
  • Reply 70 of 85
    I dont miss java nor flash on my iPhone and could care less if they are ever offered.



    Also the SDK does indeed run on PowerPc Macs

    http://www.iphoneatlas.com/2008/03/1...-powerpc-macs/
  • Reply 71 of 85
    From the responses on this and another thread, Java and Flash obviously both have their defenders. They're all probably right that people's negative impressions of both are due to improper use by web designers. I have to say, both have adversely impacted my web-browsing experience. So tell me, what guarantee do we have that all the people using Flash and Java on the iPhone would be as expert as our Java and Flash experts who have spoken out here undoubtedly would be themselves? As for updating Flash, I have Flash 9, and about half the time when I hit the back button on a Flash-heavy website (nasa.gov seems to be the worst) my browser crashes. (Well, Safari or Firefox are all I have much experience with.)
  • Reply 72 of 85
    amoryaamorya Posts: 1,103member
    Quote:
    Originally Posted by samurai1999 View Post


    Are you saying that you're running the SDK on a PPC Mac (truely)?

    - I know it looks like it - but it could just be a mock-up



    - if so, I'm sure there's a lot of people here who would be interested in hearing more



    (I don't have a PPC Mac, but it's just interesting....)



    Yes, I'm saying that.



    You have to install the packages from the SDK disk image manually, then copy a few files to the correct place in the developer folder. I still haven't got code completion in xcode working, but things seem to compile fine.
  • Reply 73 of 85
    seek3rseek3r Posts: 179member
    Quote:
    Originally Posted by Abster2core View Post


    Yes. We read the feeds and it was also on the video. It is also quite clear on the Developer Connection page



    Better question: Why should Ford build a transmission today to use in an Edsel or a Cadillac?



    By the way, the Intel Macs? They must be running Leopard.



    P.S. For Apple to code the iPhone SDK to run on Vista, wouldn't they need the source code for Vista?



    Bad analogy (can *car analogies* just die already?). Car companies build parts for other companies all the time. Hell, I've got a 2005 Dodge Stratus. Mine is a sedan, it was built by Chrysler. The Coupe version of the car was built (far less well I might add :-p) by Mitsubishi.



    For that matter, in terms of computer cross pollination and Apple, forgetting about more subtle ones like Rosetta and such, isn't the MBP actually made by AsusTek?



    Apple would be *very* smart to make the SDK available to everyone, they are sacrificing winning in a market they can win *alot* more market-share (and mind-share) in (smart phones) to attempt to gain more of a foothold in the developer market on the computer level. But this means you have to lay out a lot to dev for the iphone if you're not already a mac user, since OSX doesn't (legally) run in a vm or non-apple hardware.
  • Reply 74 of 85
    There seems to be some broad mis-interpretation of the various technology by a few posts that should be clarified. And please correct me too if you think I am making some bad/wrong analogies -



    1. JavaScript is interpreted by an embedded engine that is already within each modern web browser, including Safari on the iPhone, like plain HTML is interpreted on the fly by the browser. JavaScript is not Java. A Java program must be compiled by a SDK (the JDK) first and then launched by a runtime (the JVM) - think of it as an extra plug-in that must be installed on the OS, not the same as a Flash plug-in for Safari. I for one agree with lots of people that with the evolving Web technology and ever more powerful web browser, a lot of advanced stuff can be done on the browser just sticking to strict common standards native to any browser without an extra plug-in like Flash.



    2. The #1 goal for Jobs & Apple is to make native apps on iPhone run as fast and slick as possible, using the native Mac technology first. Think about what made iTunes/iPod and then iPhones great in the first place. They care about making a super high quality product on their own platform first. For that reason and many others people already mentioned, if I worked at Apple my #1 project priority right now is to focus our efforts and make the iPhone SDK as perfect as possible for just Mac OS X, so it can get out of Beta first. You can bet their developers are working overtime as it is to meet the June deadline. Probably no vacation until after September. They cannot afford to be sidetracked by trying to make the SDK work on Windows or with Java when it's still in beta, nor should they.



    3. Java is a great language. It should have been The Flash (anyone still heard of an applet?) before Flash came along but it didn't. It is not without its community's own internal debates and controversies. Google's open source Android mobile platform use Java as the programming language but it will run on Google's own custom JVM instead of Sun's. That kind of sums up people's conflicted opinions about Java.



    4. People hammer on the Mac-only SDK and the App Store limitations but hackers will store-break it anyway. I prefer to give Apple props for trying to ensure the quality of apps that will make or break their brand for the 90% new consumers who don't want to break their personal device. Apple probably is also hoping the SDK works so well it will show how efficient and sweet developing for OS X is.



    5. Still, anything is possible. Java and Flash may prove too popular and for the good of the consumer the companies will work something out to put them on iPhone. I would not count out the engineers at Sun. IMO right now the iPhone is the hot property, and it is up to Adobe and Sun to make Flash and Java run up to the quality and standard expected on the iPhone.



    6. I think when the new iPhone really blows people minds away - all it takes is that one killer app you won't get on other devices - the development for it will really take off. I imagine you might see some creative things - 1) may be a new compacted JVM will be distributed with every Java app for the iPhone but they still have to go through the app store, and 2) some really sharp guys elsewhere will build a OS X compiler outside Mac OS, so you can take a Java program and package it as an iPhone app from any OS (my conjecture; could be BS). Either way Apple makes more money and the platform gets more popular even with non-Mac programmers.



    7. People probably wonder why I'm talking about Flash in this thread too. What I think may be interesting is that, given most of the server side code for Adobe's AIR/CF/Flex is now Java based, once Sun can optimize a Java for the iPhone, Adobe may piggyback on it to make a quality Flash (not-Lite) that will be accepted for the iPhone as well. IMO the people who will be really rooting for Sun is Adobe.



    Now that I've tried to be as even-handed and fair as I can to all camps, let me say if there is one iPhone app I would build would be a Flash ad killer. I bet it will sell like hotcakes! My definition of Quality would be - Any app that I tap my finger on, if it did not come up in a second with exactly just what I expected, should just be killed and the resource re-allocated to something more useful. I didn't pay $400 bucks to see stupid ugly annoying graphics or the bouncing ball!
  • Reply 75 of 85
    wizard69wizard69 Posts: 13,377member
    Quote:
    Originally Posted by Gatesbasher View Post


    From the responses on this and another thread, Java and Flash obviously both have their defenders.



    At least at one time there was a justification for java. There might even be one for Flash. The problem is there are way to many Flash only web sites and a large subset of those that kill modern processors. I just see those two issues as being developer related and a case of people not being able to handle a tool responsibly.



    The other issue with Flash is that the need for it, to deliver video, will quickly disappear once HTML 5 takes root. The video delivery sites are often the only ones that make use of flash in a responsible manner.

    Quote:

    They're all probably right that people's negative impressions of both are due to improper use by web designers. I have to say, both have adversely impacted my web-browsing experience.



    You and me both. At times I get so frustrated with flash based sites that I discontinue using them.

    Quote:

    So tell me, what guarantee do we have that all the people using Flash and Java on the iPhone would be as expert as our Java and Flash experts who have spoken out here undoubtedly would be themselves? As for updating Flash, I have Flash 9, and about half the time when I hit the back button on a Flash-heavy website (nasa.gov seems to be the worst) my browser crashes. (Well, Safari or Firefox are all I have much experience with.)



    I think this is in a nut shell what Apple is trying to prevent. That is the installation of destabilizing software. Or maybe better put resource hungry software. I've used Flash on all three platforms (Linux, Mac and Windows) and just don't see it as benefit.



    Dave
  • Reply 76 of 85
    john.bjohn.b Posts: 2,742member
    Quote:
    Originally Posted by seek3r View Post


    Apple would be *very* smart to make the SDK available to everyone, they are sacrificing winning in a market they can win *alot* more market-share (and mind-share) in (smart phones) to attempt to gain more of a foothold in the developer market on the computer level. But this means you have to lay out a lot to dev for the iphone if you're not already a mac user, since OSX doesn't (legally) run in a vm or non-apple hardware.



    Apple isn't in business to prop up Microsoft, they are in business for themselves (as it should be, esp. for a publicly traded company).



    The reality is that the SDK *is* available to everyone, you can get a new mini starting at $599 which includes Leopard and the Xcode 3.0 developer tools, the SDK is essentially free for signing up to the ADC Online membership, the developer deployment kit has a one-time cost of $99, new iPhones start at $399 or the Touch starts at $299. Everything you need for under a grand. If you can work with the iPhone simulator to start and already have a Mac you can start development with no out of pocket costs. I really don't see the problem here.
  • Reply 77 of 85
    melgrossmelgross Posts: 33,510member
    Quote:
    Originally Posted by John.B View Post


    Apple isn't in business to prop up Microsoft, they are in business for themselves (as it should be, esp. for a publicly traded company).



    The reality is that the SDK *is* available to everyone, you can get a new mini starting at $599 which includes Leopard and the Xcode 3.0 developer tools, the SDK is essentially free for signing up to the ADC Online membership, the developer deployment kit has a one-time cost of $99, new iPhones start at $399 or the Touch starts at $299. Everything you need for under a grand. If you can work with the iPhone simulator to start and already have a Mac you can start development with no out of pocket costs. I really don't see the problem here.



    I don't see the problem either, but there will always be some people who want to start a "business" for free. Sometimes, one must make an investment, if only to have some incentive to keep working to pay that money back in the end.
  • Reply 78 of 85
    jeffdmjeffdm Posts: 12,951member
    Quote:
    Originally Posted by John.B View Post


    Apple isn't in business to prop up Microsoft, they are in business for themselves (as it should be, esp. for a publicly traded company).



    I don't think it's about propping up Microsoft, but it's not necessarily simply about being self-serving either, though I imagine that can easily be part of it. I don't think it's necessarily the best thing if a Windows dev programs for the phone without being immersed in how Apple UIs and such are done.
  • Reply 79 of 85
    pmjoepmjoe Posts: 565member
    Quote:
    Originally Posted by deanston View Post


    There seems to be some broad mis-interpretation of the various technology by a few posts that should be clarified. And please correct me too if you think I am making some bad/wrong analogies



    You probably went overboard. The huge mis-interpretation I see here is that people keep equating Java with something running in web browsers ... in other words Applets. I hit dozens and dozens of websites a day ... nobody and I mean nobody uses Applets anymore. I'll admit to personally knowing a couple of exceptions, but in one case the site is like 10 years old and the other it's an optional viewer for large datasets, which they also provide about 6 other ways to view.



    Embedded Applets in websites were done years ago, because quite frankly there weren't really any better ways to do some of those things at the time. Without significant changes in how browsers currently function and handle Java, no programmer worth their salt would use Java for those purposes today, and nobody does ... you can't say the same for Flash.

    Quote:

    3. [Java] is not without its community's own internal debates and controversies. Google's open source Android mobile platform use Java as the programming language but it will run on Google's own custom JVM instead of Sun's. That kind of sums up people's conflicted opinions about Java.



    Google has their own "JVM" (which they don't call a Java Virtual Machine, just a VM, because it doesn't run Java bytecode) to avoid certification and licensing. Sun likely wouldn't approve what they've done anyhow. Lawsuits may yet appear over this before we see Android on a phone (but I suspect Sun and Google will work something out before it gets that far since Android is still an evolving spec).

    Quote:

    7. People probably wonder why I'm talking about Flash in this thread too.



    I have no clue why people are talking about Flash in this thread. So, so, so unrelated. Today, Flash = web embedded programs; Java = separately launchable applications. A well done CLDC or CDC JVM would mean you could run Java MIDP apps or more sophisticated programs right from the icon dock (is that what Apple calls it?). Could certainly include some multitouch input by adding that as an option to the ScrollPane, AWT in CDC = native widgets ... at least for some apps you might have a hard time telling that Java is even there (which happens to be true in some cases on the Mac already). Take this a little farther and you might be running Android apps as well.



    Anyhow since Java applications today are user installed programs, it's not like you're being forced to download and use them.
  • Reply 80 of 85
    seek3rseek3r Posts: 179member
    Quote:
    Originally Posted by John.B View Post


    Apple isn't in business to prop up Microsoft, they are in business for themselves (as it should be, esp. for a publicly traded company).



    The reality is that the SDK *is* available to everyone, you can get a new mini starting at $599 which includes Leopard and the Xcode 3.0 developer tools, the SDK is essentially free for signing up to the ADC Online membership, the developer deployment kit has a one-time cost of $99, new iPhones start at $399 or the Touch starts at $299. Everything you need for under a grand. If you can work with the iPhone simulator to start and already have a Mac you can start development with no out of pocket costs. I really don't see the problem here.



    IMHO, which is of course easily able to be wrong, it's the quick, little, free apps thatll win this one on the consumer end (on the enterprise end, for business apps, the 1k for dev is no problem). If anyone could easily dev for the iphone on their already existing hardware/software apple gets a larger developer penetration easier, and gets a lot of devs who wouldn't bother laying out the grand for a mini and such, but would happily code for the iphone for the hell of it or for practicality otherwise.
Sign In or Register to comment.