Tag Archives: ipad

Native apps better than web apps? That’s silly talk says PhoneGap president

When I attended Mobile World Congress in February one of my goals was to explore the merits of the various different approaches to writing cross-platform mobile apps. One of the key ones is PhoneGap, and I got in touch with Nitobi’s president and co-founder André Charland. As it turned out he was not at that particular event, but he kept in touch and I spoke to him last week.

PhoneGap works by using the installed HTML and JavaScript engine on the device as a runtime for apps. That is not as limiting as it may sound, since today’s devices have high performance JavaScript engines, and PhoneGap apps can be extended with native plug-ins if necessary. But aren’t there inconsistencies between all these different browser engines?

Sure, it’s kinda like doing web development today. Just a lot better because it’s just different flavours of WebKit, not WebKit, Gecko, whatever is in IE, and all sorts of other differentiation. So that’s definitely how it is, but that is being overcome rather quickly I’d say with modern mobile JavaScript libraries. There’s JQuery Mobile, there’s Sencha Touch, there’s DoJo Mobile just released, SproutCore, which is backed by Strobe, which is kinda the core of Apple’s MobileMe.

There’s tons of these things, Zepto.js which is from the scriptaculous guy, Jo which is a framework out of a Palm engineer, the list of JavaScript frameworks coming out is getting longer and longer and they’re getting refined and used quite a bit, and those really deal with these platform nuances.

At the same time, phone manufacturers, or iOS, Android, WebOS, and now RIM, they’re competing to have the best WebKit. That means you’re getting more HTML5 features implemented quicker, you’re getting better JavaScript performance, and PhoneGap developers get to take advantage of that.

says Charland. He goes further when I put to him the argument made by native code advocates – Apple CEO Steve Jobs among them – that PhoneGap apps can never achieve the level of integration, the level of performance that they get with native code. Will the gap narrow?

I think it will go away, and people will look back on what they’re saying today and think, that was a silly thing to say.

Today there are definitely performance benefits you can get with native code, and our answer to that is simply that PhoneGap is a bundle made of core libraries, so at any point in your application that you don’t want to use HTML and JavaScript you can write a native plugin, it’s a very flexible, extensible architecture … So you can do it. We don’t necessarily say that’s the best way to go. Really if you’re into good software development practices the web stack will get you 90%, 95% of the way there, so that apps are indistinguishable from native apps.

Some of the native features we see in iOS apps, they’re reminiscent of Flash home pages of ten years ago, sure you can’t do it in HTML and JavaScript but it doesn’t add any value to the end user, and it detracts from the actual purpose of the application.

The other thing is, a lot of these HTML and JavaScript things, are one step away from being as good in a web stack as they are in native. When hardware acceleration gets into WebKit and the browser, then performance is really just as good.

Charland is also enthusiastic about Adobe’s recent announcement, that PhoneGap is integrated into Dreamweaver 5.5:

Two things are exciting from our perspective. It gives us massive reach. Dreamweaver is a widely used product that ties in very nicely to the other parts of the creative suite toolchain, so you can get from a high-level graphic concept to code a lot quicker. Having PhoneGap and JQuery Mobile in there together is nice, JQuery Mobile is definitely one of the more popular frameworks that we see our community latching on to.

The other thing is that Dreamweaver targets a broader level of developer, it’s maybe not super hard core, either Vi or super-enterprise, Eclipse guys, you know, it’s people who are more focused on the UI side of things. Now it gives them access to quickly use PhoneGap and package their applications, test them, prove their concepts, send them out to the marketplace.

He says Adobe should embrace HTML and Flash equally.

I also asked about Windows Phone support, and given that Microsoft shows no sign of implementing WebKit, I was surprised to get a strongly positive response:

We have something like 80% of the APIs in PhoneGap running on Windows Phone already. That’s open and in the public repo. We are just waiting basically for the IE9 functionality to hit the phone. The sooner they get that out in public, the sooner we can support Windows Phone 7. We have customers knocking at our door begging for it, we’ve actually signed contracts to implement it, with some very large customers. Just can’t there soon enough, really. I think it’s an oversight on their part to not get IE9 onto the phone quicker.

