Objective C

Objective-C is the primary language used to write Mac software. If you’re comfortable with basic object-oriented concepts and the C language, Objective-C will make a lot of sense.

Objective-C is a thin layer on top of C, and moreover is a strict superset of C; it is possible to compile any C program with an Objective-C compiler, and to freely include C code within an Objective-C class.

Objective-C derives its object syntax from Smalltalk. All of the syntax for non-object-oriented operations (including primitive variables, preprocessing, expressions, function declarations, and function calls) are identical to that of C, while the syntax for object-oriented features is an implementation of Smalltalk-style messaging.

The id Variable Type

The variable type that is added by Objective C is id. It is the default type for objects in Objective C. Think of this as a special variable type (which is actually a pointer to a special data structure – namely the object)

All objects can refer to themselves by using the label self. This is necessary if, in the code that defines the object, the programmer wants to make the object execute one of its methods. For example, suppose an object has a method called updateRecords. If a command

[self updateRecords];

is received, then the updateRecords command will be executed, presumably to cause the updating of instance variables.

All objects can refer to superclass by the name super. For example:

[super updateRecords]

Interface File: Declaration of a Class

If you look in a directory where some Objective C Swarm code resides, you will see files in pairs, such as ObserverSwarm.h and ObserverSwarm.m, ModelSwarm.h and ModelSwarm.m, and so forth. The “h” files are the interface files (commonly called header files), while the “m” files are the implementation files

Figure 3-1. Objective C Basics 

As illustrated in Figure 3-1, the interface declares the name of the class and the name of its superclass. Then it gives a list of variable types and names enclosed by braces ({}), and then the names of the methods that the class can implement are listed. The variables defined in this list can be used by any of the methods defined for the class. (These are often called “ivars”, short for instance variables.)

Example 3-1. Objective C class 

(1)@interface Bug(2) : SwarmObject(3)
  int xPos, yPos;
  int worldXSize, worldYSize;(4)
  id foodSpace;

- setX: (int) x Y: (int) y;(5)
- step;(6)
- (return_type)look: (direction_type) d;(7)

(1) Declarations of instance variables and methods
(2) Sub class
(3) Super class
(4) Instance Variables
(5) declares method called set that takes two arguments
(6) declares a method called step.
(7) declares a method called look that takes one argument of type direction_type and returns an argument of type return_type.

Implementation File: Defining a Class

Each implementation file–the .m that parallels the .h — must import its header file. For the header file described above, called Bug.h, for example, the implementation looks like:

#import "Bug.h"
@implementation  Bug
- setX: (int) x Y: (int) y
 xPos = x;
 yPos = y;
 return self;
- step
 // body
 return self;

- (return_type)look: (direction_type)d
  return_type returnval;
  // body of method
  return returnval;

This example shows a number of important features. First, note that the method look specifies a return type, (return_type). In this example, return_type would have to be replaced by a variable type, such asintfloat, or whatever, and returnval would have to be a variable of that type. When that method is called, the receiving code must be able to accept a return of that type. In contrast, the method step does not specify a return type. That means the default type, id, is returned. The code that calls this method must be consistent with that return type.

The return self command is used for two types of situations. Suppose the method is not intended to create any output, but rather it changes some instance variables. For example, suppose there is some program that creates an instance of Bug called aBug. Then that object is sent this message:

[aBug step]

In such a case, the code that calls that method does not expect anything back from it (except itself). Rather than fuss with void as the return type, as one might in C, one can simply return self.

In another case, one might actually intend to return the object to a list or another object. In such a case, return self will also be appropriate. If one is making a list of collected bugs, for example, then the usage ofreturn self in that method will give back aBug id to the calling program. To be perfectly concrete about it, suppose the calling code has a list called collectedBugs. Then using the addLast notation from the Swarm collections library, the command to add aBug to the list after being collected might look like this:

[collectedBugs addLast: [aBug look:

Firefox 4 beta for mobile now available for download


Mozilla has released the first beta version of their mobile web browser- Firefox4 Mobile. The beta is compatible with Android and Maemo phones.This beta version sports major speed and performance improvements over the previous Fennec pre-alpha and alpha versions. And just as a refresher, those versions were not compatible with Android phones. Mozilla, had however, been offering Firefox Home for Android users allowing them to sync data from the Firefox browser on their PC to their mobile.

The Firefox4 Mobile beta allows users to sync bookmarks, tabs, passwords and history between the PC and the mobile, thanks to the built-in Firefox Sync feature.

The browser also has the pinch to zoom feature for multi-touch capable touchscreen phones. The Awesome Screen feature allows you access to all data like bookmarks, history and the opened tabs by just tapping the address bar.

If you want to see the complete Release Note of this release, click here and if that convinces you to download Firefox4 Mobile beta, then download from here.

source – ndtv.gadgets.com

Blackberry Playbook-Is it the new iPad killer ??

Now that Blackberry has showcased its Playbook, rumors are on that it will be the iPad killer. But is it so…Lets check out.

What are the specifications?

7-inch screen (1,024×600 pixels)
5.1 inches tall
7.6 inches wide
0.4 inch (9.7mm) thick
0.9 pounds
3-megapixel front-facing HD camera
5-megapixel rear-facing HD camera
1GHz dual-core processor
1080p high-definition video playback
HTML5-capable browser
802.11 a/b/g/n Wi-Fi
Adobe Flash 10.1 support
Adobe AIR support
H.264, MPEG4, and WMV, HDMI video output
Micro USB, Micro HDMI, and DLNA media streaming
Enterprise-strength e-mail security

The specifications are very impressive though and somewhat better than the iPad but the iPad has one big advantage in its favour.

It was first one of its kind and then all of them started imitating it.

Lets have a head to head comparo between the two-

Operating System –

Apple iPad runs on the Apple iOS. iOS is user-friendly and that is the reason behind its popularity.

BlackBerry Playbook runs on BB Tablet OS. BlackBerry Tablet OS is a new QNX-based OS which was announced by BlackBerry on 27th September 2010. QNX Software Systems developed this OS specially for the Playbook.

You can also read the comparison between Apple iOS and Google Android here –

Apple iOS vs. Google Android – Which one is better?

Display –

Apple iPad has a 9.7-inch screen. Resolution – 1024 x 768.

BlackBerry has a 7-inch screen. Resolution – 1024 x 600.

Processor/RAM/Graphics –

Apple iPad sports Apple A4 (ARMv7) – 1GHz Processor, 256 MB RAM and PowerVR SGX 535 Graphics.

BlackBerry boasts dual-core Corex A9 – 1GHz Processor and 1 GB RAM. There is no information about the graphics yet.

Camera –

Apple iPad doesn’t come with any built-in camera.

BlackBerry comes with a 5 MP rear camera and a 3 MP front-facing camera.


Do I need to say it? Of course you can see that BlackBerry Playbook is the tablet of today and it has got far better features than the Apple iPad.

Playbook is better than iPad in almost all the aspects. The only reason why people choose iPad could be the iOS user interface, but BlackBerry’s new Tablet OS will soon be attracting many more geeks. BlackBerry Playbook has got better hardware and Apple iPad has got a better OS and interface, so if you’re the one who wants a better hardware then Playbook is for you else you can choose the iPaditself.

iPad or Playbook – which one do you find better?

To IT or Not to IT

This post is for all the people who want to make a career in IT industry.

Well, if you guys think IT industry is an easy source of income, then just remove the thought from your mind because it is the most stressing sector.

IT industry has one simple motto-PERFORM or PERISH.

You don’t work extra time to earn more money but you do so to keep your job intact. The competition is so intense and cut throat that performance matters a lot. Hence there is an inherent pressure on every employee to perform since there are many others standing in the queue to take up the same position.

So a lot of stress is generated because of this pressure of performance and the insecurity of job.

It’s like a mirage that a thirsty traveler sees in the desert. It calls you towards itself and you jump to it like anything.

The Flytrap that looks beautiful in appearance but when a fly goes near it, it traps it. Well not in complete literal sense but IT industry can be compared to the Flytrap and the employee to the Fly. It does not kill the employee but the burdens of work do lead to a similar state.

I am not saying that it is the worst industry in the world but what I want to say here is that its not where you think that you would go at 9 in the morning and come back at 7 in the evening keeping work at the office. Its an industry where you might have to work whole night at office or at home.

Every penny you get from an It Firm should earn at least 5-10 times for the firm. Like for example if you are getting 2000Rs a day from an IT firm then the firm expects you to earn 10000Rs a day for it from the Client.

Well, last week I was at my brother’s place in Pune. He and his friends all work for IT industry and they all work like hell to earn their salaries. His friend works in a big MNC in the support side. This guy goes to office at 8a.m comes back at 7p.m, eats his dinner at 8p.m and starts work again at 9p.m with a meeting with the client. This meeting takes sometimes 4-5 hours thus resulting in only a meager of 5 hours of sleep.

Still this guy is happy about this because he enjoys his work. My brother also has a somewhat similar routine but not this hectic but he also enjoys his work.

Thus here I just want to say that IT industry is only for those who enjoy what they do and are ready to adjust with the demands of the industry. It’s not for those who want to earn just a big fat salary Its for those who have a dream about it and not just a simple dream but a dream which is long seen and craved for.

In short I just want to say that don’t choose IT because it gives good salary and that it is booming, but choose it if you think its your dream to be in it. Before you make your choice ask yourself a few questions-

“Is IT for me?”

“Am I ready to face the challenges it throws at me?”

“Will I survive?”

And go for it if and only if you get a positive response from your heart.

Well then Best of Luck!!

A GUI program using NetBeans

Well this is a GUI program that I have created using Netbeans.
In this program the computer generates a Random Number after hitting the Generate button which the user has to guess.
The User enters his Number and hits the Check button to check if the number matches Computer’s number.
The user has a maximum of 5 chances to check the number and the computer gives hints on every wrong guess.

NetBeans Platform

Well my earlier post was about NetBeans IDE and now in this post I will explain the NetBeans Platform and the difference between the Platform and IDE

NetBeans Platform

The NetBeans Platform is a reusable framework for simplifying the development of Java Swing desktop applications. The NetBeans IDE bundle for Java SE contains what is needed to start developing NetBeans plugins and NetBeans Platform based applications; no additional SDK is required.

Applications can install modules dynamically. Any application can include the Update Center module to allow users of the application to download digitally-signed upgrades and new features directly into the running application. Reinstalling an upgrade or a new release does not force users to download the entire application again.

The platform offers reusable services common to desktop applications, allowing developers to focus on the logic specific to their application. Among the features of the platform are:

  • User interface management (e.g. menus and toolbars)
  • User settings management
  • Storage management (saving and loading any kind of data)
  • Window management
  • Wizard framework (supports step-by-step dialogs)
  • NetBeans Visual Library

Now lets move onto the other topic that i I want to cover in this post and that is Rich Client Platform Development

Rich Client

In a client server architecture the term “rich client” is used for clients where the data processing occurs mainly on the client side. The client also provides the graphical user interface. Often rich clients are applications that are extendable via plugins and modules. In this way, rich clients are able to solve more than one problem.

Rich clients have the advantage that they are easy to distribute and update, such as via an automatic online update function within the client itself or through a mechanism that enables the rich client to start over the Internet (for example, via Java Web Start).

The important characterstics of the rich client are:

• Flexible and modular application architecture

• Platform independence

• Adaptability to the end user

• Ability to work online as well as offline

• Simplified distribution to the end user

• Simplified updating of the client

Rich Client Platform

Rich Client Platform (RCP) is software consisting of the following components:

  • A core (microkernel), lifecycle manager
  • A standard bundling framework
  • A portable widget toolkit
  • File buffers, text handling, text editors
  • A workbench (views, editors, perspectives, wizards)
  • Data binding
  • Update manager

With it, programmers can build their own applications on existing platforms. Instead of having to write a complete application from scratch, they can benefit from proven and tested features of the framework provided by the platform. Building on a platform facilitates faster application development and integration, while the cross-platform burden is taken on by the platform developers.

Their creators claim that programs built with RCP platforms are portable to many operating systems while being as rich as client-server applications which use so called fat clients or traditional clients.

NetBeans 6.9.1 released

As you all might be knowing NetBeans is a free open source IDE for software development. Basically, you can create Desktop Applications, Web-based Applications, Mobile Applications & Enterprise Applications using JAVA in NetBeans. Also you can create C/C++ programs in Netbeans IDE.

So in all NetBeans is a very powerful IDE(Integrated Development Environment) that can be used to create very good looking and powerful applications in a very simple way.

The latest version of Netbeans is the Netbeans 6.9.1.

Its features are:

  • JavaFX Composer
  • Support for JavaFX SDK 1.3
  • Support for the PHP Zend framework
  • OSGi interoperability
  • Ruby on Rails 3.0
  • Well lets start with understanding the following:

    Java Desktop Application-

    Well as the name suggests it is a desktop application which can be created using the Swing library. NetBeans provides a Swing GUI builder which can reduce a lot of effort and hence lead to more productivity. The basic aim of providing such builder was only to help the user focus more on programming rather than the GUI.

    Java Enterprise and Web Applications-

    A very good web based application can be created using this.  Build web applications using CSS, JavaScript, and JSP: Support for frameworks includes JSF (Facelets), Struts, Spring, Hibernate, and a full set of tools for Java EE 6, CDI, GlassFish 3, EJB, and web services development.

    JAVA Mobile Applications-

    Create Mobile applications for Mobile devices using JAVA ME SDK 3.0 combined with JavaFX Mobile.

    C & C++ Development-

    Create C/C++ programs, test them , debug them all in a single IDE. Also run multiple projects at one time which cannot be done in Turbo C++ IDE.

    JavaFX Composer-

    JavaFX Composer is a new visual editor plugin for NetBeans 6.8 (similar to Project Matisse for Swing) that uses components in the JavaFX SDK.  DZone recently interviewed the JavaFX Tools QA Team lead at Sun Microsystems, Lukas Hasik, to see how developers were responding to the new tool and find out when the GA release is coming.  The plugin is still in the process of adding more features, and community feedback is crucial for deciding those features.  It currently resembles tools like Flash Builder and Microsoft Blend, but it makes things easier on developers who don’t have design training.

    for more information on NetBeans 6.9.1 visit the link given below:


    here is the release note of NetBeans 6.9.1





    FIFA 11 PC – Its finally here !!

    For all you Football fanatics out there here’s the exclusive look at the new installment of the FIFA series by EA Sports

    Just two years ago it seemed as if EA Sports had turned its back completely on the PC. With big franchises like NHL and Madden being stripped altogether, it was only FIFA that was left to stumble onwards.

    And stumble it did; whereas on the Xbox 360 and PlayStation 3 FIFA has established itself as the finest football game available, on the PC it’s been less convincing of. There have been a few wayward attempts at innovation – such as FIFA 09’s introduction of mouse and keyboard play – but it’s been lagging behind its console counterparts in almost every regard, the PC version of FIFA 10 a pale imitation of its full-blooded brethren.

    With the introduction of FIFA Superstars and FIFA Online, it’s tempting to think that, for the core FIFA experience, EA Sports has indeed abandoned the PC – or at the very least wilfully neglected it. It’s an approach that’s acknowledged by the talk surrounding the reveal of FIFA 11 on the PC – in the past, PC has suffered, but this year EA Sports is keen to make amends.

    It’s doing that by using, for the very first time, the engine that’s propelled the Xbox 360 and PlayStation 3 editions to such success. Confusingly EA insists on calling it the next-generation engine, and while it’s not as good as what we’re expecting from whatever Microsoft and Sony’s hardware divisions have lined up for us in the future it’s certainly impressive.

    The added grunt is used to paint the sparkling animations and bold character models we’ve come accustomed to with eye-blistering clarity, and all it asks for in return is a dual core processor with 1Gb of RAM and a fairly basic graphics card.

    FIFA 11 on PC is also acknowledging the hardware in other ways too; there’s LAN play, support for up to 35 different game pads with fully mappable controls as well as the capacity for VOIP. After all these years in the wilderness it sounds too good to be true.

    That’s because in some regards it is. FIFA 11’s play is last year’s console iteration sprinkled with some of the learnings of the FIFA World Cup 2010 game. That’s no catastrophe, and at its core it’s still the same muscular and graceful brand of football that wowed us last year with some of the niggles – the often absent-minded keepers and cheap chip shots to name but two – ironed out.

    But it’s lacking several of this year’s big new features – there’s no Personality Plus, for example, nor is there the Pro Passing that’s helped to refine the play of the other HD versions of FIFA 11, and while EA touts this as the next-gen experience it feels remarkably like playing last year’s game.

    There are more PC-specific features to be revealed at a later date that may quell our early scepticism, but for now we’re left thinking that with other versions looking like the best yet and so many other ways to engage with FIFA on the PC that EA Sports could be set to score an own goal.


    In terms of gameplay, the new FIFA 11 is not much to do with the old version on the PC FIFA 10 – but now the game controls completely different: In the past we always had the impression that the players moving to edgy, and now they do right movements when dribbling, running in their behavior and shots. The players can now benefit from a true 360 degree control and can move when you move the analog stick on the gamepad in all directions. In addition, players can now also take on balls in the barrel, without getting extra stand for it.

    Also, the ball behavior is in direct comparison to FIFA 10 PC completely different and newcomers who have not previously played on the console, probably first have to get used a little of the new flight paths. Whether a goal is achieved his goal now clearly evident to the player attributes and skills on the gamepad, as long as I hold the shot button. The same applies to passports and flanks.

    The “new” gameplay on the PC is very much on the gameplay of FIFA 10 release on console – who had already played FIFA 10 on the console, will find themselves immediately and rightly so – that could be, especially for online players a great advantage. Some details have been improved, however, it is for example no longer so easy to überlupfen the goalkeeper.

    Game Modes :

    FIFA 11 contains complete on the PC or other game modes like the version in the previous year:

    Manager mode :

    The “new” Manager Mode in FIFA 11 PC based for the most part already known from the Manager Mode from the console version of FIFA 10th This was, however, slightly edited and reviews and criticism from the community were considered. Thus, some bugs and unpleasant situations were resolved.

    In the manager mode of FIFA 11 to make the players strengths and weaknesses clearly noticeable, the formation of the team and also the position of the players are now considered more than in FIFA 10 PC. Whether and how transfers come about now depends much more on several decision points: how is the prestige of the team? What is the experience and the cadres of the team? In addition the AI now takes better into the action with a wiser and trying to acquire players also.

    The development of players depends on many factors – especially interesting is the distribution of development talent, mental and physical ability. While the mental ability and talent allows up to old age is a positive player development, has the physical ability (age, injury, etc …) is negative to this.

    Be A Pro: Seasons

    may again is the well-known already from the last years Virtual Pro: You can create your own player in FIFA go with you on a journey through the FIFA world. The settings of the player are very detailed, so its appearance can be set very accurately and its basic player features are defined. Now is to assign his players a team where he can develop and where he will play from now on.
    In Be A Pro Season mode, it is now my task, I choose a club with which I can argue with my virtual one per season. This only I control my Virtual Pro players – the other player takes the AI. By good positional play and good passes, shots and goals I get a better player rating – just as it is lowered by fouls, bad passes and tickets again. If I’m just not in the possession of the ball I have the opportunity to call out to my fellow players instructions to run it – if the situation allows it – too. So I can call out a player that he is supposed to fit your players or the ball to my flanks or I’ll call if I want that the AI players shoot on goal.

    In the course of the season – but also in every other game where I use my Virtual Pro – the Virtual Pro developed further – so do I unlock other accessories or increase my attributes.

    Tournament mode :

    The tournament mode is basically explained quickly: Here it is possible to act out various real tournaments. This is primarily about games and not about the functions of the Manager Mode: No transfer, no club management – just games only. For the German-speaking countries here are the tournaments in the first Bundesliga, 2 Bundesliga, the DFB Cup and the Supercup DFL available – just as all known tournaments in the licensed international leagues are included.

    Multiplayer mode :

    In FIFA 11 there are various ways to human players compete against others:

    Head to Head Match :

    The Head to Head Match is a game against a random online opponent – ideal for a quick game in between.

    Online Lobby :

    In search of online opponents, the online lobby is very useful. Here you can search for specific games, and determine options such as game type, capacity, etc …. If one has found a suitable match, you can join this easy.

    Online Team Play :

    This is basically the online version of the Be A Pro mode, “Here I can run up to 9 other players online to play a common game by the rules of Be A Pro: Each player controls their own players – so here’s actually Team Play in demand. The team selection is on the FIFA 11 PC version, however, first to 5 vs. 5 limited.

    LAN Play :

    Tools developed for the PC LAN play mode is the one in a local network without a connection to the EA servers can connect two or more computers. Ideally, for each party or LAN for multiplayer games on multiple PCs at home. The LAN mode has its own lobby, in either a game can host (and can thereby make extensive settings) or can join an existing game.

    Pro Club Championship :

    This mode is more or less the same that it was already on the console version of FIFA 10: I can search online for a club I can join. With my teammates, I can now compete online games against other clubs – these are like the online team play with up to 5 vs. 5 players.

    Additional Features :

    Under the menu item My FIFA 11 Online Messager was a kind of built that will help communicate with his friends to jump in the game. Here I can add new friends, send messages or invite them to a game.
    The penalty kick system is once again the old system that was included in FIFA 10 – so it is not the shooting system of the FIFA 2010 World Cup South Africa game included.

    New to the game are the two German commentators: Immediately Manni Breuckmann will comment on the games, Frank Buschmann will support him as co-commentator. This definitely bring some more variety in the commentary of recent years. At our auditions we noticed that the comments were much looser. Overall, the commentaries of the two fit quite well with the current game. However it from ever happening and that they slip out an improper verdict.

    The game supports gamepads 35, whose keyboard layout you can fully determine. This is done in two ways: the keys can be changed in the game in the options. These changes are not saved, however, as soon as FIFA 11 new starts, again over the standard settings. If you want to change the keyboard layout the long term, then you must add a little this included in a program for settings in Windows. Gamepads that are not officially supported, will also work – here it can happen, however, that perhaps one or the other button is not recognized correctly.

    System Requirements

    Who does not have a high-end PC, you must not worry: the graphics settings of FIFA 11 are scalable. You can set the options yourself, play as much detail and in what resolution you want – if the game is so jerky, then you should scale down the graphics settings easy.

    Those who have a dual core processor at 2.4 GHz, a graphics card with 256 MB memory and 2 GB of RAM (1 GB for Windows XP only), in which the game should run loose – these are the recommended system requirements from EA Sports.

    Direct comparison to FIFA 10 PC

    In general, FIFA 11 on the PC a completely different game, the controls are completely different and includes new features. This I have already mentioned.

    However, omitted some features that were included in last year’s FIFA 10 version on the PC. Live Season for FIFA 10 will not be included, but we were told that this in FIFA 12 will be there again. I find it a pity that the interesting combination of keyboard and mouse control, which was in FIFA 10 PC it no longer exists. The team introduced in FIFA 10 PC FIFA Styles missing in 11th

    Here are some Images of the Game and the Intro video

    here’s the video

    Apple iOS 4-vs-Android

    The competition between Apple and Google is getting intense as the two companies battle for supremacy in the smartphone business.

    Last month, Google updated its Android operating system, introducing Android 2.2, aka FroYo.  On Monday, Apple shot back by making its latest mobile operating system, iOS 4 — formerly called iPhone OS 4.0 — official.

    Apple’s iOS 4, which will be available to customers starting June 21, includes some much-awaited new features such as multitasking that will allow users to listen to music, check e-mail and answer a call at the same time. Other additions are a unified e-mail inbox, folders that can help organize your apps and access to Apple’s digital bookstore.

    But all this doesn’t mean iOS 4 is ahead of Android.

    Read on to see how the latest versions of the two operating systems stack up.
    iOS 4 Android 2.2 aka FroYo
    Devices iPhone 4 and iPhone 3GS. Available for iPhone 3G and iPod Touch but some features not supported. iPad (coming Fall 2010). None right now but HTC Nexus One, Motorola Droid likely to move to Android 2.2.
    Availability Available to developers now. iPhone 3G S, iPhone 3G and iPod Touch consumers get a free upgrade on June 21. iPhone 4 available on June 24. Available to developers now. Available to some Nexus One users now. Updates to other devices “coming soon.”
    Tethering Yes Yes
    Flash Support No. Apple says it supports only two platforms: HTML 5 and its app store. Yes. Beta version of Flash Player 10.1 available on Android 2.2.
    Multitasking Yes Yes
    Hot-Spot Capability No Yes. Wi-Fi can be shared with up to 8 devices.
    Folders Yes Yes
    Copy and Paste Yes Yes
    Video Chat Native support (only on iPhone 4 hardware) Available only through add-on apps.
    Books Support for iBooks to download and read digital books. Available only through add-on apps.
    Music Available through iTunes; automatic syncing with desktop iTunes. Streaming music only supported through apps. Built-in ability to play MP3 files, but no syncing with your desktop music. Streaming music available via add-on apps.
    Apps 200,000 iPhone apps 50,000 Android apps
    Ads In-app ads through iAds. Apple sells and hosts the ads and shares revenue with developers. Payment through iTunes. In-app ads available through Google Mobile ads. Adsense for mobile ads is in beta mode for developers.
    E-Mail Unified inbox combines multiple e-mail accounts. Threading of conversations. No unified inbox. Threading available in Gmail.

    Apple iOS 4-The most innovative mobile OS

    iOS is Apple‘s mobile operating system. Developed originally for the iPhone, it has since been shipped on the iPod Touch and iPad as well. Apple does not permit the OS to run on third-party hardware. As of September 1, 2010, Apple’s App Store contains more than 250,000 iOS applications[1], which have collectively been downloaded more than 6.5 billion times, as per a keynote on September 1, 2010.


    The user interface of iOS is based on the concept of direct manipulation, using multi-touch gestures. Interface control elements consist of sliders, switches, and buttons. The response to user input is immediate and provides a fluid interface. Interaction with the OS includes gestures such as swiping, tapping, pinching, and reverse pinching. Internal accelerometers are used by some applications to respond to shaking the device (one common result is the undo command) or rotating it in three dimensions (one common result is switching from portrait to landscape mode).

    iOS is derived from Mac OS X, with which it shares the Darwin foundation, and is therefore a Unix-like operating system by nature.

    iOS 4 is the next generation of the world’s most innovative mobile operating system. Its unique capabilities and new technologies will change what’s possible on a mobile platform.



    iOS 4 delivers seven new multitasking services that allow your apps to perform tasks in the background while preserving battery life and performance. These multitasking services include:

    • Background audio – Allows your app to play audio continuously. So customers can listen to your app while they surf the web, play games, and more.
    • Voice over IP – Your VoIP apps can now be even better. Users can now receive VoIP calls and have conversations while using another app. Your users can even receive calls when their phones are locked in their pocket.
    • Background location – Navigation apps can now continue to guide users who are listening to their iPods, or using other apps. iOS 4 also provides a new and battery-efficient way to monitor location when users move between cell towers. This is a great way for your social networking apps to keep track of users and their friends’ locations.
    • Push notifications – Receive alerts from your remote servers even when your app isn’t running.
    • Local notifications – Your app can now alert users of scheduled events and alarms in the background, no servers required.
    • Task finishing – If your app is in mid-task when your customer leaves it, the app can now keep running to finish the task.
    • Fast app switching – All developers should take advantage of fast app switching, which allows users to leave your app and come right back to where they were when they left – no more having to reload the app.


    Apple’s new mobile advertising platform, combines the emotion of TV ads with the interactivity of web ads. When users click on mobile ads they are almost always taken out of their app to a web browser, which loads the advertiser’s webpage. Users must then navigate back to their app, and it is often difficult or impossible to return to exactly where they left. iAd solves this problem by displaying full-screen video and interactive ad content without ever leaving the app, and letting users return to their app anytime they choose.

    iOS SDK 4 lets developers easily embed iAd opportunities within their apps, and the ads are dynamically and wirelessly delivered to the device. Apple sells and serves the ads, and developers receive 60 percent of iAd revenue.

    Game Center

    iOS SDK 4 includes the Game Kit APIs that allow you to create apps that will work with Game Center, Apple’s new social gaming network. Your users can invite friends to play a game, start a multiplayer game through auto-matching, track their achievements, and compare their best scores on a leaderboard.

    New APIs

    iOS SDK 4 contains over 1,500 new APIs to incorporate into your iPhone and iPod touch apps, including:

    Calendar Access –Apps can now create and edit events directly in the Calendar app with Event Kit. Create recurring events, set up start and end times and assign them to any calendar on the device.

    In-App SMS-Compose SMS messages from within apps, similar to the Mail compose sheet added in iOS SDK 3.0.

    Photo Library Access-Applications now have direct access to user photos and videos with the Media Library APIs.


    Accelerate provides hundreds of mathematical functions optimized for iPhone and iPod touch, including signal-processing routines, fast Fourier transforms, basic vector and matrix operations, and industry-standard functions for factoring matrices and solving systems of linear equations.

    Automated testing

    Automate the testing of your application by scripting touch events using the new UIAutomation Instrument.

    Performance and power analysis

    Collect finely-grained performance data and track the power usage of your application using the new Time Profiler and Energy Diagnostics Instruments for iOS.

    iOS 4 Compatibility

    iOS 4 works with iPhone 3G, iPhone 3GS, iPhone 4, and the second, third, and fourth-generation iPod touch. iPad support will be available in the fall. Not all features are compatible with all devices. For example, multitasking is available only with iPhone 3GS, iPhone 4, and the third and fourth-generation iPod touch.

    %d bloggers like this: