Posts Tagged ‘apple’

PhoneGap given Apple Seal of Approval

Wednesday, November 25th, 2009

Over the past year or so there has been a lot of consternation on the part of developers writing applications for iPhone using the PhoneGap framework. The problem seemed to be that Apple was unpredictably rejecting applications on the sole basis that they used a 3rd party framework, or that they suspected PhoneGap used techniques they prohibited (like downloading program logic at runtime). Recently, Apple sat down and did a proper technical analysis of the framework to evaluate whether or not they should continue to discriminate based on the use of this framework, or simply evaluate these applications on their own merits instead. According to Jesse MacFadyen of Nitobi:

  • Apple has given PhoneGap a technical analysis , and PhoneGap does not violate the Terms & Conditions of the App Store.
  • Apple will review PhoneGap applications based on their own merits and not on their use of PhoneGap.

This is great news for the development community because it means we can continue to write simple cross-platform applications using HTML, CSS, and JavaScript, and deploy them natively to a number or devices without having to do tonnes of rewrite for each one.

WWDC 2009 Keynote Reaction

Monday, June 8th, 2009

Today was the keynote for Apple’s Worldwide Developers Conference 2009. This is an event where traditionally all the new product releases and skunkworks projects underway by Apple are revealed to the world for the first time. Sometimes these events are landmark, such as with the announcement of the iPhone a couple years ago. Sometimes they’re more about incremental improvements to software and hardware, as was the case today. Nearly always, however, they’re exciting news for everyone who likes Apple hardware and software.

Today they made several announcements relevant to web and mobile developers. For starters, Safari 4 is finally out of beta. This is great because it means a faster browser will begin making its way into the hands of users and new features will begin to open up to developers (for example DOM storage).

Last but not least were the iPhone announcements. As expected, iPhone OS 3.0 will now make its way into the hands of customers with over 100 new features for developers and users to drool over, like cut/copy/paste, improved map API’s, more flexible developer API’s, undo support, an improved mail application, and more. On the consumer side, a HUGE new feature (and one that really shocked me actually) is native Internet tethering! This means you can use the Internet connection of your phone on your laptop PC. Another interesting improvement is the integration of a new version of Safari supporting HTML 5 internet streaming of audio and video.

The new “Find My Phone” feature is interesting. If you’re a MobileMe user and you lose your phone, you can log onto a website and it will show you on a map where the phone is. Great if you left it at the bar, but not so helpful if its in your slipper in the broom closet. However it does let you send your phone a message which will cause it to play a special alert, allowing you to track it down in your apartment. Like some ThinkPad PC’s it also supports a remote-wipe feature if your phone is really lost or stolen.

A big thing for application developers is the new In-App Purchase capability. But this is just another one of many new developer features like peer-to-peer connectivity, push notifications, Bluetooth programmability (paving the way for custom bluetooth accessories) among others.

Apparently Apple has opened up the maps restrictions, allowing turn-by-turn direction applications. This is big for custom app developers, but it remains to be seen how this will work with the limitations of the hardware itself.

Speaking of hardware – now for THE BIG NEWS. As expected Apple announced a new hardware spec for the iPhone (called the iPhone 3GS with the S standing for Speed -gong!). This phone is faster and better in just about every way. On an API side it will support OpenGL ES 2.0 (meaning I can finally use that book I bought). It will also have a killer camera app (with tap to focus capability) and a 3MP camera. You can even take video and edit the video right on the phone (works a bit like iMovie). The new phone will offer between 2 and 3x speed improvements for apps (the examples they used were mail, SimCity, and Preview). The phone will also have voice control, letting users call people or bring up apps just by speaking to the phone.

The new phone will have digital compass, although I’m not entirely sure how this would help me. I guess it’s good for mapping applications, or if I need to face Mecca for some reason. The new phone will also have data encryption which is great for business and government users. For battery life, we’re talking up to 9 hours of internet surfing, 10 hours of video, 30 hours of audio, 12 hours of 2g talk-time, 5 hours of 3g talk-time. Although if we are to base anything on the numbers given for the 3G iPhone, those are probably exaggerated. Bottom line is that battery life appears to be improved about 30%.

As for versioning, it looks like Apple will be keeping the current 3G iPhone as the ‘budget’ option for $99. Kindof a pain for developers, mind-you.

The bottom line here is that Apple has once again moved the bar forward, and put immeasurable pressure on competitors like Palm, Nokia, Microsoft, and Blackberry, and by-proxy Google to keep up on both a hardware and software front. From a developer perspective we’ve got lots of new toys to start building with. Looking forward to it!

Will Apple Permit JavaScript-based Apps?

Monday, May 25th, 2009

There seems to be a real movement afoot to provide means for developers to write native or near-native phone applications in ECMAScript. PhoneGap is doing it, Rhomobile is doing it, Palm Pre is doing it, and now Haxe is doing it.

HaXe has always been an interesting project. It’s basically a JavaScript compiler with targets for Flash 6-10, PHP, C++, Java, etc. Now you can write HaXe projects for the iPhone. Pretty cool stuff. This is certainly along the lines of PhoneGap in that it helps democratize the platform – however – I suspect it probably violates the iPhone terms of use in that it basically becomes an interpreter:

Usage of such non-public API, as outlined in the iPhone SDK Agreement section 3.3.2 is prohibited:

"An Application may not itself install or launch other executable code by any means, including without limitation through use of a plug-in architecture, calling other frameworks, other APIs or otherwise. No interpreted code may be downloaded and used in an Application except for code that is interpreted and run by Apple’s Published APIs and built-in interpreter(s)."