PhoneGap is at version 0.94 at the moment; Charland says 0.95 will be out “in a few weeks” and he is hoping to get 1.0 completed by O’Reilly OSCON in July.

I’ve posted nearly the complete transcript of my interview, so if you are interested in Charland’s comments on building a business on open source, and how PhoneGap compares to Appcelerator’s Titanium, and what to do about different implementations of local SQL on devices, be sure to read the longer piece.

More germs on an iPhone than on a toilet seat? Proporta’s screen protectors kill the other kind of bugs.

Today’s inbox brings the disturbing news that:

In independent laboratory tests, the E. coli population on an untreated screen protector soared from 200,000 to 13 million in 24 hours.

Note the inclusion of the word “untreated” in this sentence, preparing us for the good news that:

The unique SteriTouch® coating on Proporta Antimicrobial Screen Protectors not only prevent this unbridled growth, but eradicates the E. coli completely.

The idea is that touch screens get, well, touched a lot; possibly even by more than one person. Touching spreads germs, so if you want to be safe maybe Proporta’s new “anti-bacterial germ resistant advanced screen protector with steritouch for iPad2” is just the thing for you. Bug-zapping screen protectors are also available for iPhone4, iPod touch, HTC Desire HD, Blackberry Torch, and Samsung Galaxy S2.

If this sounds like your thing, head over to Proporta’s site where you can also learn that

the average mobile has 25,127 germs per square inch, whilst the average toilet seat has just 49.

While quoting this sounds like a great way of annoying an Apple fanperson, the scientist in me would like a bit more information please. What about other things in our life that are touched frequently, door handles for example? How does the risk from using an “untreated” mobile device compare with that from, say, shaking hands with someone? Or travelling on the London Underground in the rush hour?

I am all in favour of a cleaner, healthier world; though I also recall theories that too much hygiene can be counter-productive since the body’s built-in defences need some enemies to munch on in order to operate at full efficiency. It makes some kind of intuitive sense.

Still, if you would like your shiny new Apple iPad2 to be more germ-free than a toilet seat, it looks like an Antimicrobial Screen Protector is the answer.

The Apple iPad post-PC era in education

I am at the QCon conference in London where I attended a session by Fraser Spiers mysteriously titled The Invisible Computer Lab.

Spiers is the guy who won a certain amount of fame or notoriety by issuing all staff and pupils with Apple iPad devices at the Scottish private school where he teaches computing.

image

The session blurb did not mention the iPad but said, “this talk will argue for a new direction in school ICT.” I went along because I am conscious that the way computing is taught in UK schools is often ineffective. Problems include kids knowing more than teachers; out of date hardware; too much Microsoft Office; and often an exclusive focus on general purpose applications rather forming any understanding of what computers are and how they work.

There is probably a connection between this and the low interest in computer science in higher level education.

Spiers did mention this; but most of the talk was an iPad love-in. He is an Apple fan and showed us pictures of the original iMac and various Mac notebooks which preceded the arrival of the iPad at his school.

Nevertheless, he made a persuasive case for how the iPad had transformed teaching (not only computing) at the school. According to Spiers, the children write longer essays because they have discovered word processing for the first time; they have new artistic creativity; they use the web far more and the school had to upgrade its internet connectivity; they are escaping from a word-based approach to learning and presenting their work to one which makes use of multiple media types.

He added that some of the expected snags did not materialise. They were concerned about the virtual touch keyboard on the iPad and offered keyboard accessories to everyone; but in practice few wanted it. The kids, he said, now dislike plastic keyboards with their tiresome buttons.

It is not a new model of computing, it is a new model of education. Handwriting may longer be an important skill, said Spiers.

Now, I do make due allowance for the over-exuberance of an Apple evangelist; and that the reality may not be as rose-tinted as he describes it.

At the same time, you can see how well Apple’s controlled computing environment works in a school environment, where kids may try to break computers or do bad things with them, as well as how the design and usability revolution plays out in a school environment.

