strictmode

There's a lot of new, behind-the-scenes goodness going on in Gingerbread, and not all of it was made with the end user in mind.  One of the new APIs, "StrictMode," is built for Android application developers to use as a debugging tool.  It monitors code as it's executed, detecting things that can slow an application down.

It specifically was designed to target disk reads and writes, and network activity, which as Android software engineer Brad Fitzpatrick points out can cause stuttering animation and UI elements that don't respond to input as fast as we would like.  Having an easy to use tool like this means that developers can find spots in their code that might contribute to a bottleneck and take care of the issue before the app goes out for testing.

While the changes that come with Gingerbread don't appear very big on the surface, all these little things add up.  We've went over all the "showcase" changes, but these smaller additions are just as important.  Gingerbread is shaping up to have great potential, and I can't wait to get my hands greasy with it. [Android Developers Blog]

 
There are 12 comments

Reader comments

New 'StrictMode' Gingerbread API helps developers write better, faster apps

12 Comments
Sort by Rating

I honestly looking forward to getting a new phone 1st half of 2011. I have an EVO currently and $150 from Sprint towards an upgrade(I'm only a year into the contract). But I don't want a new contract. Looking forward to see how VZW LTE network perfroms and see what At&t is doing by the end of the year next year, then i'll make up my mind about which carrier and which "ANDROID" phone I will go with. Until then I will Rock my DUAL CORE PHONE THROUGH 2011. Full Price. While I use my EVO for rooting/testing roms and such.