This seems to be sortof the same problem suffered by apps written using the popular phone framework PhoneGap (http://ajaxian.com/archives/someone-at-apple-please-review-stance-on-phonegap). While I see the need to control how code is executed when running outside the normal security sandbox of a browser, HaXe seems fairly tame because as far as I can tell, the application code is not being altered after the program is compiled (could it??). In any case, you’re still compelled to operate within the same runtime sandbox as a normal Objective-C based application.

In any case, if Apple is going to continue to crack down on frameworks like this, I hope they pick on the way the wind is blowing and provide something to the community that lets people marry the familiar world of ECMAScript, HTML, and/or CSS with the powerful features of the iPhone.

Need Screenshotting on MacOS?

Sunday, July 20th, 2008

I recently installed Skitch for doing mac screenshotting after I switched to Mac from Windows. I found it to be cumbersome and not exactly intuitive. Then I discovered a really handy screenshotting tool that comes as a Dashboard Widget. Check this out (Screenshot Plus).

Some thoughts on Apple’s MobileMe

Friday, July 11th, 2008

MobileMe is Apple’s answer to Microsoft Exchange with some additional features that look a lot like that Microsoft is offering with their new Live Workspace service. Essentially it gives you a unified way to handle eMail, Files, Photos, Calendar, and Address Book between all your machines including your PC, Mac, iPhone (iTouch), and AppleTV. For a marketing overview, check out the video over at apple.com. Its main advantage for business users is probably the way it provides similar functionality to Blackberry with the Push-Email Push-Contacts and Push-Calendar features. This means that the very moment an email is sent to you, you are notified with an audible noise from your iPhone without having to wait for it to page the server. Pretty cool indeed, and I bet RIM is shaking in their boots.

The Good

Email. The web based eMail application seems top notch. Clearly mirrored on Microsoft Outlook, it provides a clean, fast UI with seamless integration to the other MobileMe services. The push-email to mobile devices such as iPhone and iPod Touch make this feature an excellent choice for business users. Also, the Ajax-y goodness baked right into the Sproutcore platform makes this a really competitive webmail solution – right up there with Yahoo Mail and Gmail.

Online Storage with iDisk. This is something that has really been missing all-in-one suites. Some way is needed to move large files about the web between devices that doesn’t feel so ‘tacked on’. I was really impressed with the way Microsoft is solving this problem with Live Workspace, and it looks like Apple is following suit with 20GB of storage.

Calendar. This feature is well executed. The calendaring synchronization between devices is perfect, and the UI for the calendar interface on the web is as good as Outlook’s.

The Bad

No Chat. Integrated chat is conspicuously missing from this package. While I can do texting-yes, I cannot see those conversations in the web view if I am away from my phone or don’t want to use my phone. I’ve really gotten used to this feature with Google Apps.

Browser Support. It’s odd that a solution targeting PC users does not support IE6 and only has limited support for IE7. As a rich-ui web developer I know that it’s far easier to build a web app that supports these browsers from the beginning than to go back and fix it later.

Price. Apple is asking for $99 for an individual account (per year). If you buy an iPhone or Mac you can get it for $69. To me this is steep. If I fork out the $2200 commitment for a new iPhone (with 3 year contract in Canada) why are they asking for $70 more bucks just so I can have the same level of communications Blackberry offers me all-inclusive? Also just generally what I expect these days for $99 is quite a lot when it comes to online services. Microsoft will sell me an entire office suite for $170 – I feel like I’m getting ripped off by paying $100 to Apple to make their own devices talk to one another. If I had to pick a price that would make sense for me.. I’d go closer to $49 for the Individual account, and no more than $20 if I buy a new computer or iPhone and sign up within 30 days.

Data Migration. I have so far seen very little on how they are going to help me move my data from Blackberry/Exchange/Google Apps to MobileMe. This is huge for winning converts and my biggest objection so far.

The Verdict

Apple has bitten off a lot for the first release appears to have chosen well for the baseline featureset. As always, I am wary about jumping on new Apple products right when they come out because I usually get burned (either with unanticipated price drops soon after launch, or hardware/software failures). However, my main objection to mobileme is that I am a committed Google Apps user and would have a hard time migrating all my data – as well as my email address. I will certainly keep my eye on this because I would love to get this level of integration with my devices, and like a lot of what Apple does, it looks oh-so-sweet.

I love Versions – SVN repo browser for MacOS

Wednesday, June 11th, 2008

I recently became aware of a beta version of a new SVN client for MacOS called Versions. I downloaded the beta to try it out.

Let me say this is probably the new de-facto SVN client for Mac users. Not only is it a powerful and full-featured client (along the lines of TortoiseSVN but with more features), but its intuitive and easy to use. I love the TRAC integration (although I havent got into it yet). I highly recommend giving it a try. Here are some screenshots:

New iPhone imminent?

Monday, June 2nd, 2008

According to Forbes, Apple “has been quietly positioning millions of units of a mysterious new product–almost certainly the new iPhone–in key markets since March.” Despite this, there has been no public announcement or images released of this new device.

It will almost certainly support 3G – a faster mobile internet system (so you’ll finally be able to actually watch those YouTube flicks while on the bus). Probably the storage capacity of the device will be increased too. If we’re lucky they’ll have done something about battery life too – although that seems doubtful with the demands of the 3G circuitry and any additional storage they intend to cram on there.



© All rights reserved.