Note, however, that Apple is not yet really geared up for iPad in education and Spiers encountered silly issues like the inability to buy site licences for apps delivered over iTunes; each one has to be purchased individually, and they have to fudge the accounts since nobody under 13 can use the app store. I am sure issues like this will be fixed soon.

Objections? Well, there is the cost of Apple’s premium hardware and its tax on the software. There is the ethics of using Apple at all – today, as it happens, there are posts by Bill Thompson and by Tom Arah which do a good job of spelling out concerns about Apple’s authoritarian and increasingly greedy business practices, especially with iOS and the App Store. I would rather be writing up the impact of Linux or Android or open source in education.

However, I will close with my question to Spiers and his answer. What will happen, I asked, when these kids with their experience of iPad computing get jobs and are confronted by offices full of PCs?

“A child that starts this year is going to graduate in 2024,” he replied. “I don’t know what the business environment is going to be like in 2024. I think there will be convergence between iOS and the Mac. I think businesses that stick with the PC infrastructure will not be around in 2024.”

Apple announces slightly better iPad, world goes nuts

Apple CEO Steve Jobs says the iPad 2, announced today, is “magical, revolutionary and at an unbelievable price”.

The new iPad is dual-core, has front and back cameras, and a new magnetic cover which also forms a stand. It is also 33% thinner and 15% lighter.

image

These are nice improvements, but the truth is that it will not be very different from the first one.

It was enough though for the press to announce catastrophe for the competition:

Larry Dignan on ZDNet:

Apple just ensured that the other tablets are dead on arrival.

James Kendrick on ZDNet:

Here’s all you need to know about the iPad 2: it’s thinner, lighter, faster, got cameras and is more capable than the iPad, for the same price. Apple had dominated the tablet wars with the original iPad, and with the iPad 2 it is game over … Apple will continue to maintain or grow its market share in the tablet space, and the competition will release tablets that are not as good and cost lots more than the iPad/iPad 2. Rarely does one company in the technology sector dominate a product category so totally as Apple does the tablet space.

I am still mulling this over. There is a lot to like about the iPad – convenience, design, long battery life – but there are also annoyances; and while Dignan and Kendrick may be right, I would like to think there will be healthy competition and that at least some of the interesting devices on show at Mobile World Congress earlier this month will find a market.

Another question is how the appearance of ever more powerful smartphones will influence the tablet market. It is hard to believe that the average person will carry three devices: smartphone, tablet, laptop. Personally I would like to get it down to one, which is why I find the Motorola Atrix an interesting concept: it plugs into a laptop-like external keyboard and screen when required.

Apple’s advantage though is its focus on quality and design, rather than features. Few other manufacturers have learned this lesson. There is always something not quite right; and rather than fix it, a new model six months later with something else not quite right.

There was something else interesting about today’s event. iMovie for iPad 2, priced at $4.99. What is happening to the price of software, and what are the implications for developers? Something I will explore in another post shortly.

Spare a thought for Microsoft. Remember Bill Gates, telling us that one day tablets would dominate portable computing? Fumbling tablet computing may have been Microsoft’s biggest mistake.

Solar charge your mobile: sounds good, but how practical is it?

Charge your mobile for free while out and about, and also do your bit to save energy: the new Freeloader Classic from Solar Technology International has obvious appeal. But how practical is it?

image

The Freeloader has two solar panels, and measures 123 x 62 x 17mm when folded. After 8 hours in the sun, it can deliver power to an Apple iPhone for 18 hours, a Nintendo DS for 2.5 hours, and an Apple iPad for 2 hours. Take care that it does not walk while your back is turned.

image

It comes with all sorts of tips, and can also be charged via USB in 3 hours in the event that the sun is not shining. For example, if you are in the UK.

image

While I like the idea of solar charging a mobile device, it is another gadget to pack, and could end up as more of a burden than an asset. Instead of just charging your mobile, you have to think about charging your Freeloader and then charging your mobile. 8 hours in the sun is far from instant.

