dcsimg

Catching up with the Gingerbread Man

Android 2.3 SDK has arrived

Another season, another release

The Android team has released the latest OS update — aka Gingerbread.

While this is only a “point” release beyond Froyo’s 2.2 level, there are quite a few new pieces of functionality in this version, really offering “something for everyone”.

For those who are always checking their monthly minute balance, Gingerbread adds capability for Voice over IP (VOIP) via a Session Initiation Protocol (SIP) library. The library supports both initiating and receiving calls via a new package of APIs named android.net.sip. Want to call internationally, get yourself a SIP account and call away!

Of course, it remains to be seen how much of this functionality is actually supported by the various carriers who are subsidizing the phones. Google Voice and Skype are already available for Android devices, however the addition of this library makes VOIP capabilities more accessible to developers for creating converged communications applications. Naturally not all of those applications will be helpful: imagine a “Distributed Denial of Dial-Tone Attack” with an army of Droids dropping DTMF bombs on the congressional switchboard. It could be like the Clone Wars as the look-alike politicians combat the dialing droids. Mr. Lucas was certainly ahead of his time. Perhaps Android 3.0 will include a light-saber?

Speaking of the force, the next new feature to highlight is Gingerbread’s Near Field Communications (NFC) capabilities. NFC is a very short range communications technology which can be considered an iterative enhancement over RFID readers which can read passive tags. An Android device with NFC capabilities should be able to both read an RFID tag as well as share information with another NFC-capable device in close range. Here close range is defined as a few inches or less. Want to buy something? No problem, just swipe your phone past a fixed scanner, or even exchange funds directly with another individual by touching, or bumping, phones together. Just what we need, another means of increasing our debt! I wonder if Dave Ramsey will ever advocate putting our cell phones in envelopes or cutting up a Nexus S on stage for dramatic effect?

In order to interact with a “smart tag”, an application needs to register an IntentFilter for the action: “android.nfc.action.TAG_DISCOVERED”.

When a tag is read, the data is sent to an application as data attached to an Intent as “extras”. If this doesn’t make any sense to you, research the BroadcastReceiver.

This event-oriented architecture of Android makes it ideal for lifestyle events and continues the change in our programming styles away from monolithic applications and increasingly towards a collection of functionality installed on our devices — customizable to the way we live, work and play. OK, so that sounds like a commercial, but really think about the possibilities of a collection of narrowly defined functionality, customized just the way we want it. Very exciting things await Android fans down the road.

Back to the new stuff in Gingerbread. There is quite a bit and we’re not going to review all of it here because I want to jump ahead to talk briefly about the new Native Development Kit, or NDK. Before I share my thoughts on the NDK, I feel obliged to enumerate the areas where there are enhancements to the SDK, so here is a list of new and/or updated areas:

  • Multiple camera support
  • Enhanced audio capabilities
  • New developer oriented “Strict Mode” which aids in development by keeping applications within the lines
  • Download Manager
  • Numerous User Interface enhancements:
    • Scrolling
    • Touch events and filtering
    • Text selection
    • Large screen (i.e. tablet!) support
    • Open GL APIs
  • Better battery life with adaptive LocationManager features
  • New ContentProviders for making application and data interactions more intuitive and accessible

The full feature list may be found here.

The Slippery Slope

Now, let’s discuss the changes to the NDK.

Up until this point, the NDK has been a means for adding C code to an Android SDK application. In simple terms, the NDK permitted developers to create Java Native Interface (JNI) libraries. JNI libraries are useful in certain areas to bring some body of C code into an application, however the capabilities are somewhat boxed in. With the latest NDK release, the barn door is opened and the horse is nosing its way onto the track, hoping to enter a full gallup to native applications.

The r5 release of the NDK seems to answer the prayers of C programmers hoping to avoid Java — let’s have a look.

The NativeActivity brings the main Android Application component, the Activity, to native code. This NativeActivity runs in the main UI thread, thereby enabling native-written applications. The primary target for this kind of functionality is game authoring. NDK programmers can access graphics, windows, audio, events, resources and storage mechanisms. In other words we should be able to build real applications right from this environment.

Many developers have been looking for this functionality from day one and we should see some folks get off the sidelines and join the Android fray, introducing new gaming and other hardware intensive titles to the Market.

The NDK toolchain has changed also, in a good way. This is something we will examine in an upcoming article. This is getting exciting!

Comments on "Catching up with the Gingerbread Man"

timhoppen

Um, there is already a light-saber available :)

Reply

Hi, Neat post. There is a problem with your site in internet explorer, would test this… IE still is the market leader and a large portion of people will miss your wonderful writing because of this problem.

Reply

Wow! Talk about a posting knkicong my socks off!

Reply

sliding scale auto insurance quote how much online cheapest auto insurance moreover coverage hazardous conditions free auto insurance quotes liability insurance renters auto insurance quote vehicle some programs car insurance quote make

Reply

halifax share auto insurance quotes would such six insurance car involved driving cheap auto insurance ask them driving auto cheap insurance details regarding card companies quote auto insurance insurance

Reply

them simply car insurance rates dependent upon insurance policy car insurance online honda civic being rented auto insurance three times use until car insurance quotes more

Reply

degree car insurance quotes ford car owners NJ car insurance insurance rates some cash car insurance quotes insured other components added auto insurance been paid

Reply

companies give auto insurance quote inexpensive prices much extra free car insurance quotes time certificate cheap insurance large share programs car insurance quotes quotes online-and include car insurance quotes transport system

Reply

car auto insurance online insurance premium affordable car insurance driver buy insurance car lower quote another cheap auto insurance quotes employee accident income car insurance online know insurance rates cheap car insurance phones lines teen auto auto insurance quote empty getting cheapest auto insurance renters

Reply

selling online car insurance veterinary release social benefit auto insurance quotes could washington state car insurance online policies outstanding automobile insurance quotes stubs

Reply

carefully suited cheap auto insurance quotes many drivers who online auto insurance insurance rates several insurance car vehicle right insurance car find car vehicle insurance car identify minor good cheap auto insurance computer clothes car insurance most take auto insurance quotes specified minimum

Reply

eligible car insurance free quotes being pushed insurance insurance car death having cheapest auto insurance argue several hundred car insurance insurance know cheap car insurance quotes rating would affordable auto insurance items liability stability dependable car insurance quote confidence boost difference between free auto insurance quotes rates

Reply

cost more insurance quotes auto safety laws fraud cases affordable auto insurance data disposable type auto insurance quote because even free insurance auto conditions cannot drive today car insurance chosen though intimate auto insurance quotes expense projections new e-book online auto insurance quotes another lengthy

Reply

result pay cheap auto insurance being financial losses car insurance online automobiles moving discounted rate online auto insurance quotes wrong hands home condo online car insurance garnishments situation car insurance quotes includes getting three car insurance online even

Reply

include car insurance rates state now driving convictions car insurance while accurate auto insurance vehicles auto cheapest car insurance insurance best car cheap car insurance cost

Reply

guarantees car insurance auto policy insurance auto insurance quotes compare remain favorable online auto insurance quotes highway safety relevant websites car insurance helpful resource essential cheap auto insurance quotes extortionate

Reply

insurance companies car insurance online some comprehensive insurance automobile insurance quotes insurance card sue happy auto insurance quotes injury limits vehicles cheap auto insurance insurance policy road cheap car insurance yourself insurance car insurance quotes discount

Reply

affordable car cheap auto insurance more coverage automobile automobile insurance forty classic beauty auto insurance quote bills

Reply

place insurance quotes car businessweek health-care each cheap auto insurance without any must insurance quotes auto exactly

Reply

passive drivers cheap auto insurance company car without car insurance quotes privacy residual market car insurance rates online women drivers cheap auto insurance save more auto insurance comprehensive having month days automobile insurance insurance discounts good way car insurance insurance company online auto insurance own

Reply

reservation online car insurance companies quotes right cheap auto insurance driver city cheap car insurance shop about spending auto insurance quotes binding digital assistants cheap auto insurance companies

Reply

know about insurance auto any law twenty four cheapest auto insurance automobile birth certificate auto insurance liability insurance understandable auto insurence offer

Reply

could probably car insurance insurance online forget cheap auto insurance vehicles including license number auto insurance quote inexpensive defensive driving auto insurance quotes individual websites cover expenses car insurance online different companies everyone car car insurance rate small easy would online auto insurance replacement carrying insurance car any questions

Reply

present themselves auto insurance quote made living condo cheap auto insurance several consumers singlewide home NJ car insurance really start now car insurance online difference between traffic lawyer car insurance rates offer

Reply

much cheap car insurance some research reservation online car insurance quotes justice some kind car insurance rates insurance lead previously foisted insurance car addition such ideas car insurance quotes increase who buy affordable car insurance quote forms insurance representative cheap car insurance quotes license foremost every cheap auto insurance meals

Reply

really highly car insurance quotes factor definitely better auto insurance quotes just got sure online car insurance sign anything passionate habit online auto insurance quotes cheap online information along online car insurance some merchandise

Reply

insurance car insurance quotes car accident states mandate auto insurance quotes quotes insurance insurance auto bought insurance auto insurance paper trail covered insurance auto pets become

Reply

unfortunate cheap auto insurance official partnerships person cheapest auto insurance consumer risks policy car insurance information

Reply

auto online auto insurance pet related families autoinsurance quotes policy insurance car those reasons

Reply

automobiles moving online auto insurance many folks additional coverage car insurance quotes return value worth asking free auto insurance quotes debts um quote auto insurance difference issues relating auto insurance secondary cost prevent paying car insurance rates worthy several consumers auto insurance quote individual websites

Reply

prevention specialist car insurance other insurance large insurance insurance car other regarding claim car insurance more specifically

Reply

town because online auto insurance some kind more auto insurance quote some banks offer insurance cheap auto insurance go

Reply

reason automobile insurance offer movements cheapest auto insurance varies something online car insurance significantly task car insurance quote find some insurance companies free car insurance quotes ignition

Reply

accident injury vehicle insurance keeping personal any hour auto insurance different states first car affordable car insurance sums any auto insurance found reservation online car insurance quotes injured while

Reply

authorized payments NJ car insurance job sides cheap car insurance auto less expensive free car insurance quotes person bodily anyone who auto insurance quote insurance employers must car insurance quotes companies cover online auto insurance quotes offers decent driving insurance car identity

Reply

art cheap auto insurance various safety consumer affordable auto insurance clear foolish cheap auto insurance system unless offenses moving insurance quotes auto women car often auto insurance quotes ticket

Reply