RaOne iphone app


Now, Raone is available on your iphone and ipad.Once again the greate film Ra-One of Shah rukh khan will releasing on 26th October 2011.you can download the free RaOne iphone app from here
Descriptions and features available in itunes are



Description
Ra.One | Genesis is a free to play top down 3D arcade action game, available for Smartphones & Online. You play as the mighty superhero 'G.One' who will stand to defend the world, against the wrath of a surreal creation, codename 'Ra.One' and his minions, who are all set to bring chaos and destruction.
**The game exclusively supports
iPod's - 4th generation
iPhone 3GS , iPhone 4 & the new iPhone 4S
iPad 1st &2nd Generations
-The game does not support any other previous versions of iPods & iPhones.
-Please verify your handset compatibility before downloading the game.
Features:-
- Play as ‘G.One’ the next generation superhero that can solidify electricity and use it to bring down any form of enemy. Equipped with special abilities and weaponry, he stands by to defend our world.
- Explore 3 futuristic terrains; each more deadlier than that first.
- Cinematic cutscenes to create an immersive storydriven experience.
- Your Mission is to survive & destroy horde of the most brutal minions led by Ra.One's Commanders.
- Encounter epic boss battles, tons of character customization and purchasable weapons, armor and upgrades.
- Track your unlocked achievements over Game Center or publish them on your facebook wall.

Best iphone development books

iphone become very  popular since it launched in 2007. It continues to be the leading mobile device today with millions of applications in the App Store.If you want to develop the iphone applications you must start from the beginning. There are lots of books available in the market.For the quick iphone and ipad application development
Here is the best books for the iphone development
This is the best iphone development book for the beginners As, its start with the basic process of downloading the SDK for the iphone and ipad development.It start with the basic program and explains the interface and various controls available in the iphone development
This book explains you through essential tools and techniques for developing applications for iPhone, iPad and iPod Touch. You’ll learn about mapping services, accessing accelerometer data, handling multi-touch gestures, ways of sorting and loading data, communication with web services and localization. The book has a variety of visual cues and code samples, which will help you get a hang of iPhone programming. It really deserves a place on your bookshelf.
The book is not iPhone specific, but it’s still very useful as you need to have a solid  base in Objective C if you want to develop some really cool iPhone applications. The book assumes no prior programming knowledge and serves as an outstanding guide for beginners. You’ll learn about the basics of Objective C programming, Foundation Framework and Cocoa and iPhone SDK.The separation of these main topics, Objective-C Language features and the Foundation Framework for example, almost guarantees that there won’t be much confusion if you are learning the language for the first time and that there will be a distinction between the topics and concepts for each section.

How to take the screenshot in iphone Simulator

Run your project in menu bar got to file > Save Screenshot
or
Run your project and press “ Command + S “
please refer the screenshot below
screenshot in iphone simulator

Add image and text on button programmatically


Many times we have the requirements to add the button programmatically as well as to the text on that button when we set the image on the button then text will be not visible.so, in that case write the following code
start code and new project view based application or singleview application
then inlace of the viewDidLoad method write the following code then run the application
you will find the button with the image and with the text just click on the butto.
-(void)ButtonClicked
{
UIWebView *wv = [[UIWebView alloc] initWithFrame:CGRectMake(0, 50, 320, 410)];
[wv loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://development-iphone-app.blogspot.com/"]]];
[self.view addSubview:wv];
}
- (void)viewDidLoad
{
UIButton *Btn = [UIButton buttonWithType:UIButtonTypeCustom];
[Btn setFrame:CGRectMake(10, 10, 300, 35)];
[Btn setBackgroundImage:[UIImage imageNamed:@"reviews.png"] forState:UIControlStateNormal];
[Btn setTitle:@"http://development-iphone-app.blogspot.com/" forState:UIControlStateNormal];
[Btn setTitleColor:[UIColor redColor] forState:UIControlStateNormal];
[Btn setFont:[UIFont fontWithName:@"Helvetica" size:14.0]];
[Btn addTarget:self action:@selector(ButtonClicked) forControlEvents:UIControlEventTouchUpInside];
[self.view addSubview:Btn];
[super viewDidLoad];
}

Apple - Introducing Siri on iPhone 4S


Iphone 4s Siri the aladdin chirag
How siri works and looks

Siri on iPhone 4S lets you utilize your tone of voice to send command, schedule meetings, place phone calls, and employ your wish like aladdin chirag. Request Siri to do things just by talking the way you talk. Siri understands what you say, knows what you mean, and even reply back. Siri is so simple to use and does so much, you’ll keep finding more and more ways to use it.
Talk to Siri as you would to a person. Say something like “Tell my mother I will come late.” “Remind me to wake up early in the morning.” “Any yoga class is around here?” Siri understand what you say, finds the information according to your need, then get back to you. In fact, ask Siri what it can do — it even speaks for itself. It’s like you’re having a conversation with your best friend i.e. iphone 4s.
video for siri

UITableView Example

UITableView is the basic list view available in iphone development, with the help of [uitableview] we can list out the values in the single column an in multiple row format. uitableview is the useful in the many of the iphone development. uitableview is ver easy to implement in the xcode.
Here is the example to implement the uitableview for the beginners 
Step 1.  
Open xcode create new project and add the UITableView control in you view controller. Just drag drop the uitableview view in view. And then set the delegate for the delegate with the file’s owner.refer the below image
Step 2.
Write the following code in your .h file
#import <UIKit/UIKit.h>
@interface UITableViewViewController : UIViewController <UITabBarDelegate,UITableViewDataSource>
{
    NSArray     *UITableviewExample;
}
@end
Write the following code in your .m file
#pragma mark - View lifecycle

- (void)viewDidLoad
{
    UITableviewExample = [[NSArray alloc] initWithObjects:@"Iphone Developer",@"Android Developer",@"BlackBerry Developer", nil];
    [super viewDidLoad];
}

#pragma mark - Table view data source
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView
{
    // Return the number of sections.
    return 1;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
    // Return the number of rows in the section.
    return [UITableviewExample count];
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
    static NSString *CellIdentifier = @"Cell";
    
    UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
    if (cell == nil) {
        cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:CellIdentifier];
    }
    
    cell.textLabel.text = [UITableviewExample objectAtIndex:indexPath.row];
    
    return cell;
}
Now just run the program you will get the following output 



Xcode 4.2 is now available with greate changes


Xcode 4.2 adds support for many facial appearance that are available in iOS 5.0.

The LLVM compiler supports Automatic Reference Counting (ARC), and Xcode includes a menu item to convert targets to use ARC
The Interface Builder user interface provides support for creating storyboard files for your iOS applications
In iOS Simulator, you can now simulate different locations for applications using the Core Location framework.
• You can download your application data from an iOS device and automatically bring back that data when debugging or testing in iOS simulator or on a device.

How the Xcode 4.2 looks

Hi,All
Xcode 4.2 is now released by Apple which include ios 5.0 the worlds most advance mobile operating system.
Apple incudes very classic features in the Xcode 4.2 and many basic changes
Here is one image for how many types of Application

There is changes in types of Application

1. Master Detail Application 
    This template provides a starting point for a master-detail application. It provides a user interface              configured with a navigation controller to display a list of items and also a split view on iPad.
2.OpenGL
    This template provides a starting point for an OpenGL ES-based game. It provides a view into which you render your OpenGL ES scene, and a timer to allow you to animate the view.
3.Page-Based Application
    This template provides a starting point for a page-based application that uses a page view controller. 
4. Single View Application
    This template provides a starting point for an application that uses a single view. It provides a view controller to manage the view, and a storyboard or nib file that contains the view.
5.Tabbed Application
    This template provides a starting point for an application that uses a tab bar. It provides a user interface configured with a tab bar controller, and view controllers for the tab bar items.
6. Utility Application
     This template provides a starting point for a utility application that has a main view and an alternate view. For iPhone, it sets up an Info button to flip the main view to the alternate view. For iPad, it sets up an Info bar button that shows the alternate view in a popover.
7. Empty Application
     This template provides a starting point for any application. It provides just an application delegate and a window.

Passing values between two UIViewControllers

Hi,Welcome again
There are some times requirement in iphone development i.e. How to pass values between two view controllers Here is the code in xcode

Root class code is here

@interface FirstRootViewController : UIViewController
{
}
@implementation FirstRootViewController
in Any button click event write the following code

SecoViewController *cn = [[SecoViewController alloc] initWithNibName:@"SecoViewController" bundle:nil];
cn.SecondControllerString = @"Your value";
[self.navigationController pushViewController:cn animated:YES];
 [cn release];

@end

@implementation SecoViewController
-(void)viewDidLoad
{
          NSLog("%@", SecondControllerString);
}
@end

iphone 4s


Iphone 4s is released on Friday, Oct. 14, 2011. It's the hottest and greatest iPhone, with Dual-core A5 chip. 8MP camera and optics. iOS 5 and iCloud. And introducing Siri. It’s the most miraculous iPhone yet.
But for some people, it's a significant event because the 4S is the first brand-new iPhone to be released on any wireless carriers other than AT&T. People can also utilize it on Verizon and Sprint.



Technical Specifications of iphone 4S
Height: 4.5 inches (115.2 mm)
Width: 2.31 inches (58.6 mm)
Depth: 0.37 inch (9.3 mm)
Weight: 4.9 ounces (140 grams)
Retina display
960-by-640-pixel resolution at 326 ppi
Fingerprint-resistant oleophobic coating on front and back
Support for display of multiple languages and characters simultaneouslyBuilt-in rechargeable lithium-ion battery
Charging via USB to computer system or power adapter
Talk time: Up to 8 hours on 3G, up to 14 hours on 2G (GSM)
Standby time: Up to 200 hours
Internet use: Up to 6 hours on 3G, up to 9 hours on Wi-Fi
Video playback: Up to 10 hours
Audio playback: Up to 40 hours

example for the NSMutableDictionary in iphone development


Here is the code how to set the value in the NSMutableDictionary

NSMutableDictionary *dict = [[NSMutableDictionary alloc] init];
[dict setObject:@"007" forKey:@"Id"];
[dict setObject:@"Steve Job" forKey:@"name"];
[dict setObject:@"http://development-iphone-app.blogspot.com/" forKey:@"blog"];
 NSLog(@"%@", dict);
please follow the code to retrive the value from the NSMutableDictionary
NSString *Name = [dict valueForKey:@"name"];
you will get the vale for the Name is Steve Job
 

Print the log in iphone development

Here is the code for how to print the log in the iphone development
Simply you have just write the
NSLog(@"%@",Any variable);

iphone application development tutorial for beginners

So you've got a Mac, you've got an iPhone, and you actually want to start develop some apps. There's plenty of documentation available, but the greatest way to learn a new language and framework is to basically dive right in. All of the documentation and tutorials I ran across when learning to program the iPhone depended a small too much on Interface Builder, which mostly sticks a layer of magic between me and what I want to do. Frankly, I like to begin at the base and work my way up, which is why this tutorial is going to show you how to develop  a basic 'Hello World' application.

Here are the simple steps to develop the simple HelloWorld iphone app

Step 1. start the Xcode 
Step 2.   
      When you launch XCode you'll be presented with a welcome screen. You can either look through             that or just dismiss it, none of it is particularly important. What we need is a new project. Select File > New Project to bring up the project templates.


Step 3.
Choose the Window based Application Window based Application are the simple iphone App Development

Step 4.
Now give your Application name and save the application

Step 5.  Now open the Xib File and drag and drop the Label in your Design and add the label name HelloWorld
Step 6. Now run the Programme you will get the Simulator which will display the HelloWorld Label





Read Write value from plist file in iphone

Here is the method how to read or write in plist file in iphone development

-(void)writeToPlist:(NSString *)User_Id
{
    NSString* path = [[NSBundle mainBundle] pathForResource:@"data" ofType:@"plist"];
    NSMutableDictionary *UserData = [[NSMutableDictionary alloc] initWithContentsOfFile:path];
    [UserData setObject:User_Id forKey:@"CustomerId"];
    [UserData writeToFile:path atomically:YES];
    [UserData release];
}
-(NSString *)ReadFromPlist
{
    NSString* path = [[NSBundle mainBundle] pathForResource:@"data" ofType:@"plist"];
    NSMutableDictionary *UserData = [[NSMutableDictionary alloc] initWithContentsOfFile:path];
    return [UserData valueForKey:@"CustomerId"];
    [UserData release];
}

Apple's iOS take over great market share

Apple's iOS and Android have been battling for the hearts and minds of mobile users. But which one is on best of the other seems to differ from report to report.
including all of its mobile devices, Apple holds the lead over Android on InMobi's ad network with 29 percent of all ad parody. But since January, Millennial Media has sited Android in front of iOS with a larger share of ad impressions tracked on its mobile ad network. Looking at the second quarter, Android was consecutively on 52 percent of all smartphones, says NPD Group, while iOS was found on 29 percent.
The results can vary depending on which devices are tracked. Looking austerely at smartphones, Android classically pops up in the lead. But by including tablets in the mix, iOS sometimes turns up as the top dog.

Which Tablet you should buy


Hey,
I am using the table and ipad since last 2 years I most like the ipad
but there are also other Tablets are available  
  1. 1. Ipad 2 is the Apple product great experience to have it
  2. 2. Xoom is manufacture by Motorola with Android 3.0 with 10.1 inch display
  3. 3. Galaxy Tab is the Samsung product there are various tablet available in the market manufacture by Samsung with Android os
  4. 4. TouchPad  is manufacture by HP with the great HP webOS 3.0
  5. 5. BlackBerry PlayBook is the product of RIM comes with the RIM BlackBerry Tablet OS
Android and the iOS are the most popular os in the world
So, Please Refer this chart before buying the Tablet 

Latest News about the iphone 5


There are some rumor about iPhone 5 as well – equally good and bad. I’ll start with some wanton one- it’s said that the initiate of so much expected iDevice is belated till October… Who knows, actually…As for positive news- the rumors leaked that the screen of iPhone 5 will be bigger, and the device will be thinner than iPhone4. The “thin iPhone” rumors point to a warped back design for the device, which seems somewhat implausible, given that Apple has switched from such a design to a rectangular, flat back in iPhone 4.

APPLE WILL INSTIGATE IPAD HD AS AN ALTERNATIVE OF IPAD3


According to the most recent rumor about the launch of Ipad3, apple will launch ipad HD as an alternative of Ipad3 and it will be happening in the fall. This will be a new entry in the ipad series. The ipad HD, which should not be confused with the ipad 3, it will come with a twice resolution screen (2048 x 1536), and be targeted toward a specific high end market.



Well, according to the reports the idea would be to create a “Pro” version, like the MacBook Pro vs. the MacBook. At the similar time, the company will apparently release a version of Final Cut or some other type of video / photo manufacture app.

Apple To Definitely Announce iPhone5 In October


Apple‘s fresh CEO, Tim Cook, will hold a enormous media event Oct. 4 to disclose the iPhone 5, All Things Digital bang mentioning sources “memorable with the subject”.
If accurate, the presentation date of the next generation iPhone is solid with the recent wave of gossip demanding it will be released early in October.
According to the report, the sources claim that Cook will lead over the statement — with the help of other key executive such as Phil Schiller, who contributed in such events previously as well — which would give this event even more significance. Cook must convince the shareholders, the viewers and Apple fans all over the world that he can sure-handedly take over the role of Apple CEO and company showman. This will be his first keynote as the CEO and the expectations for that particular job are, simply put, enormous.
It is not known whether Steve Jobs, who resigned from the role of Apple CEO in August, will be present at the event.

Database connectivity in iphone Application

Hi,Find here the code how to connect the sqlite database in iphone Application
There are requirement to connect the Database an store the local data Sqlite is the option for the iphone App database,Here is the steps


// Write and call this method in your delegate file
- (void) copyDatabaseIfNeeded 
{
//Using NSFileManager we can perform many file system operations.
NSFileManager *fileManager = [NSFileManager defaultManager];
NSError *error;
NSString *dbPath = [self getDBPath];
BOOL success = [fileManager fileExistsAtPath:dbPath]; 
if(!success) {
NSString *defaultDBPath = [[[NSBundle mainBundle] resourcePath] stringByAppendingPathComponent:@"Database.sqlite"];
success = [fileManager copyItemAtPath:defaultDBPath toPath:dbPath error:&error];
if (!success) 
NSAssert1(0, @"Failed to create writable database file with message '%@'.", [error localizedDescription]);
}
}
- (NSString *) getDBPath {
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory , NSUserDomainMask, YES);
NSString *documentsDir = [paths objectAtIndex:0];
return [documentsDir stringByAppendingPathComponent:@"Database.sqlite"];
}
// Write and call this method where you want to fetch and store the data.
-(void)GetData
{
    NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory , NSUserDomainMask, YES);
NSString *documentsDir = [paths objectAtIndex:0];
NSString *dbPath = [documentsDir stringByAppendingPathComponent:@"Database.sqlite"];
static sqlite3 *database = nil;
if (sqlite3_open([dbPath UTF8String], &database) == SQLITE_OK)
{
const char *sql = "Select * from Table"; // Your Querry
sqlite3_stmt *selectstmt;
if(sqlite3_prepare_v2(database, sql, -1, &selectstmt, NULL) == SQLITE_OK) {
while(sqlite3_step(selectstmt) == SQLITE_ROW
{
// Fetch the rows
NSString *temp = [NSString stringWithUTF8String:(char *)sqlite3_column_text(selectstmt, 0)];
            }
}
}
    sqlite3_close(database);
}

Powered by Blogger.
Twitter Delicious Facebook Digg Stumbleupon Favorites More