Still, if you are planning a long hike in a remote part of the world, this could be just what you need.

Update: I have now been sent a Freeloader for review. The good news: the unit looks great. The bad news: initial tests are disappointing. It arrived 75% charged … I left it on a windowsill for several days and by the end it had lost all its charge! I am not giving up though and will report in due course.

Freeloader Classic costs £39.99 including VAT.

Amazon Kindle goes social with Public Notes, Twitter and Facebook integration

A free firmware update for Amazon’s Kindle ebook reader adds several new features, including an element of social networking.

The features are as follows:

  • Page numbers for easier referencing, for example in essays, reviews and discussions. Page numbers must be included in the digital book for this to work. It is not clear how many titles include them; Amazon just says “Many titles in the Kindle Store now include real page numbers”.
  • New newspaper and magazine layout with a “Sections & Articles” view. Each section has its own article list for easier browsing.

image

  • Public notes with Facebook and Twitter integration. This is the feature that makes Kindle reading social. You can attach notes to a passage and make them publicly viewable by other readers who choose to follow you, either on a note-by-note basis, or by making an entire book public through the Amazon website. You can also register a Facebook and Twitter account and have specific notes and ratings posted to those who follow you on those networks.

image

The advantage for Amazon is that these features should promote books through viral marketing.

It comes at an interesting time, since Apple’s new subscription rules may make it difficult for Amazon to continue supporting iPhone and iPad with free readers. Apple is insisting on a 30% cut of the revenue for all titles purchased through apps, forming a financial barrier for competitors to its own iBooks service.

If Amazon can cement loyalty to Kindle though social network integration, that could help it maintain market share.

 

Trying out MonoTouch – C# for Apple’s iPhone and iPad

I’ve posted an article on trying out MonoTouch, which builds on the open source Mono project to provide a means of developing apps for Apple’s iOS using C# and the .NET Framework.

It is easy to assume that since the .NET Framework is Microsoft’s technology, using a non-Microsoft implementation is risky. Then again, Mono is open source; and the more usage it gets, the better it becomes. MonoTouch is an important development for the project, since it is a commercial project which might actually be making some money for Novell/Attachmate. While it would be nice to get it for free, it is important that Mono makes business sense as well. MonoTouch has given the Mono project a significant boost.

Dear BBC: please give us mobile apps for offline viewing

The BBC has announced apps for Android and iPad, sparking a bad-tempered discussion (see the comments) in which users complain about two things:

1. The requirement for Flash 10.1 or higher on Android, which limits it to Android 2.2

2. The fact that catch-up viewing is only available on-demand, as on the Web, and not for offline viewing.

image

Both are interesting points, but to my mind the first is the biggest deal. As one of the commenters observes:

As people have pointed out you can use the web interface to watch so using up valuable memory on a phone for an app that does the same thing essentially is not very useful!

By contrast, the ability to download two or three programmes for viewing on the train or plane would be a huge feature. Downloaded video is also more robust even when you are online, thanks to the variability of typical wifi or 3G connections.

Storage is an issue, but not such a bad one now that cards with 16GB or more are commonplace. My HTC Desire currently has 14GB free on the storage card – plenty for a few videos in quality suitable for a tiny screen.

Apple’s devices do not support add-on storage cards, but even the cheapest iPhone 4 has 16GB of storage, as does the iPad.

Failing that, I would rather see the BBC invest in optimising its web site for mobile, rather than creating apps that add little value. See my earlier post, Why I don’t want to view bbc.co.uk through an app.

Too much to ask? The BBC’s Nick Reynolds promises a follow-up post next week, so perhaps we will discover then.

Hardware vendors chase Apple’s iPad at CES with Android, not Windows

There is a chorus of disapproval on the web today as Asus announced a full-fat Windows tablet  (Eee Slate EP121)  at CES in Las Vegas, along with three other devices running Google Android – the Eee Pad MeMo, the Eee Pad Transformer, and the Eee Pad Slider.

