iphone

NSMutableDictionary in iPhone

After adding the key value pairs in NSMutableDictionary, when i retrive the key/values from it, will that retrived key/value be removed from NSMutableDictionary? or is it stil maintained in NSMutableDictionary? ...

is it possible to slide in UIAlertView from left screen?

instead of popup from center can we change to another animation (eg, undo animation)? ...

How can I develop production iPhone apps and iPad apps on the same machine?

It seems that in the future, we can just use the non-beta iPhone SDK to develop for both at once. But for now, the only way to develop for iPad seems to be to use the SDK 3.2 beta. However, if I install that, Apple clearly states I should not submit apps to the app store with it. I'm an independent, one-machine developer. Is there a ...

playing title and artist name shown in iphone

Hi, I developed an online radio application in iphone by using AudioQueue.In my application I want to display the song name and artist......could anyone suggest me how can i retrieve those information in xcode ...

IPhone compilation of ported code problems: calling a static templated function that's inside a templated class == fail

template<typename T> struct AClass { public: template<typename T0> static void AFunc() {} }; template<typename T> void ATestFunc() { AClass<T>::AFunc<int>(); } this works on other platforms, but not on the iPhone I get an error " expected primary-expression before 'int' " on the line where I call the function. it ...

how to add one UIView object on other UIView object programitically?

Hello, Consider this as my SubView UIView *subViewObj; and this as MainView UIView *mainViewObj; i need to make MainView as root View can i don it in this way? [mainViewObj addSubview:subViewObj]; is this correct?i need to do it programitically, without using Interface builder. ...

"Content URL must not be nil" error when playing video

I am playing video from a local file in my application and it works properly, but then suddenly playing the video crashes the application with this error: 2010-03-10 11:34:20.235 SanjeevKapoor[1560:20b] * Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Content URL must not be nil.' This is...

libssh2 wrong library for connection with User agent + iPhoneSDK

Hello Guys, back here with libssh2 again..! I'm encountering few problems with the user agent... I need to setup a connection with libssh2 in such manners, if password, username is not specified, they should be asked from virtual command-prompt on iPhone. We've developed a command-line emulator, its's working good.Right now the proble...

Show google maps on mobile website

Is it possible to add google maps on a site designed specifically for the iPhone? I have never integrated maps in my websites before, so this question really goes more because of my inexperience. Using basic html and javascript at the moment. ...

Formatting a Date String using NSDateFormatter

Hi, I have a NSString which is passed from an xml feed........ NSString *strDate =@"May 14 2010"; I'm currently using this code to format the date........ NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init]; [dateFormatter setDateStyle:NSDateFormatterMediumStyle]; [dateFormatter setTimeStyle:NSDateFormatterShortStyle]; [...

over-the-air deployment of iPhone app

Hi All, Does anyone have any idea on how to perform over-the-air, deployment of an iPhone app? Apple's document say that enterprise applications can be distributed OTA, but don't describe , how to go about it. Any ideas?? Thanks in advance. ...

How can I get lat from userlocation?

Hello Users, I have a little (and I hope not hard, for you ) question: How can I get the latitude and longtitude from mapView.userLocation? I need that to get the distance between userLocation and another point on the map. I hope you can help me and thank you beforehand! Best Regards, Marco ...

how to add navigation controller programatically?

hi.. I have a problem, In my app there is requirement that..I have 6 buttons in a nib, when i press any button a new nib will be loaded into the window according to the button pressed. problem is after loading the new nib If I want to come back to the previous nib (which is having all the buttons) how to add navigation controller? what...

how to insert value from one table to other table in sqlite3 database.

hi I am new in iphone i am developing a application with data base i am create a database and have to table we want to insert one table value to other. I am not understand how do this. if any body know help me with coding. ...

Has anyone had experience using the Objective-C bindings for YAJL?

http://github.com/gabriel/yajl-objc I've already tried SBJSON, and while it works, I'm looking into alternative options to improve on parsing speed and memory consumption. Usage of this library doesn't seem to be as straightforward as SBJSON though, and I'm not sure how to begin using yajl. Something like this: NSArray *parsed = [dat...

get return result after post to server (from iphone)

Hello guys. I make iphone application, post parametes to JSP (test.jsp in server) from iphone. The following is my codes: NSData *postData = [@"&test=123&field=456" dataUsingEncoding:NSUTF8StringEncoding]; NSString *postLength = [NSString stringWithFormat:@"%d", [postData length]]; // Init and set fields of the URLRequest NSMutableUR...

Push ViewController from Right To Left with UINavigationController

Hi, As everyone know the UINavigationController push a ViewController from Left To Right, is there a way to push the View from Right To Left? like the animation for the back button. For now I have this: [self.navigationController pushViewController:viewController animated:YES]; ...

window as RootViewController with Navigation Controller upon it

Hello, UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:windowObj]; Can i do this? Making a window as RootViewController with Navigation Controller upon it. ...

Exception thrown with SQLite result from Column with NULL value

Hi, when selecting a column that can contains a NULL value I get an exception thrown on this statement. self.DirectionFromCity = [NSString stringWithUTF8String:(char *)sqlite3_column_text(compiledStatement, 8)]; How should I go about setting these attributes as NULL values are OK for the Database. ...

iphone app photo upload to server from app threads

I have an app that needs to upload a least 5 photos to a server using API call available with the server. For that I am planning to use threads which will take care of photo upload and the main process can go on with the navigation of views etc. What I cant decide is whether it is OK to spawn five separate threads in iphone or use a sing...