Tech Broiler

Jason Perlow and Scott Raymond

RIM's BlackBerry PlayBook: A Better Android than Android?

By | March 24, 2011, 9:32pm PDT

Summary: RIM’s QNX operating system, which runs at the core of their PlayBook tablet will be able to run Android applications. But will that undermine native development for the aspiring OS platform?

RIM’s QNX operating system, which runs at the core of their PlayBook tablet will be able to run Android applications. But will that undermine native development for the aspiring OS platform?

I was rather shocked to hear the news today that RIM had finally confirmed what had been rumored for several weeks — that the new PlayBook tablet, which runs on the QNX operating system, will run Android applications in addition to Adobe AIR, Java and native C++ QNX apps.

Also Read: RIM’s PlayBook, Is It an Android FrankBerry?

Also Read: Can RIM’s PlayBook Sustain an Android Parallel Universe?

The more I wrap my head around the whole thing, the more I begin to feel like I’ve seen this happen before.

It could be an effect of ZDNet’s blog tech support adjusting the interphase transducer on the pattern flow buffers improperly on the site’s WordPress CMS during the recent New York City cosmic hail storm, or it could just be simply an enduring hangover from all the Irish coffees I had at the Setai NYC hotel bar last night.

Note to readers: The bartender does an awesome Irish coffee with Bushmills at the Setai.

But I digress. Yes, we’ve seen this “We do it better than the original on our platform” thing before. In fact, it was twenty years ago. The vendor who last tried to do this was… IBM, with their OS/2 2.0 Operating System.

This is going to open up old wounds for me, but I’ll do this anyway.

For the most part, in 1992, IBM succeeded in creating a “Better DOS than DOS and a Better Windows than Windows” with OS/2. It was a full 32-bit OS and could take advantage of much larger amounts of memory, which DOS and Windows could not.  It could pre-emptively multi-task, where Microsoft’s DOS and Windows 3.0 could not. It could protect native OS/2 applications in discrete sections of memory, which DOS and Windows 3.0 could not.

It could also run DOS and Windows 3.0 applications in their own protected, separate regions of memory, which DOS and Windows… could not. It was the first PC operating system to ship with Windows virtualization included in the OS. It was amazingly ahead of its time, in that respect.

OS/2 ran DOS and Windows 3.0 applications so well, in fact, that IBM had a very hard time getting 3rd-party developers to write native OS/2 Presentation Manager applications. Indeed, there were a few little gotchas with OS/2’s Windows compatibility, it had problems for a time running Windows Enhanced Mode apps, and there were also issues with special types of device drivers, called VxD’s.

Eventually, IBM was able to resolve most of these compatibility issues in future versions of OS/2. But it was always a constant battle to keep up with Microsoft’s changes.

RIM is facing a very similar situation with PlayBook. Indeed, as I have written before, the QNX OS as it is implemented on the PlayBook is extremely impressive, resilient and sophisticated. I believe it to be a superior operating system in a number of respects to both iOS and Android.

However, there is a a great deal of risk associated with attempting to leverage a competitor’s ecosystem as opposed to being an active participant in it.

I do not know yet exactly how, from a systems architecture perspective, that QNX accomplishes Android compatibility. In some of my earlier articles which I’ve linked above, I’ve alluded to a number of possible paths the company could have gone down to achieve this.

This includes things such as doing a native port of the Dalvik VM for QNX, a binary emulation layer which would allow the native Linux-based Dalvik code to execute via API call translation at the QNX kernel and library level, or even something as radical as Android virtualization.

Also Read: Android Virtualization, It’s Time

The Android compatibility mode or “Player” as RIM refers to it in their press release, apparently run in something they call a “secure sandbox”. RIM isn’t going to show this software to PlayBook developers until May, at the BlackBerry World trade show in Florida, a few weeks after the device ships in retail, so presumably this won’t be released to end-users for at least several months post-launch.