The most detailed “review” I’ve seen for the EP121 is on the Windows Experience Blog. Core i5, 4GB RAM, 64GB SSD, capacitive screen with touch and stylus input.

Nice in its way; but no kind of game-changer since this is an echo of early Windows slates which never achieved more than niche success. Four big disadvantages:

  • Short battery life
  • High price
  • The stylus
  • and another thing: in the rush to embrace touch computing, vendors appear to have forgotten one of the best features of those early tablets: you could rest your hand on the screen while writing with the pen. If you have a combined touch/stylus device that will not work.

Microsoft fans will be hoping CEO Steve Ballmer does not make too much of the EP121 and devices like this in tonight’s keynote. If he does, it will seem the company has learned little from failures of the past.

Asus deserves respect for introducing the netbook to the world in 2007, with the original Eee PC. It ran Linux, had an SSD in place of a hard drive, battery life was good, and above all it was light and cheap. Back then the story was how Microsoft missed the mark with its 2006 Origami project – small portable PCs running Windows – only to be shown how to do it by OEMs with simple netbooks at the right price.

Asus itself is not betting on Windows for tablet success; after all, three of the four products unveiled yesterday run Android. Despite what was apparently a poor CES press conference these may work out OK, though the prices look on the high side.

There will be many more tablets announced at CES, most of them running Android. Android “Honeycomb”, which is also Android 3.0 if Asus CEO Johnny Shih had his terminology right, is the first version created with tablet support in mind.

But why the tablet rush? The answer is obvious: it is because Apple has re-invented the category with the iPad. Since the iPad has succeeded where the Tablet PC failed, as a mass-market device, intuitively you would expect vendors to study what is right about it and to copy that, rather than repeating past mistakes. I think that includes long battery life and a touch-centric user interface; keyboard or stylus is OK as an optional extra but no more than that.

Equalling Apple’s design excellence and closed-but-seamless ecosystem is not possible for most manufacturers, but thanks to Android they can come up with devices that are better in other aspects: cheaper, more powerful, or with added features such as USB ports and Adobe Flash support.

It is reasonable to expect that at least a few of the CES tablets will succeed as not-quite iPads that hit the mark, just as Smartphones like the HTC Desire and Motorola Droid series have done with respect to the iPhone.

Microsoft? Ballmer’s main advantage is that expectations are low. Even if he exceeds those expectations, the abundance of Android tablets at CES shows how badly the company misjudged and mishandled the mobile market.

The implication for developers is that if you want app ubiquity, you have to develop for Android and iOS.

Microsoft could help itself and its developers by delivering a cross-platform runtime for the .NET Framework that would run on Android. I doubt Silverlight for Android would be technically difficult for Microsoft; but sadly after PDC it looks unlikely.

Ten big tech trends from 2010

This was an amazing year for tech. Here are some of the things that struck me as significant.

Sun Java became Oracle Java

Oracle acquired Sun and set about imposing its authority on Java. Java is still Java, but Oracle lacks Sun’s commitment to open source and community – though even in Sun days there was tension in this area. That was nothing to the fireworks we saw in 2010, with Java Community Process members resigning, IBM switching from its commitment to the Apache Harmony project to the official OpenJDK, and the Apache foundation waging a war of words against Oracle that was impassioned but, it seems, futile.

Microsoft got cloud religion

Only up to a point, of course. This is the Windows and Office company, after all. However – and this is a little subjective – this was the year when Microsoft convinced me it is serious about Windows Azure for hosting our applications and data. In addition, it seems to me that the company is willing to upset its partners if necessary for the sake of its hosted Exchange and SharePoint – BPOS (Business Productivity Online Suite), soon to become Office 365.

This is a profound change for Microsoft, bearing in mind its business model. I spoke to a few partners when researching this article for the Register and was interested by the level of unease that was expressed.

Microsoft also announced some impressive customer wins for BPOS, especially in government, though the price the customers pay for these is never mentioned in the press releases.

Microsoft Silverlight shrank towards Windows-only

Silverlight is Microsoft’s browser plug-in which delivers multimedia and the .NET Framework to Windows and Mac; it is also the development platform for Windows Phone 7. It still works on a Mac, but in 2010 Microsoft made it clear that cross-platform Silverlight is no longer its strategy (if it ever was), and undermined the Mac version by adding Windows-specific features that interoperate with the local operating system. Silverlight is still an excellent runtime, powerful, relatively lightweight, easy to deploy, and supported by strong tools in Visual Studio 2010. If you have users who do not run Windows though, it now looks a brave choice.

The Apple iPad was a hit

I still have to pinch myself when thinking about how Microsoft now needs to catch up with Apple in tablet computing. I got my first tablet in 2003, yes seven years ago, and it ran Windows. Now despite seven years of product refinement it is obvious that Windows tablets miss the mark that Apple has hit with its first attempt – though drawing heavily on what it learnt with the equally successful iPhone. I see iPads all over the place, in business as well as elsewhere, and it seems to me that the success of a touch interface on this larger screen signifies a transition in personal computing that will have a big impact.

Google Android was a hit

Just when Apple seemed to have the future of mobile computing in its hands, Google’s Android alternative took off, benefiting from mass adoption by everyone-but-Apple among hardware manufacturers. Android is not as elegantly designed or as usable as Apple’s iOS, but it is close enough; and it is a relatively open platform that runs Adobe Flash and other apps that do not meet Apple’s approval. There are other contenders: Microsoft Windows Phone 7; RIM’s QNX-based OS in the PlayBook; HP’s Palm WebOS; Nokia Symbian and Intel/Nokia MeeGo – but how many mobile operating systems can succeed? Right now, all we can safely say is that Apple has real competition from Android.

HP fell out with Microsoft

Here is an interesting one. The year kicked off with a press release announcing that HP and Microsoft love each other to the extent of $250 million over three years – but if you looked closely, that turned out to be less than a similar deal in 2006. After that, the signs were even less friendly. HP acquired Palm in April, signalling its intent to compete with Windows Mobile rather than adopting it; and later this year HP announced that it was discontinuing its Windows Home Server range. Of course HP remains a strong partner for Windows servers, desktops and laptops; but these are obvious signs of strain.

The truth though is that these two companies need one another. I think they should kiss and make up.

eBook readers were a hit

I guess this is less developer-oriented; but 2010 was the year when electronic book publishing seemed to hit the mainstream. Like any book lover I have mixed feelings about this and its implications for bookshops. I doubt we will see books disappear to the same extent as records and CDs; but I do think that book downloads will grow rapidly over the next few years and that paper-and-ink sales will diminish. It is a fascinating tech battle too: Amazon Kindle vs Apple iPad vs the rest (Sony Reader, Barnes and Noble Nook, and others which share their EPUB format). I have a suspicion that converged devices like the iPad may win this one, but displays that are readable in sunlight have special requirements so I am not sure.

HTML 5 got real

2010 was a huge year for HTML 5 – partly because Microsoft announced its support in Internet Explorer 9, currently in beta; and partly because the continued growth of browsers such as Mozilla Firefox, and the WebKit-based Google Chrome, Apple Safari and numerous mobile browsers showed that HTML 5 would be an important platform with or without Microsoft. Yes, it is fragmented and unfinished; but more and more of HTML 5 is usable now or in the near future.

Adobe Flash survived Apple and HTML 5

2010 was the year of Steve Jobs’ notorious Thoughts on Flash as well as a big year for HTML 5, which encroaches on territory that used to require the services of a browser plug-in. Many people declared Adobe Flash dead, but the reality was different and the company had a great year. Apple’s focus on design and usability helps Adobe’s design-centric approach even while Apple’s refusal to allow Flash on its mobile computers opposes it.

Windows 7 was a hit

Huge relief in Redmond as Windows 7 sold and sold. The future belongs to mobile and cloud; but Windows is not going away soon, and version 7 is driving lots of upgrades as even XP diehards move over. I’m guessing that we will get first sight of Windows 8 in 2011. Another triumph, or another Vista?