Android vs iPhone : Front End Dev

On Android phones, to set the initial page zoom level and disable the user controlled zoom, add the following code.

meta name=”viewport” content=”width=device-width; initial-scale=1.3; minimum-scale=1.3; maximum-scale=1.3;”/. Ensure that the scale have a min value of 1.3

For iPhone, add this code
meta name=”viewport” content=”width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;”/

Smartphone OS web requests in Oct 2009

Sounds like at iPhone and Android will be the leading mobile web platforms going forward.

October Worldwide Smartphone OS web requests:

iPhone 50% (43% in April)

Symbian 25% (36% “)

Android 11% ( 3% “)

RIM 7% ( 9% “)

Windows Mobile 3% ( 5% “)

my 3rd iPhone app using XCode & Interface Builder

High Level Xcode patterns
The intent of this post is to document the high level steps involved in coding an Cocoa app, in a way that is easy for me to remember.

Application Behavior : On launch, load an URL (starting with http://) into a Web View. Clicking on Back and Forward buttons available on top should take users to the corresponding states/pages.

Interface Builder Objects:

  • Web View (UIWebView)
  • Go Back ( Round Rectangular Button)
  • Go Forward ( Round Rectangular Button)
  • MainView.h:
    @interface MainView : UIView {
    IBOutlet UIWebView *webView;

    @implementation MainView
    -(void)awakeFromNib {

    [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@””%5D%5D%5D;

    Steps to reproduce:

    Xcode : File > New Project > View Based Application> “Project Name” ….

    Open MainWindow.xib
    Drag “UIView” from Library and drop and scale it to 100% of the screen
    Go to Info Tab and set class as “MainView”
    Drag and Drop Library Objects and set Attributes ( for images if reqd.)
    Select BG > Main View Info Tab > Add Outlets >name and type
    Add Actions>

    Go to Connections Tab < Connect items on the window to the objects in the View

    File > Write Classes > Main View > create .h file > Add to Project
    Drag and Drop .m and .h file from Product folder to classes folder

    add code to .h and .m and Build and GO

    To Be Continued . .


    Usability Tests on Mobile Phones

    Here’s the executive summary of usability test findings conducted on 3 next-generation smartphones: the Nokia N95, the HTC touch, and the Apple iPhone.

    Users with no smartphone experience conducted a series of 8 tasks on each device in order to determine how the devices fared in terms of overall usability. The study also assessed user perceptions of the devices in terms of ease of use, quality, pleasure-to-use, complexity of function-set, appropriateness for business use, and personal purchase preference.

    Main Findings:
    • Participants completed more tasks successfully using the iPhone than they did using either the HTC Touch or the Nokia N95.
    • Participants successfully completed tasks twice as fast (on average) on the iPhone as they did on the HTC Touch or Nokia N95.
    • Participants were more interested in purchasing the iPhone for themselves, although the HTC Touch and iPhone were both selected as being appropriate for business users. Users perceived the iPhone to be more complex than the Nokia N95 in terms of the number of features and functions offered.
    • In addition to user testing, our cognitive psychologists conducted a heuristic review based on a qualitative scoring of each device along five dimensions (global navigation, usability/information architecture, ergonomics, look-and-feel, and breadth of functionality). The iPhone scored higher on the expert review than both the HTC Touch and Nokia N95.

    iPhone did seem to live up to its hype.

    Feature comparison Apple iPhone vs Nokia N95