I’m hoping that RIM went the Virtualization route as opposed to a native Dalvik port or a binary emulation layer. Ideally, I would like to see a full Android 2.3 stack running inside a Type 2 Hypervisor, which is similar to the way VMWare’s Mobile Virtualization Platform (MVP) technology works.

Essentially, this requires no “porting” work on RIM’s behalf. Instead, an actual copy of Android, with a complete Linux kernel, would run as “Guest” OS within QNX.

Of course, there are other ways to “Sandbox” an environment, such as with the use of OS system-level Virtualization (such as with Parallels Virtuozzo/OpenVZ or Solaris Zones) but it would still require binary emulation or a port of the Dalvik VM to do that.

Type 2 virtualization is obviously preferable because RIM would be running Google’s actual OS, and not attempting to mimic the native Dalvik API itself, which could present any number of compatibility issues.

This is not to say that this would not have its own number of risks associated with it — the hypervisor would have to be very performance optimized, and near-native Android performance would be expected by the PlayBook’s end users, or the compatibility mode won’t have much value.

To make Android NDK apps work, hypervisor-based virtualization is probably the only effective way to make Android C++ apps work correctly.

Regardless of the virtualization method used, however — there is the issue of whether or not Android compatibility will have the same “cooling effect” on the PlayBook’s native C++ development environment as well as on the Adobe AIR apps that IBM’s Windows 3.0 compatibility had on OS/2.

Obviously, there are differences here. Virtualization technology has improved considerably in 20 years and it has proven to be viable even on embedded systems. As opposed to trying to compete with an OS to sell on PCs pre-loaded and in retail, RIM is selling a hardware platform and going to monetize their own App World.

So the company might not actually care what developers target their apps to, whether it’s Android 2.3 Dalvik APIs, QNX C++ native, Java, or Adobe AIR/Flash. Oh, and then there’s the WebWorks platform SDK as well. The PlayBook is a literal smorgaboard of API’s, probably the richest of all the tablet OSes currently available.

The big question is will the PlayBook do all of them well, and will consumers “get it”. Only time will tell.

Will PlayBook’s Android “Sandbox” be a blessing, or a curse? Talk Back and Let Me Know.

Disclaimer: The postings and opinions on this blog are my own and don’t necessarily represent IBM’s positions, strategies or opinions.

Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Jason Perlow, Sr. Technology Editor at ZDNet, is a technologist with over two decades of experience integrating large heterogeneous multi-vendor computing environments in Fortune 500 companies.

Disclosure

Jason Perlow

My Full-Time Employer is IBM. I write as a freelancer for ZDNet.

Disclaimer: The postings and opinions on this blog are my own and don't necessarily represent IBM's positions, strategies or opinions.

I own no investments or direct financial instruments in the companies I write about.

Biography

Jason Perlow

