iphone

iPhone stringWithCString is deprecated

hi all, I use this code to read data from sqlite database: keyFromSql = [NSString stringWithCString:(char *)sqlite3_column_text(preparedStatement, 1)]; but the compiler give me the warning wrote in the title... so, what is the right and not deprecated method to retrieve a value from sqlite? thanks! ...

VOIP implementation in iphone

how to implement voip in iphone using code is there any code to implement it ...

iPhone doubt after analyzing the project

Hi all! I have some memory problems, from another post I tried to analyze my project to understand my errors.... here are some things that I don't understand where's my error.... thanks 1: sqlite connection: 2: json converter: 3: url connection: 4: cell of uitableview: ...

Android, iPhone, Symbian and Windows Mobile development learning material

Hi people, I would like to ask all of you if you know any good books, articles etc ... on development for these mobile platforms. I'm looking for learning material where the whole technology, OSes and development is discussed in great detail so i could gain a deeper understanding of the system as a whole. So any quick start tutorial and...

Programatically installing the application in iPhone

HI, I like to install the .app programatically from my application. I hope it can be done only through jailbrokken iPhones. Can anyone share some knowledge regarding this. I found a application called "CallMe" in cydia store. This application programatically installs the other one. Or how to install the iPhone applications (.app) file i...

How do save username and password in my twitter application in iphone

Hi all, i am integrating twitter in my iphone music application.When the user enters username and password in the login dialog box of twitter and clicks on the post button the user is redirected to updatecontroller page where he can post his comments on the twitter and when he returns backand clicks on another songs his username and pass...

Question regarding to Navigation Controller

Hey guys, I recently trying to play with Navigation Controller and I'm facing some problems here would like to seek for help. I opened a new project and using view-based application. After that I add a Navigation Controller from library then I build and run, why I can't see the navigation bar on the simulator? I only see a white view .....

UIWebView Safety / Privacy

Does UIWebView pass on referral information? If a user clicks a link to my server and my server immediately redirects the request to a second server. Will the second server see the referral page? What's the default behavior? If that information is pass to the second server, how can I prevent that? ...

http post request

I m a new comer to the iPhone world,m working on an application having login page,i have to send UIText value of username and Passworld value to the server...plz help me out,code would b appreciated ...

iPhone accessing one resource by two threads

hi, I want to synchronize one queue among two threads. Such as one thread performs enqueue and other performs dequeue. Any ideas?? ...

why and where to use a delegate in objective c

i m a new iphone programmer i have created some small views without delegates.... if a program can run without a delegate then why and what is need of that yet i have seen some programs on net having delegates........ i m confused .......... please answer me waiting for your answer.............. ...

any view to main view in iphone programming

i want to go from any sub view to main view directly on a single button click but not pressing back again and again ...

iPhone Application Loader and Icon File extension

So i've got an iphone app that i've finished updating with high resolution graphics. Included in the update was adding a new high resolution icon ([email protected]) If i set the "Icon File" key in the -info.plist file to "icon" the icon displays expected on the device, however when i try to upload the application using application loader, ...

StoreKit SKProductsRequest Crash

I use the following code to request a list of products as per the In-App Purchase Programming Guide. It used to work fine in my iPhone application, however now it crashes every time the product list is requested. The delegate method (void)productsRequest:(SKProductsRequest *)request didReceiveResponse:(SKProductsResponse *)response is ne...

Objective C - NSArray and For loop structure

Hi everyone, Work got in the way of learning Objective C but i'm back at it now and this has been driving me crazy. This is my code: i=0; for (i=0;[photoList count]; i++) { NSLog(@"%i",i); NSLog(@"%@",[photoList objectAtIndex:i]); NSString *fileName = [photoList objectAtIndex:i]; sendImage = [UIImag...

Displaying what the Camera can see in a View.

How would I display what the Camera can see in a view as if you were using the Image Picker in Camera Mode? Is this possible, to access the camera directly? ...

NSXMLParser. How to parse KVC-plist-thingamajig-like XML?

So, basically I want to make objects "Songs" from iTunes Library.xml The problem is that XML-file looks more like .plist Here is an example: <key>56</key> <dict> <key>Track ID</key><integer>56</integer> <key>Name</key><string>apple-ipad-video</string> <key>Kind</key><string>QuickTime Movie</string> <k...

Objective-C Classes

So I have a ViewController Class which is my first view, I then add a subview to it, pseudo code code below; ViewController2 *viewController2 = [[ViewController2 alloc] init]; [self addSubview:viewController2.view]; My question is, in ViewController1, I have a method that does an animation and removes the view. How can I call that me...

How to parse html string in iphone

Hi all, i m using this code for posting and getting the data from the server. NSString *post =[NSString stringWithFormat:@"any-data=%@", myData]; NSData *postData = [post dataUsingEncoding:NSUTF8StringEncoding allowLossyConversion:YES]; NSString *postLength = [NSString stringWithFormat:@"%d", [postData length]]; NSMutableURLRequest ...

CoreData: Loading in an Initial Data Set from XML.

I have a plain XCode CoreData enabled iPhone/iPad navigation application. In this I have modifed the data it initially defines to represent some categories in the table view with associated images. For example by modifying a Event to Category elsewhere, changing the .xcdatamodel file and altering this call in RootController.m: - (void...