Slashdot Mirror


Android 3.0 Platform Preview and SDK Is Here

mikejuk writes "Google has released the Android 3.0 SDK, to allow developers time to create the apps that will run on the flood of tablet devices that should be availalble later in the year. The preview includes improved 2D and 3D graphics, new user interface controls, support for multicore processors, DRM and enterprise security features. It is complete with a 3.0 emulator that you can use to try applications on, but you can't add them to the app market just yet."

29 of 129 comments (clear)

  1. Re:Any chance we'll get rid of Java? by Sarten-X · · Score: 2, Insightful

    Not likely, and apart from various forms of trolls, there's no reason to.

    --
    You do not have a moral or legal right to do absolutely anything you want.
  2. Re:Any chance we'll get rid of Java? by alvinrod · · Score: 2

    There is a reason to if it's likely that Oracle's lawsuits will be successful. If that came to pass, the handset manufacturers (or Google) would be required to pay Oracle. At that point it might be cheaper for them to use Windows Phone. Of course it may also drive the manufacturers to MeeGo as well.

    Speculative future; oh hell yes, but there may be reasons for getting rid of Java.

  3. From iOS developer POV by EMB+Numbers · · Score: 2

    The enhancements including new/improved GUI controls and built-in animation support will make re-hosting features from iOS easier. There seems to be some confusion (possibly only in my mind) or overlap between Views, Widgets, Fragments, and Drawables as well as between Canvas and Paint. The whole framework seems disorganized or lacking consistent application of patterns, but I admit that I may just not see the forest for the trees.

    1. Re:From iOS developer POV by JAlexoi · · Score: 2

      What's the confusion or the overlap? Views are the most basic UI elements, Widgets are builtin UI controls, Fragments are collections of views/widgets, Drawables are objects that you can draw on a Canvas. Canvas vs Paint? How is that confusing? Does it confuse you when a painter uses a canvas and paint?

  4. Re:Any chance we'll get rid of Java? by mlts · · Score: 3, Funny

    Google might just end up making a new VM system, similar to what Microsoft did with .NET.

    This might have some advantages. Perhaps language independence could be put in, so Java source code files can be used, but they would compile to the new VM format, similar to how Microsoft's J# compiled to .NET. This way, someone can use Java syntax, C++ syntax, heck, even a version of BASIC and still get the same bytecode coming out. Add JIT, and there would be little performance overhead.

    Oracle doesn't seem to be doing much with Java anyway, so if Google made a VM system from scratch, perhaps it might be better overall in the long haul, especially if it was designed from the ground up for security, learning the mistakes Sun/Oracle made.

  5. And for phones? by AC-x · · Score: 2

    They're making a big deal about the new tablet features, but what does it add for phones? Will it even be released to phones? They don't even mention phones in their promo video. I hope they haven't forgotten about us...

    1. Re:And for phones? by AuMatar · · Score: 2

      3.0 is basically 2.3 for tablets. 3.0 is tablet optimized, where 2.3 is phone optimized.

      --
      I still have more fans than freaks. WTF is wrong with you people?
    2. Re:And for phones? by hitmark · · Score: 2

      Well it will be compatible with existing apps, and 2.3 already lay the groundwork for providing apps that work on both phones and tablets (by including ui elements for both via the *dpi and screen size groups).

      --
      comment first, facts later. http://chem.tufts.edu/AnswersInScience/RelativityofWrong.htm
    3. Re:And for phones? by jonbryce · · Score: 3, Informative

      Honeycomb is for Tablets only. Ice cream will be the next phone OS.

  6. This is where Nokia missed the boat by c.r.o.c.o · · Score: 5, Interesting

    I used to be the biggest supporter of Nokia's Maemo/MeeGo OS. Except for the N770, I owned every single Maemo device they released (N800, N810, N900) and I loved them. They were true pocket computers running full, unlocked versions of Debian.

    I still own the N900, which at the time it came out, was miles ahead of anything else available on the market in terms of features, customization, and hardware. It was amazing to have full desktop (not mobile) skype connectivity built into the phone. Just connect to wifi or 3G and make calls to any other Skype computer or N900. Full (not web) browsing enabled by default. Flash 9 preinstalled. But it is almost a year and a half later, and in the meantime Nokia has not released any new Maemo/MeeGo hardware, and only 1 major update to the N900 firmware. Even that update only fixed minor bugs and added the QT libraries.

    In the meantime, Android went through at least 3 major revisions, and there are a multitude of devices to fit any need and budget. And now it matches pretty much all the features that made the N900 special. The worst part? Nokia hasn't even announced ANY MeeGo devices, let alone released them. They may still do it, but I think it's too little too late.

    1. Re:This is where Nokia missed the boat by exomondo · · Score: 4, Insightful

      But it is almost a year and a half later, and in the meantime Nokia has not released any new Maemo/MeeGo hardware, and only 1 major update to the N900 firmware. Even that update only fixed minor bugs and added the QT libraries.

      I think they tried to get the community to shoulder too much responsibility for the OS - it's great that it's open source, but there isn't much open source that succeeds without corporate backing and for a predominantly consumer device that corporate backing has to come from the manufacturer. It would be nice to see meego flourish, and it certainly could given Nokia's market share, but consumers have been consistently disappointed by Nokia's high-end offerings, sure the N95 and N900 are great but the N93, N96 and N97 were all pretty awful IMO. Hopefully Intel and Nokia devote their full attention to Meego, if they don't then i see it ending up like Maemo.

    2. Re:This is where Nokia missed the boat by Richard_J_N · · Score: 4, Informative

      Actually, it wasn't open-source enough. Many of the nasty bugs in the platform related to closed-source components. For example, I wanted to be able to simultaneously run a VoIP call and use the camera. But the camera "helpfully" wouldn't run during a call, because it needed the sound card to make the "click" noise. I tried to fix it, but was told that the camera app was closed source. There was an open-source camera library component...but only if I didn't want auto-focus! Another N900 killer was video-calling. Almost there, but pulse-audio was hogging 30% CPU doing (un-needed) sample-rate conversion - and we couldn't remove it.

  7. Re:Any chance we'll get rid of Java? by flight666 · · Score: 4, Informative

    Android has it's own VM system, and it's called Dalvik. It has language independence built in so Java source files can be used... they compile to DEX, the Dalvik bytecode format. It does JIT.

    Please tell me that the above was (well-disguised) sarcasm.

  8. Offtopic by jiteo · · Score: 2

    That's cool and everything, but can we get the *current* Android version for our Nexus Ones please?

  9. Re:Hmm... by Facegarden · · Score: 2

    There are some ways to use other languages - the Mono project is pretty far along with getting C# working for Android, and you can write native C++ apps with the NDK (native development kit), but google strongly suggests not using the NDK just because you'd rather program in C++, as it is much easier to write bad programs in C++ than it is in Java (they suggest using the NDK when you're doing computationally intensive stuff like 3D games, or you have some game engine already written in C++).

    For the most part, yeah, you just need to learn Java. But from what I've seen, its not really that bad. I've never more than toyed with Android development, but none of it looks very tough.
    -Taylor

    --
    Worldwide Military budgets: $2100 billion. Worldwide Space Exploration budgets: $38 billion. Really, world? Really?
  10. Re:Thanks. by wmshub · · Score: 3, Interesting

    (Note: I'm the person who posted the first response too, but I wasn't logged in then so it came out as from anonymount).

    If you want to do some custom drawing, then sure, you can start with a View and extend it to make your own Widget.

    You can draw without a View, but only on bitmaps. Canvases from the screen come from Views. If you have a Drawable and you want it to appear on the screen, then the easiest way is to create any view you want and just make the background be that Drawable. This can all be done in XML in your layout resource file and it doesn't take a single line of Java code. It's very easy once you're used to it.

    When I started out my biggest confusion was Activities, Apps, and Tasks. Those really mixed me up. But once I got used to them I found them very nice, it makes it easy to build modular apps that work together smoothly.

  11. Re:Action Bar seems dangerously close to desktop.. by SuperKendall · · Score: 2

    The 'Action Bar' isn't static, it's is customizable by the application

    In what way is that not a menu bar as on a desktop. It's the very definition of a menu bar...

    --
    "There is more worth loving than we have strength to love." - Brian Jay Stanley
  12. Re:Hmm... by zuperduperman · · Score: 2

    Don't be scared of learning Java on Android. It is the most pleasant experience I've ever had with Java. Basically, Google threw out all the onerous libraries and instead you're talking to the Android framework which is far simpler and easier to work with. A lot of the Java fear and loathing that you read about is based on the ridiculous stack of libraries and bloat that accompanies Java web stacks. Android has none of that.

  13. Re:Hmm... by Tapewolf · · Score: 3, Informative

    With a tablet android version, they might finally have gotten me into android app development. I'm not sure exactly how this works, would I have to learn and use java or could I just use any language?

    If you have an existing C/C++ codebase it is possible to hive parts of it off as a library (.so) and load it into your java code via JNI, but for the most part your user interface has to be written in Java and compiled into Dalvik bytecode.

    As of Android 2.3 it is apparently possible to write the entire program in C/C++, using a special option in the manifest file and an Android-specific entrypoint. 2.3 also adds event hooks to help with getting input, but AFAIK there is still no way to get at the user interface. You can, however, do OpenGL (probably OpenGL SE, but not sure) and roll your own, but that's generally most useful for games and things rather than, say, a text editor (which Android could use a few more of).

    There are a few gotchas when using the Native Development Kit - it's got most of POSIX but not everything. pthreads is a little iffy in places and it doesn't support unicode properly (Android doesn't use Unicode, it does something else).
    For example, passing a unicode string between C and C++ modules will cause a bus error, because unicode is 32 bits in C++, and 8 bits in C which caused a lot of head-scratching at first.

  14. Death ray at Google! by Dayofswords · · Score: 4, Funny

    From the video
    at 0:19

    Attila Bodis 12/21/2010
    CONFIDENTIAL: Death ray hardware rev 2.0
    - Hi Mike, Please don't share; this is just a [cut off]

    --
    Someday we'll hit the human carrying capacity. And the band will just play on.
  15. Re:Any chance we'll get rid of Java? by exomondo · · Score: 2

    Google might just end up making a new VM system, similar to what Microsoft did with .NET.

    How would that be different though? MS still pay royalties to Oracle (initially to Sun) for patents used in the .Net system. If Google loses the case with Oracle over Java they will end up paying royalties just like MS does now.

  16. Available to the privileged few. by Microlith · · Score: 3, Insightful

    Google did a bang up job kneecapping open source efforts in the mobile space, convincing the community to chase after an environment that discarded pretty much every existing open source tool in the name of NIH and withholds new versions from the community until their partners are done getting their releases out with it.

    Then they sit back and have the nerve to tell us that Android is "open" while users are forced to jailbreak and deal with vendors that try to cripple devices so they can leverage later versions as a selling point for the next carrier contract.

    I hope that MeeGo takes off with non-asshole hardware vendors, if not the we might as well right off the mobile computing space as being property of Microsoft, Apple, and Google.

    1. Re:Available to the privileged few. by linuxguy · · Score: 4, Insightful

      Before Google "open" mobile platforms were a bad joke. I wanted them to succeed. But no hardware manufacturer or carrier took them seriously. Some companies like Motorola did build very bad phones based on Linux but they were very closed devices. Google comes along and gives you a platform that is completely open, gives it away for free. Do whatever the hell you want to do with it. Many vendors like Motorola take the bits and build phones around it. Most of these phones are locked. But you can hardly fault Google for it.

      If somebody builds a device with Linux that you do not like, do you blame Linus Torvalds for it?

      When I was in the market for a new phone a a month or so ago, I narrowed down my choices to:

      iphone/iOS
      Blackberry
      Windows Phone 7
      Android

      Tell me, which one is the most open platform of them all? For me, I decided to go with Samsung Epic and have not regretted that decision for a minute. It is easy to root the phone and install whatever the hell I want on it, including my own damn Linux kernel.

      I am thankful that Google is here. I have a crop of very capable devices running Linux to choose from. Without Google, these options would not be available to us. Give credit where credit is due.

    2. Re:Available to the privileged few. by Microlith · · Score: 2

      Make no mistake, Android is better than the other, closed alternatives. I'm just annoyed that Google came out trumpeting how open they were, yet they expressed NIH syndrome to a ridiculous extent and reimplemented the wheel almost completely.

      Google comes along and gives you a platform that is completely open, gives it away for free. Do whatever the hell you want to do with it.

      The end result is a nasty OS you have to root, that isn't compatible with anything else in the Linux world without a ton of hacking, code spread everywhere that doesn't go upstream (and except for the kernel, has no real upstream last I checked.)

      I would give Google more credit if they had leveraged the efforts that were already under way even if it meant totally ignoring things like OpenMoko, rather how MeeGo is banking on the upstream heavily. But deliberately ignoring all the work that was out there for what appears solely to have been to retain exclusive control over the platform (to no great effect) and holding releases for major hardware vendors instead of being fully open about it just disappoints me with how they trumped up their release back in 2008.

      So again, unless things change the mobile space goes where Microsoft, Apple, and Google decide.

  17. Re:Any chance we'll get rid of Java? by icebraining · · Score: 2

    Scala, Python, Ruby, Closure, Groovy and a few more.

  18. moving to fast by josepha48 · · Score: 2, Insightful

    I think android is moving to fast. In the last year we saw 2.1, 2.2, 2.3 and now 3.0. I think they need to scale back to annual releases because phone makers don't or can't keep up and then people end up upset because they are not on the latest version of the OS. Also not everyone wants to root their phone and install some cyanogenmod version or other hacked version. I'm not saying that there is anything wrong with people doing that, but the average phone user wants to buy a phone that will not be out of date in 6 months. I also realize that not all android phones suffer this, but there are many that came out with 1.x last year and still have not been upgraded to 2.x and many wont see 2.3. When apps stop coding to the 1.5 version and 1.6 version as many are doing that makes a phone that is less than a year old outdated and then upsets customers. If you are on a 2 year contract then you screwed after 6 months, you will probably not be doing an android phone again and now that iphones will run on verizon this could be trouble for android.

    --

    Only 'flamers' flame!

    1. Re:moving to fast by Zebedeu · · Score: 2

      That makes no sense.
      Do you also complain that car manufacturers are advancing too fast with safer, cleaner and more efficient technology just because you can't buy a new car every year?
      Should innovation stop and advance at the rate of your financial capability?

      I think it's great that they're constantly improving Android, even if it does make me wish my hardware were more up to date. But there's a nice solution for that -- get a Nexus device (which is what I'll do when it's time to replace my current one).

      Meanwhile, don't worry -- your Android device won't become less useful over time.

  19. Re:Any chance we'll get rid of Java? by squiggleslash · · Score: 2

    Oracle's lawsuit is because Google created their own VM system rather than copying the JVM. Oracle believes that any VM system that infringes on their patents (basically any VM system more modern and efficient than the UCSD p-System) should either be compatible with the J2SE specification, or should be licensed with Oracle getting paid out of the deal.

    --
    You are not alone. This is not normal. None of this is normal.