Jason Perlow, Sr. Technology Editor at ZDNet is a technologist with over two decades of experience with integrating large heterogeneous multi-vendor computing environments in Fortune 500 companies. A long-time computer enthusiast starting the age of 13 with his first Apple ][ personal computer, he began his freelance writing career starting at ZD Sm@rt Reseller in 1996 and has since authored numerous guest columns for ZDNet Enterprise and Ziff-Davis Internet. Jason was previously Senior Technology Editor for Linux Magazine, where he wrote about Open Source issues from 1999 to 2008.

In his spare time, Jason is an avid amateur chef and food writer, where his work reviewing New Jersey restaurants has appeared in The New York Times. He is also the founder of the popular food web site eGullet and blogs about restaurants and cooking at OffTheBroiler.com.

20
Comments

Join the conversation!

Just In

RE: RIM's BlackBerry PlayBook: A Better Android than Android?
FAULKNE 13th Oct
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.
0 Votes
+ -
I really had high hopes for OS/2 myself.
kenosha77a 24th Mar 2011
But back to your main Blog points. You stated the key to RIM's QNX Android App policy success .. highly optimized hypervisor performance. But this success isn't just dependent upon software code. IMO, the SoC hardware must be capable and I don't see this as a possibility for a first generation PlayBook design.

If I may speak from experience alone, the A4 chip in the first iPad was a highly capable tablet SoC. But the hardware had limits and one example that exposed those limits was the iPad's inability to handle moderate to complex Excel spreadsheet tasks - either imported into Apple's spreadsheet program (Numbers) or manipulated in other iPad app programs. If the program app using those Excel files didn't crash, the calculations performed were done in an unacceptably slow time period.

Let's assume the PlayBook uses a SoC comparable to Apple's latest A5 chip. Even given that performance increase, I can't see the hardware handle virtualization operations in a timely manner. Oh, they will perform, but my bet is that they will be unbelievably slow!

Oh .. one final, somewhat related question. Did your Bushmills and Irish coffee indulgence that evening have any influence on your reasoning behind a MacBook Pro purchase? Grin.
@kenosha7777: ... like order of magnitude slower calculations force (FPU) than A5 due to NVidia's decision to choose cheap ARM reference design (that is like three times better graphics performance aside).
0 Votes
+ -
Contributr
@denisrs The PlayBook does not use a Tegra chipset. It uses a Texas Instruments OMAP 4430. I've seen what this device can do up close, and it SMOKES a Tegra.

http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?contentId=53243&navigationId=12843&templateId=6123

The OMAP4 can actually drive a full HD display and uses an SGX540. The SAME GPU as an iPad 2.
@jperlow: vector-enforcement extensions FPU (like in A5) or not -- we will see for the tests -- however, the graphics part is actually slow comparing to A5. The latter has SGX543MP2, not SGX540 like this OMAP device.
0 Votes
+ -
What software will touch this great hardware?
WaltFrench@... 30th Mar 2011
@denisrs, while you're right about the GPU talents of the iPad vs the Playbook, both your and @jperlow's notes slight the point that all the various hardware goodies are useless without first-class software to drive them.

Balsillie directly said that graphics performance in the VM would be awful. Using Android keyboard input, transitions between views, etc., will very likely look slow, clunky or even balky.

And while RIM will supply a couple of choice apps, such as perhaps a movie player, third party devs will have to wait until the ill-defined future when there's a native toolkit for writing native apps that can get at this power.

For years, RIM has tuned its handset software to work optimally within very tight hardware constraints; that focus allowed them to have high-performance products with great battery life. Since 2008, however, we're in the Brave New World of flexible, rapidly morphing apps. Since RIM hasn't had time to expand its handset OS to this world, they've tried a no-holds-barred tablet, where issues like battery life and cost aren't as prominent, and they can use a more general approach. While the Playbook is meant to lock down allies' mindshare, it still is way behind on the software front, and RIM has curiously devoted lots of focus on hardware and basic OS (both, by all accounts at least "quite good") -- but totally fumbled a clear story for software developers, either Enterprise or 3rd party. Ergo, this last-minute, rushed announcement of the Android VM and java VMs, while their developer website is still devoid of a word about either.

Balsillie talked about the "tonnage" of apps; he has at least heard people say that RIM needs apps. It's must just be that RIM thinks the competition can be won over with me-too hardware and basic apps plus a bunch of "stuff" that doesn't look or work like it belongs.

People who buy the Playbook this year will be doing so on the bet that RIM will eventually get its software act together and all the hardware will be useful for something. All the indications for the past year plus are that those gamblers should be given long odds because RIM has not done anything to earn trust in their total rewrites of two OS environments plus a half dozen (!) developer packages.
@kenosha7777
What I don't understand is how is the PlayBook different from another Android tablet. Android apps running in virtualization, will eat up battery life. I agree, RIM is in a similar position as IBM with its OS/2. By embracing Android, they will make Android that much stronger. If people use Android apps, what't the use of QNX?
If you read the press release carefully: "...Developers currently building for the BlackBerry or Android platforms will be able to quickly and easily port their apps to run on the BlackBerry Tablet OS thanks to a high degree of API compatibility."

That sounds like RIM choose to Android Virtualization route. Android also includes Google API add-on...like Maps, real-time Push API etc. which could only work when we have virtualized Android OS installed within PB. I'm not sure if that impacts PB's battery life.

May will be an interesting month for sure.
@xTalk, not to be too fussy, but Google licenses Google Maps and the other stuff you cite separately from Android. Android doesn't actually "include" those features just as it doesn't include Flash (merely "support" for Flash).

Too bad I'm not a lawyer; I can see a legal morass around customers buying apps that don't include in-app purchases, don't have working voice commands, can't link to maps, maybe even ads are busted... Does RIM have a customer- and law-friendly policy about controlling Android apps' disclosure of ID info to 3rd parties? ? tools to enforce it? A way to remote wipe individual apps that are found to violate terms?

Whatever the technical approach, it's pretty hard to imagine this as a pretty poor substitute for the real thing; it could highlight Android as something that even security-focused and high-performing hardware focused RIM can't control, harming both firms.
Great story lately some of you writers at ZDNET just write articles about RIM vs IPAD or any other device for that matter VS IPAD, but this is a great piece and should be the example of what the others writers should use a baseline for great writing.
0 Votes
+ -
RIM Ups The Ante?
ryork272 Updated - 25th Mar 2011
Could RIM do for Tablets what it did for smartphones? When you think about it, they revolutionized the smartphone. They focused in on the most important features and simply did them better than anyone else. And to this day they still do!

Can they do the same thing with the Playbook? I think it is possible because RIM knows its "do or die" for them. Are they a player or a has-been...it sounds like they truly want to be a player in this market.

Wonder if it will be able to run iOS? Wouldn't that be a hoot!
0 Votes
+ -
Never happen
bodychex 25th Mar 2011
@ryork272 Apple would never let that happen.
0 Votes
+ -
From the consumer side, not the corporate side, this news that the Playbook will run 2.3 Android apps puts this tablet out on top for ME. All thats left is some hands on time, a couple of reviews and i am sold.
I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate! nccma cooler
I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post. this thread is amazing i like your work and i appreciate you that you have share a useful stuff thanks for sharing the i shop abatwa
I used to be more than happy to seek out this internet-site.I wanted to thanks in your time for this glorious read!! I positively enjoying each little bit of it and I have you bookmarked to check out new stuff you weblog post.Bookmarking now thanks please consider a follow up post. power sa shop
I think the representation of this article is actually superb one. This is my first visit to your site. Thanks a lot and keep sharing the information. Keep updating the information for all of us. Thanks ZDNet Government was launched as the brand's first industry vertical, with a mission to cater to IT professionals in the public secto I agree with your post. However, do you have any sources I can cite for my paper wheel car com bury
Well welcome, hopefully you can become a vital member of the community and really help to push far ahead of google. Which Im sure the development team would love. This will of course earn you alot points too and get you on the leaders board. z d n e t t h a n k Im not sure i come to an agreement with you on every level, howevor it absolutely was a good posting, many thanks for taking the time to put up your ideas.
Thanks nice info z d n e t I really liked your current article write more..let me add you to its favorite The articles you have on zdnet s i t e are always so enjoyable to read. Good work and I bookmarked it.
Fantastic news about the new release.I positively enjoying each little bit of it and I have you b o o k m a r k e d to check out new stuff you weblog post.Im not sure i come to an agreement with you on every level, howevor it absolutely was a good posting, many thanks for taking the time to put up your ideas
Good day to confirm this comment I would appreciate T h e b e s t o f Z D N e t d e l i v e r e d your website very nice to everyone Yes, Oracle is the only one with shared-disk architecture, but that is there advantage. It means you can add or remove nodes and the database lives on. In a shared nothing architecture, if you lose a node, you lose the system. I'm sure Oracle appreciates EMC highlighting their advantage.I also desire to signal in your RSS feeds. Thank you as soon as once again and maintain up the great operate Awesome post! Thank you very much || thanks for nice content this is really benefit to me.

Join the conversation!

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix