iphone

How to Download the ZIp Folder from Server in iPhone application???

Hi i want to download the Zip Folder in iphone application from remote server that have many HTML files and CSS. Then I want to display it on the UIWebview? ...

Newbie question: NSOperation for iphone SDK

Hi I got some problem with NSOperation . I always got error at "self = [super init];" (already use break point to find this) it always return "Program recieved signal: EXC_BAD_ACCESS" all the time //AddThread.h @interface AddThread : NSOperation { NSString * str; } @property (nonatomic,retain) NSString * str; -(id) ...

Session is restarted when using the alert view in iphone?

I am new to iphone development.I am creating a map application.Now i am facing a problem with the alert view.To see how alert view displayed in simulator, i have added a alert view in the "view did load "method.When i click a button in the landing page it navigates to another view(where alert view is displayed)When i run the app ,in con...

How should I implement bi-directional networking between an iPhone application and an Objective-C server-side application?

I'm looking for advice on the best way to implement some kind of bi-directional communication between a "server-side" application, written in Objective-C and running on a mac, and a client application running on an iPhone. To cut a long story short, I'm adapting an existing library for use in a client-server environment. The library...

iPhone Facebook / Linkedin Home Screen Widget

Can anyone explain how facebook and linkedin implemented the home screen widget for their iphone applications? ...

Displaying a localised version of iPhone Contact Picker (ABPeoplePickerNavigationController)

In my app I use the ABPeoplePickerNavigationController to present an address book to the user so they can select a contact from their contacts. I want my app to support multiple localizations (English, French) and I was expecting the ABPeoplePickerNavigationController to display the correct localised strings when I changed the phone's l...

How to run webkit on Windows?

Is it possible to integrate it with VS.NET? ...

sqlite error :/* SQL error or missing database */

Hello everyone I have a project in which I stored sqlite database file "data.sqlite3" to 'Group'&files'-'resource' Below are my viewcontroller source codes //-myviewcontroller.h #import "sqlite3.h" #define kFilename @"data.sqlite3" //myviewcontroller.m -(NSString *)dataFilePath { NSArray *paths = NSSearchPathForDirectoriesInDom...

Xcode runtime error: ".objc_class_name_CContext", referenced from:

hi, I'm getting this error in Xcode while developing an app for iPhone , what is this error related to, ... what should i do to clear this error? Here CContext and CManager are interface which implement there own protocols.And TestManagerAppDelegate is the interface where i'm creating the object for CContext and CManager and i want to ca...

Blank MFMailComposeViewController the second time it is presented?

I got a strange problem with MFMailComposeViewController. The first time it is displayed using presentModalViewController:animated, everything works perfectly. The second time it is blank, with nothing on screen except for the navigation bar, the Cancel & Send button. I have already set the mailComposeDelegate correctly, and dismiss ...

How to upload a file to iphone app from a computer?

In some of the apps, I have seen its possible to upload files to the library of a certain application. They ask to type "http://192.xxx.xxx.xxx" and then to upload files to that location which inturn becomes available for download in iphone when we use the same URL. Do anyone have an idea how to do it OR where to look for to gain info ...

iPhone, How to concatenated two audio file as single ?

hi, as topic, if it is possible to do this feature ? Thanks. Regards ...

xCode 3.2.1 Alien Leak

Used code in entire project: - (void)applicationDidFinishLaunching:(UIApplication *)application { UITabBarController *tb = [[UITabBarController alloc] initWithNibName:nil bundle:nil]; [window addSubview:tb.view]; [tb release]; [window setBackgroundColor:[UIColor blackColor]]; [window makeKeyAndVisible]; } ...

How do I play music using MPMusicPlayerController?

Hi Guys, Can any one suggest me how to play the music using MPMusicPlayerController in my application. Anyone's help will be very much appreciated. Thank you, Monish. ...

To display permission page in facebook of iphone

hi, I am new to iphone development, i want to display the permission page after logging facebook. buttonIndex is the index of my actionsheets. if(buttonIndex == 1) { session = [FBSession sessionForApplication:@"My App key" secret:@"My Key" delegate:self]; FBLoginDialog* dialog = [[[FBLoginDialog alloc] initWithSession:sessio...

Core Data VS SQL Statement, which one is gd for iphone development?

iPhone 3.0 support the Core Data, it seems a great tool for developer. But SQL statement seems it is easier to get start, but core data is easier for maintaining db. But I'm considering the SQL statement, because it seems have better performance. I am consider which one is better for iPhone development, any suggestion? ...

Make UITableView selection before view appears

I'm building a detail view for a UITableView. The detail view contains a UITableView which has two rows, and I want the first one to be selected when the detail view is opened. I have tried to use the method [selectRowAtIndexPath:animated:scrollPosition] in [viewWillAppear]: - (void) viewWillAppear:(BOOL)animated { [[self tableView]...

MonoTouch CoreGraphics PDF memory issues with CGPDFDocument and CGPDFPage

Hi. I've been working with MonoTouch for 3 weeks now and everything was going great until I had to display PDFs in my app. Using Apple's Quartz 2D Programming Guide I managed to display the PDF. The problem is, that the app runs out of memory. I tried to use the Dispose() methods on the CGPDFDocument and CGPDFPage objects, but t...

How to set the activity indicator in the navigation bar?

I am new to iphone development.I want to set an activity indicator in the navigation bar.I see my activity indicator below the navigation bar.My code is here -(IBAction) gomethod : (id) sender { xxMapSubviewcontroller = [[XxMapSubviewcontroller alloc] init]; [self.navigationController pushViewController:xxMapSubviewcontroller animate...

iPhone, I can send accelerometer data via wifi only 248 lines

I have created one application on iPhone. I build an application that gather accelerometer value and pass this value to c# server in realtime via wifi connection. I use NSStream with IP and port number. I was working perfectly, but now I realize that it stops after fetch value only 248 lines. I tried to write this value in text file l...