Uncategorized

Android 4.0 Ice Cream Sandwich Has Hardware Acceleration

28

While the folks at Google didn’t make a big deal over this in their announcement and in the platform highlights page, they have indeed added hardware acceleration in Android 4.0. Developers don’t have to do much at all to take advantage – simply make your minSdkVersion or targetSdkVersion values to “14” and your application is automatically taking advantage of the GPU inside.

If you’re not familiar, hardware acceleration employs the GPU to render animations and graphics, meaning your Android experience will be as smooth as on, say, Windows Phone 7 or iOS. It’s something we’ve been waiting on for quite some time and we’re rather excited that it’s finally here. Once you see what hardware acceleration does for the user experience you’ll probably never want to leave Android. [sourcevia]

Quentyn Kennemer
The "Google Phone" sounded too awesome to pass up, so I bought a G1. The rest is history. And yes, I know my name isn't Wilson.

Download: Android 4.0 Ice Cream Sandwich SDK System Dump

Previous article

New UI and Core Features in Android 4.0 Ice Cream Sandwich Overview

Next article

You may also like

28 Comments

    1. My love has come aloooooooong…….

      1. My lonely days are over
        And life is like a song

  1. If I specify minSdkVersion of 14, how will that affect users with older Android OS devices?

    1. Well, your app won’t be shown to owners of older devices in Android Market…

      1. Hmm.. that’s unfortunate. I’d rather my app gracefully switch to non-hardware acceleration when necessary.

        1. I’m using following in Gyrobrowser (Flash won’t run in Honeycomb without this hack):

          Target API in project settings is 11, but HW Acceleration is the only feature from that set. This at least works for me.

          (Disqus XML parser acts up, hopefully the params can be still identified…)

      2. Android market now allows uploading of different APKs for different devices so you could maintain a version with minsdk = 14 and one with minsdk = 8ish so then you will have hardware acceleration when possible. Not ideal but it’s a start.

  2. This was in Honeycomb. This command, that is. But it doesn’t mean that everything is hardware accelerated.

    1. I don’t think you read the quote. In Honeycomb it wasn’t set on by default. In ICS, it is. If you build an app for ICS, it’s hardware accelerated by default.

      1. There must be a catch to this. Why would it have taken Google this long?

  3. meee loveeee silky smooth…..ice cream sandwhich ;)

  4. Finally! Hope that Android can finally be as smooth as iOS or WP7!

  5. ALL MY DREAMS HAVE FINALLY COME TRUE!!! This will be the iOS killer!!!!

    1. I’ve always told the people that I know that no product will ever be an “Iphone/ios killer” as long as you call it such. with that being said I feel the tables have turned and now ios will become the “android killer”.

      1. iOs is not even worth now if being called an Andrpoid Killer. its mreally faaar off now

    2. why do we have to kill i(nflexible)OS? isnt it awesome just to be undisputed no.1?

  6. Finally google is becoming the captain of their ship!

  7. I want to see the smooth scrolling experience of iOS on it.

  8. Excited! Ahehe

  9. whoohoo! One question though, this article just talks about apps, is the UI itself hardware accelerated? sorry im kinda a newbie in this stuff

  10. This article merely confirms that the api exists but we still dun know if it’s enabled for the main launcher and UI.

    In which case this is nothing new since hardware acceleration APIs were present in honeycomb but the OS itself didn’t make use of those capabilities.

  11. people…..the entire OS isn’t hardware accelerated. apps are, but things like scrolling will be SMOOTHER but not hardware accelerated…

    there was a discussion about this, and GPU usage was dismissed because of issues it presented in certain cases. i believe they are still relying on garbage collection, but are banking on dual-core being their savior…

    the entire OS cannot be hardware accelerated iOS or Windows Phone because it is not a composite based OS (i.e. closed like iOS or Windows Phone) because of Java (Android’s version of it) being an “on the fly” OS. this is why it can be customized (widgets, launchers, etc..) but iOS and Windows Phone are like “taped” or “recorded” OS’s (from my understanding) in that animations are already baked in and are optimized for the hardware they are on (a better, more stable atmosphere).

    1. A composited desktop or screen have absolutely nothing to do with whether your desktop is running on statically compiled binaries, or on bytecode on a JIT compiler.

      Garbage collection of your application also has nothing to do with hardware accelerated graphics, GC is a method in which memory allocations are recovered.

    2. This is wildly inaccurate. The terms you are using do not make sense in the way that you are using them.

      Everyone should watch this: http://www.youtube.com/watch?v=v9S5EO7CLjo and then clam up until the source is released and us devs get a chance to read through it and see how much is done on each side of the CPU/GPU boundary for 4.0

    3. Please stop the garbage.

  12. LOL! Still a massive fail. Such is the existence of Android, except in sales. The entire OS is a fucking mess.

Leave a reply

Your email address will not be published. Required fields are marked *