Stories
Slash Boxes
Comments
typodupeerror delete not in

Comments: 283 +-   Google's Android Cellphone SDK Released on Monday November 12 2007, @01:23PM

Posted by CmdrTaco on Monday November 12 2007, @01:23PM
from the can-you-hear-me-now dept.
google
cellphones
business
software
internet
linux
AchiIIe writes "The android SDK has been released to the wild. As expected it features the Linux Kernel, low level libraries such as FreeType, OpenGL, SQL Lite, WebKit (as a web browser), a custom Java Bytecode interpreter that is highly specialized for the CPU. A common java API is provided. A video has been posted with an the overview of the API." SM: Several readers have also written to mention the Android Developer Challenge offering $10 million in prizes for cool mobile apps.
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Hardware? (Score:5, Insightful)

    by Andy Dodd (701) <atd7@nOsPam.cornell.edu> on Monday November 12 2007, @01:25PM (#21325889) Homepage
    What hardware platform does it run on?

    "a custom Java Bytecode interpreter that is highly specialized for the CPU" - Kind of hard to do that in an emulator on a PC. What CPU is this optimized for? (Guessing ARM... Still, to evaluate performance you need real hardware.)
    • Re: (Score:2, Insightful)

      True, measuring actual current draw and temperature statistics will always require the physical hardware in question. But modern hardware simulators are able to accurately model such parameters (as well as architecture-dependent events such as cache misses) and give a good feel for the performance (both in terms of power consumption and software speed). And I'm sure an architecture as popular as ARM has several simulators for that exact purpose.
    • Re: (Score:2, Informative)

      What would be needed would be a developer's model for these phones,
      and the correct transfer hardware and developer's kit from a NON-OHA
      phone.

      Ironically, that makes this really hard, because the old-school (non-
      Android) handsets make it very hard to independently develop with.

      We have a forum thread discussing this possibility:
      http://www.ohadev.com/forum/viewtopic.php?p=23 [ohadev.com]

      Cheers,
      Brian Jordan
      http://ohadev.com/ [ohadev.com] - Android SDK discussion, code samples, tutorials,
      application submission
    • Re: (Score:3, Interesting)

      "a custom Java Bytecode interpreter that is highly specialized for the CPU" - Kind of hard to do that in an emulator on a PC. What CPU is this optimized for? (Guessing ARM... Still, to evaluate performance you need real hardware.)

      The "custom Java Bytecode interpreter" probably means a Jazelle JVM [arm.com] or variant. These are specialized CPU/JVM combinations that execute Java bytecode in hardware. This technology is used on many of the Java phones already in the market.

      -Will [ohadev.com]

      • Re: (Score:3, Interesting)

        Having done a quick pass through the docs, it doesn't look like there's much info on the VM, other than that they're calling it the "Dalvik VM" (a Google search doesn't turn up much - Dalvik is just some place in Iceland, so it's likely they just chose the name).

        I kind of doubt the Jazelle thing, though, since Warren East at ARM was talking smack about Android [wired.com], and they are the ones that do Jazelle...
  • by angryLNX (679691) on Monday November 12 2007, @01:28PM (#21325917) Homepage
    The most common question I've heard is "What hardware is the Android platform running on?" Nobody outside of Google and possibly the Open Handset Alliance members has run it on hardware yet. If you're interested in trying to hack it, there is a board of people trying to get it on some phones: http://www.ohadev.com/forum/viewtopic.php?t=15 [ohadev.com] ------------ Cheers, Brian Jordan http://ohadev.com/ [ohadev.com] - Android SDK code samples, tutorials, discussion
  • a COOL app (Score:4, Funny)

    by cadience (770683) on Monday November 12 2007, @01:33PM (#21325995)
    a TODO list!! ;-)
  • by radimvice (762083) on Monday November 12 2007, @01:36PM (#21326045) Homepage
    Shouldn't this point to the official repository at http://code.google.com/android/ [google.com] instead of http://code.google.com/p/android [google.com], which just looks like some ad-hoc mirror?
  • That's a large enough amount that even I might dust off my old Java skiilz..
  • Android is fully based on Java.

    Being a developer of an open source java database [db4o.com] myself, I am absolutely thrilled.

    This is the the single best possibe thing that could have happened for the success of Java on devices. This SDK will be decisive for how software will be written for the masses in the future: With Java. Don't forget: The number of mobile phone users without a PC will soon be an order of magnitude higher than the number of PC users.
  • by radimvice (762083) on Monday November 12 2007, @01:44PM (#21326151) Homepage
    Some friends and I have started a discussion forum for independent developers at ohadev.com [ohadev.com], please stop by and leave some comments if you're interested in getting in touch with some independent Android enthusiasts.
  • "The Android Developer Challenge is open to individuals, teams of individuals, and business entities. While we seek to make the Challenge open worldwide, we cannot open the Challenge to residents of Cuba, Iran, Syria, North Korea, Sudan, and Myanmar (Burma) because of U.S. laws. In addition, the Challenge is not open to residents of Italy or Quebec because of local restrictions."

    Mama Mia! Tabernak!

  • worth a try.. (Score:5, Informative)

    by abes (82351) on Monday November 12 2007, @01:51PM (#21326259) Homepage
    I just downloaded the SDK, so will hopefully have some time to play around with it. It looks potentially very interesting, but here are a few quick thoughts:

    (1) It's Java. Sometimes Java is the right tool for the job. Unfortunately, I've never been a big fan of the Java libraries. They always seemed overly complex and verbose to do simple things. I say this comparing it to both the STL/Boost for C++ and Cocoa. Granted, both of those libraries have their issues.

    (2) It's eclipse-centric. It looks like they want you to use Eclipse. I'm sure you can do fine without using Eclipse. I'm not sure how dependent it is on creating interfaces etc. So you might do best to ignore this point. Eclipse does some things really well -- taking advantage of being a Java-based editor, it can use RTTI to help in the code-writing process.

    That said, I would be very happy if I never had to use Eclipse again. The interface itself is extremely non-intuitive, gets in the way, and caused a great deal of swearing to occur. Nowadays I use either Emacs, Textmate, or XCode. XCode isn't perfect but it does a really good job of not getting in your way, and occasionally actually helping out (like the reference panel that automatically calls up info on the function your cursor is over .. it's on the side so it doesn't get in the way, but it's there if you want it).

    (3) Code layout. I'm not sure how much of it being a Java thing, or how much it is google, but the fact that I need to go 3-4 directories in just to get to the source code is very frustrating. I'm pretty sure there's better ways to do that.

    (4) I have an iPhone. I'm waiting for the iPhone SDK to be released .. it will be interesting to see how it compares. I really like Cocoa. It's really a great language/libraries for developing windowed systems. Interface Builder is the only GUI builder I think makes sense. I hate code generation, and I hate the weird quirks that come with many others (QT, Visual Studios, WxWidgets, GLADE++). IB just works.

    (5) It appears to come with an emulator, which is very cool! That is a major win for fast development times.

    Give all my complaints, I'm probably going to try writing an app or two for it ASAP. Code should be fun to write, which will be my major test for how good/bad the platform is. I also wonder how configurable it is. Did they come up with good conventions? If not, can you override them, or will all apps suffer the same?
    • Re:worth a try.. (Score:5, Insightful)

      by radimvice (762083) on Monday November 12 2007, @02:05PM (#21326453) Homepage

      Some responses to your points:

      (1) It's Java.

      Java is the entrenched standard for mobile development. Google isn't pushing Java here, they're trying to maximize their reach to existing mobile developers.

      (2) It's eclipse-centric.

      As mentioned on their site, Google's developers use a mix of Eclipse, IntelliJ, and NetBeans for development, which is pretty much the standard in Java development. They've probably released an Eclipse plugin first because it had the broadest reach and perhaps it was the easiest environment to create a plugin for. I doubt this means that Google is pushing Eclipse, however, I would expect tutorials and documentation (if not additional plugins) to be released for the other environments soon enough.

      (3) Code layout.

      Code layout in package directories is pretty much a Java thing, again pretty standard.

      (4) I have an iPhone.

      iPhone is a single phone. Android will support a whole platform of upcoming phones. This is a big enough difference to be interested in the Android SDK at the very least, if not both. Plus, you can check out the Android SDK now while you'll have to wait until February for teh iPhone SDK.

      (5) It appears to come with an emulator, which is very cool!

      Yeah, it is very cool! This is also pretty standard for wireless toolkits (WTK), since development on the devices themselves is usually difficult and time-consuming. My company's [javaground.com] suite of game development tools includes a similar universal emulator, which I love using. It's pretty much a must for mobile development.

      I'm also looking very forward to playing around with the SDK. Hope some great things can come from these developments in the mobile world.

      -Will [ohadev.com]

  • ZOMG! (Score:3, Funny)

    by 0xdeadbeef (28836) on Monday November 12 2007, @01:52PM (#21326267) Homepage Journal
    It's a Cylon!

    I demand that henceforth we all refer to the runtime as the Dalek VM.
  • by bogaboga (793279) on Monday November 12 2007, @01:54PM (#21326297)
    Can someone tell me how Google will make money off this open source platform? Individual phone companies will create their own apps and port them to the phones. How will Google cash in? May be via ads but suppose the phone companies refuse.
    • It might be worth it for them just by making it hook in easily with Google ads and search.

      Think about it this way: as mobile phones become more powerful and internet-ready, more people will be doing more of their casual online stuff on their phones. Right now, lots of smartphones are defaulting to Windows for their development. That means their web browsers will probably use Live search for their search engine. Phones will recommend Hotmail for anyone looking for webmail. It will become a good way for Microsoft to fight Google for online dominance.

      So what's Google's way to fight back? Apple's keeping the iPhone software to themselves. Palm is basically a joke. RIM's stuff is pretty limited. Google has to build their own platform so that Nokia and Motorola will be using Google Search, Gmail, Google Apps, Blogger, etc. as a default.

      So that's where the money is. That's where all Google's money comes from.

      • Re: (Score:3, Interesting)

        It's more than that. Google makes money by gathering information about you based on your searches and email contents, then sending that info to advertisers. A Google phone could do both of those things, but could ALSO target ads to you based on your GPS coordinates!

        For example, if your search history included something like "taco bell nutrition information," and you were walking past a Taco Bell, I'm sure Pepsi Co would gladly pay Google some cash to have your phone pop up the message "try our new Grande C
    • I don't think they plan to make money from this, it just looks a way to avoid Microsoft doing in cellphones what it did in desktops.
    • Re: (Score:3, Insightful)

      Just a hint from the API: Google Maps is integrated into the framework. Thus, location-based services developed on this platform will use Google. This is no small thing -- look at the Google Maps mashups of the last several years.

      As a user of Google Maps on Windows Mobile, I can tell you that the only thing broken about it is Windows Mobile. Amazing operating system, assuming you adopt the "why the heck did it just do that?" definition of "amazing". (e.g. wakes from hibernation to display the "low batt
  • WebKit? (Score:5, Insightful)

    by DdJ (10790) on Monday November 12 2007, @01:59PM (#21326377) Homepage Journal
    Holy crap, they bundled WebKit? I somehow missed that in all the hoopla.

    That means that the gPhone web browser has the same rendering engine as the iPhone web browser, the one that's shared by Safari (and OmniWeb) on the desktop. It's going to get less and less safe for web developers to ignore that rendering engine...
    • Re:WebKit? (Score:5, Insightful)

      by ianare (1132971) on Monday November 12 2007, @02:34PM (#21326837)

      It's going to get less and less safe for web developers to ignore the standards and only code for IE...
      There, fixed.
    • Re:WebKit? (Score:5, Informative)

      by makapuf (412290) * on Monday November 12 2007, @06:12PM (#21329711)

      the one that's shared by Safari (and OmniWeb) on the desktop
      And Konqueror, damnit! IIRC, They wrote this code in the first place, please credit them at least here !
  • by SmallFurryCreature (593017) on Monday November 12 2007, @02:01PM (#21326405) Journal

    You know who you are, the ones that said Ballmer had a point last week when he called Android a press-release. Well, here is the SDK, as promised. On time.

    So will all those slashdotter who doubted eat crow now? Or will the MS fanboys just pretend this never happened, or now move on to, "all google has is a press-release, and a sdk, and an alliance".

    Come on, we need some amusement here. Spin this one!

    • Re: (Score:3, Insightful)

      "So, were all the nay-sayers now?You know who you are, the ones that said Ballmer had a point last week when he called Android a press-release. Well, here is the SDK, as promised. On time."

      OpenMoko mailing lists have average 50 posts per day (and has been that way for months). They've released real hardware. There are hundreds of youtube videos demonstrating OpenMoko interface, and hundreds of people hacking on the phone. It's the only phone where hackers are tolerated, let alone welcomed.

      And the biggest t
  • by 605dave (722736) on Monday November 12 2007, @02:05PM (#21326439)
    To me the most interesting aspect of the announcement was the inclusion of WebKit as the HTML rendering solution. This is a huge boon for the WebKit project, and should make many of the new iPhone web apps compatible with the new system. I'm not an expert on this, but isn't any one else surprised by the decision? Isn't Google traditionally associated with the Mozilla engine? By going with the WebKit, developers now have a target browser for Windows, Mac, the iPhone, Nokia, and now gPhone. (and there seem to be several linux projects building on it). Not to mention that the KDE group is now working to merge back in with WebKit. Sounds like a pretty strong platform for me. And an open standard that will benefit a great deal from the powerful groups working with it.
  • by DdJ (10790) on Monday November 12 2007, @02:05PM (#21326461) Homepage Journal
    You know, it may not take a whole lot of work to get an Android runtime up and running on the iPhone once they open up the iPhone SDK. I read through the Android dev docs, and apps are written in Java. You don't directly call native code, you just have a JVM with libraries available to it. So it may not be all that hard to get a compatible runtime into a much wider variety of devices.

    That would mean that you could code for the gPhone and deploy on the iPhone (or even iPod Touch), either by loading the runtime onto the iPhone first (cf. "Cedega"), or by bundling a stripped-down runtime into the iPhone version of the app (cf. "Cider").

    That'd rock. That'd rock hard. I'd become an Android developer if things work out that way.
  • by sribe (304414) on Monday November 12 2007, @02:08PM (#21326501)

    The android SDK has been released...

    No it hasn't. THAT'S IMPOSSIBLE! IT'S JUST VAPORWARE! IT'S JUST A PLAN ON PAPER! THERE'S NOTHING BEHIND IT, NO SPECS, NO DETAILS!

    I'm 100% sure this is the case because Steve Ballmer said so. All claims to the contrary must therefore be lies.

    • Re: (Score:3, Insightful)

      Not to be the rationalist when you're clearly poking fun of Mr Nervous (Ballmer), but at the time he said that (in a press conference last Thursday in Tokyo) he was right - there really wasn't much info out there, and a lot of the speculation was wrong. Today was the first release of any hard info and SDK, but they still haven't released any performance numbers and it still doesn't run on any existing handset (at least publicly).

      Google does have a strong corporate backing, however, including companies that
  • SQL Lite ? (Score:4, Informative)

    by BuR4N (512430) on Monday November 12 2007, @02:20PM (#21326645) Homepage Journal
    I belive that should be SQLite (www.SQLite.org)
  • by TheNarrator (200498) on Monday November 12 2007, @02:30PM (#21326797)
    http://code.google.com/android/ [google.com]

    Check out the video of Sergei! He's the CEO of the company, worth billions of dollars, making an official product promotional video and he's wearing a shirt that looks like he slept in it! If you can be a billionaire wearing shirts that you slept in I don't even know why I even bother wearing a collar at all :).
    • If you can be a billionaire wearing shirts that you slept in I don't even know why I even bother wearing a collar at all :).

      Other way 'round. Sergey can wear whatever shirt he wants because he is a billionaire (also note his hair looks as if it has just been slept in as well in that video). You, on the other hand, not being a billionaire, must wear the shirt that The Man tells you to wear.

      -jimbo

  • First Post? (Score:4, Funny)

    by dfj225 (587560) on Monday November 12 2007, @02:45PM (#21326993) Homepage Journal
    First post from the Android emulator? Its slow as balls, btw...
  • Dollars? (Score:4, Funny)

    by nicklott (533496) on Monday November 12 2007, @02:53PM (#21327109)

    $10 million in prizes
    I hope that's Canadian dollars, US might not cover your ADSL charges...
    • Re:Java means (Score:4, Insightful)

      by Andy Dodd (701) <atd7@nOsPam.cornell.edu> on Monday November 12 2007, @01:45PM (#21326177) Homepage
      I'm assuming (need to confirm) that Android is primarily developed using native ARM code, it just happens to include a Java VM for all those legacy MIDlets running around out there.

      It would be suicide (see Palm as an example) for Google to make developing using native code difficult. (For those not in the know, even though PalmOS has run on ARM CPUs for years, normal apps are still emulated m68k code, with the option of "ARMlets" to allow snippets of native code on PalmOS 5. Writing an ARMlet is an UNHOLY NIGHTMARE. I attempted to speed up a program by replacing some code with native ARM code and gave up.)
      • Ooops (Score:4, Insightful)

        by Andy Dodd (701) <atd7@nOsPam.cornell.edu> on Monday November 12 2007, @02:33PM (#21326833) Homepage
        The documentation isn't quite clear, but it looks like I was wrong and unfortunately Android apps are indeed intended to be written in Java. (as opposed to, say, something like a C/C++ toolkit with bindings for other languages, such as TrollTech's mobile Qt variant.)

        I just lost a lot of interest in Android, if it pigeonholes developers into a single language and makes compiling native code with an efficient language difficult. Java utterly failed in the "Write once, run everywhere" arena, and it's an ugly horse-designed-by-committe language that universally leads to bloat. (See, for example, the memory usage and UI responsiveness of uTorrent when compared with Azureus.) There's a big focus on mobile devices towards multimedia applications (video, audio), and smooth video playback on a phone takes even natively compiled code to its limits.
        • Re:Ooops (Score:5, Insightful)

          by LWATCDR (28044) on Monday November 12 2007, @03:36PM (#21327607) Homepage Journal
          Using Java doesn't cause lock you into a single language. The JVM could be targeted by any number of languages all you need is a compiler that will output the correct bytecode.
          Going with a JVM is the only logical way to go with this kind of system. You don't want the end user to have to compile the application for their phone and yow don't want to have recompile a for each new cell phone that hits the market.
      • Re:Java means (Score:5, Interesting)

        by ciw42 (820892) on Monday November 12 2007, @04:58PM (#21328729)
        Nope. With the exception of the libraries, it's pretty much all Java, and actually, it would be insane for them to allow you to code natively. You loose all of the advantages of hardware independence which is exactly why this sort of platform exists in the first place.

        PalmOS primarily ran on low power devices, and you pretty much needed to "hit the metal" if you wanted to get any sort of performance from your apps. It's something I used to do a great deal in the past, but not for many years.

        However, we're talking about much more powerful devices here. Even the most basic smart phone packs quite a bit of processing power these days, and much of the core functionality is provided at a hardware level, so the level of abstraction provided by a driver model is absolutely essential. If you go low level, then your application isn't able to take advantage of the additional power offered by some devices but not others. You end up coding to the lowest common feature-set.

        Making use of the APIs which provide interoperability and a standardised framework is the only way to ensure that your software will run on all Android devices, something which from a business point of view is essential.

        For what it's worth, I was always a big fan of Palm's work back in the day, but they really haven't moved with the times, and I genuinely can't see them surviving for long now that Google have put together what, certainly at first inspection, appears to be a very fine, well thought out, free mobile platform and application stack, especially as they are also providing all of the necessary tools and support for free.

        I know I'll certainly be putting in the time to fully learn the APIs and try and come up with novel commercial ideas for a chance to get hold of some of the $10M cash their putting up to get as many people involved as possible. I suspect many others will be doing the same.

        With a company the size of Google behind the software, and interest from plenty of big players on the hardware front, coupled with sensible Open Source choices when it comes to the main platform components, I can't see it being anything other than a success.

        Whilst it's currently being marketed as a smart phone platform, Android easily has the potential to spur on the creation the sort of non-mobile convergence devices that we've been expecting for years, but which have failed to materialise. If you look at the functionality provided by the platform, it's more than capable of providing all of most people's day to day requirements of a full PC, and not just a mobile device. If you ignore gaming, which has always been the driving force behind the push for faster hardware, then most users only require a small fraction of the processing power available in their desktop PC, so I wouldn't be at all surprised if within the year we didn't have full desktop oriented devices based around Android on the market.

        As you can probably tell, I think Google have done pretty much everything right as far as Android is concerned, and I'm very excited about it. I fully expect the smart money and development talent to be behind them, if not from the very start, then very soon.
    • by radimvice (762083) on Monday November 12 2007, @01:51PM (#21326255) Homepage

      Real slow phones.

      No. Most of the phones on the market today use Java for graphics and applications, including pretty much all of the popular cell phones in Japan that make any phones in the Western world look childish by comparison. The problem is that there is an impression among standard Windows developers that Java is necessarily slow, which is absolutely not true. Sure, the early PC JVMs, the Swing toolkit and the applet model were resource-hungry abominations, but Java on cellphones is lean, mean, and it's already pretty much everywhere.

      • Re: (Score:3, Informative)

        Most of the phones on the market today use Java for graphics and applications, including pretty much all of the popular cell phones in Japan that make any phones in the Western world look childish by comparison. The problem is that there is an impression among standard Windows developers that Java is necessarily slow, which is absolutely not true.

        Not disagreeing with you but it's important to point out that the Java that runs on a phone is micro edition which has some important differences from standard edition. They're not exactly the same thing. And it's also important to note that there are other contenders for cell phone apps like BREW (at least that was around a while ago, not sure if it still is).

    • Re:Java means (Score:4, Informative)

      by Creepy (93888) on Monday November 12 2007, @03:49PM (#21327797) Journal
      Let me think about that for a sec...

      Windows Mobile is essentially Windows CE + .NET ES.
      .NET ES is a bytecode interpreter platform for VB, C#, J#, etc.
      ergo, by postulate "Java means Real slow phones,"
      Windows Mobile also means real slow phones.

      Anyone have a problem with that? :)

      Seriously, both .NET and Java are pretty mixed when it comes to real world performance and memory usage. In a tiny app I wrote as an experiment in C#, I found .NET about 10% faster and 20% less memory efficient than the Java app it was based on. I've read .NET apps outperform java memory-wise in some real world conditions, as well as .NET having a problem with hitting memory bounds (and running very slow or crashing) much faster than java so as we say in the industry, YMWV [thefreedictionary.com]. Both are generally about 10%-30% slower than C/C++, and both require memory tweaking by the programmer at times. For most mobile uses, this will be a non-issue - either is fast enough, and most apps won't put too much stress on available memory.
                • Re: (Score:3, Informative)

                  I have a feeling that you are looking at programming in completely separate way from the GP. JVM managed garbage collection has proven useful as it can schedule memory management at appropriate times as opposed to freeing/allocating memory at every stack pop (depending on where it was allocated). I know how you feel, and I was completely anti-Java up until I had to use it for work, and there are some things that make me fight Java (Lack of operator overloading, and multiple inheritance), but they aren't c
    • Re:Random? (Score:5, Interesting)

      by hitchhacker (122525) on Monday November 12 2007, @02:50PM (#21327077) Homepage
      They don't necessarily need to make a profit w/ Android. This whole thing might be a defensive strategy to keep the client-side web open, which is something google's real profits depend on.

      -metric
      • Re: (Score:3, Insightful)

        Thanks ever so much for the feature-checklist defense. That's the exact thing that is holding phone development back - the inability to see past the feature list that says "MP3 player!" and realize that that MP3 player is clumsy and unusable.

        The iPhone is breaking new ground exactly because it is prettier, smoother and more friendly. That is what I was talking about from the start.
Order and simplification are the first steps toward mastery of a subject -- the actual enemy is the unknown. -- Thomas Mann