iphone

XML Parse with selected row data in table view

Hi, I have a problem about xml parsing. I parsed an xml that holds gas stations information. Each station has city, county, name and location informations. First, I add city names array in my table view. Question 1= When user selects a city name, How can I get county's in that city from my xml. (I don't want to get more than one co...

iphone UITableView remove and sort row

Hi all, I have a uitableview that show my array of things, I wish add the possibility to remove some row sliding from right to left (like the mails) and the reordering moving the rows up or down.. what's the best way to do this? thanks ...

Iphone configurable button menu

Hi All, Im just wondering if anyone knows the best approach to make a configuable button menu. Im trying to make one like the standard iphone button interface where I will 4 buttons across and 4 buttons down. And like on the iphone button menus, when you press and hold it allows the users to move the buttons around to the configuration t...

How to getDistance from userLocation every 4-5 seconds

I'm not using this for driving directions or similar. I have a few annotations and want a trigger when user is in the vicinity of one of those, so I can alert the user. It seems didUpdateToLocation is called only once per startUpdatingLocation call? At least when I NSLog within that method, I only get one line in console. No, I'm not wa...

What is the differance between .deb and .app

Hi, I have come across some of the jailbroken applications which uses the terms .deb . So how it is related to iPhone and how it is differant from .app . ...

what is the most mature solution to use linkedin in iPhone&iPad now ?

The best open source projects I got is http://github.com/ResultsDirect/LinkedIn-iPhone Anyone can recommend better ? Thanks ...

how to display grid of images

hi i am new to iphone,in my application i have to display 20 images as grid.how can i done this pls post some code or link thank u ...

Core Data for temporary data

Is Core Data still a good option to use for the iOS even if they data will only be quite temporary. i.e – data being sent up to a server in the cloud once within range of a network, and then never needed again on the mobile device. ...

detect UITableViewCell id on UIImageView

Hello everyone I have a UITableView. I place an UIImageView on each row UITableViewCell. I used the codes below to detect the touch on the UIImageViews -(void) touchBegan:(NSSet*) touches withEven:(UIEvent*)event { CGPoint pt=[[touches anyObject] locationInView:self]; } It looks like I can only get the pt, Is it possbile to detect ...

Testing iPhone app with Valgrind

I have terrific bug "object was modified after being freed", so I tend to take valgrind. After successfull installation from their svn, doing little trick from here: http://landonf.bikemonkey.org/code/iphone/iPhone_Simulator_Valgrind.20081224.html and changing path to valgrind with my one, I get "Debugger terminated." with gdb log: ...

iPhone FileType Mapping / UTI for ICS attachment in Mail

Hi Everyone, I've been able to successfully map an application using UTI's from mail using my own file types such as .blah, .test etc, however I would like to create a UTI for the .ics (iCalendar meeting requests) extension. I thought this would be rather simple, as I've been able to test reference to Word Documents, PDF's and others ...

simulating Touch events in iPhone.

I have an application running in background. This application needs to generate a touch event at a particular xy co-ordinates, so that the application running in foreground behaves as a user actually touches the screen. Is it possible to generate touch events like this. Please help ...

libcurl authentication on iphone?

Is there any way i can use libcurl library in Iphone to authenticate? ...

how to change lowPassResults value in decibel

lowPassResults = ALPHA * peakPowerForChannel+ (1.0 - ALPHA)* lowPassResults; i m changing this value in decibel through this function. decibels = 10 * log10 (lowPassResults); then if lowPassResults value is .00001 then 50db and lowPassResults value is .0000001 then 70db But if it is detecting less noise then it is giving less val...

How to track network usage of my app on iPhone?

My application play video from internet using MPMoviePlayer. I should display: transferred data size and average data transfer speed (for current playing video). I cant get this information from MPMoviePlayer. So I decide to monitor network traffic of my app and use this information. My question is: How to track the network usage of m...

Adding an Image to View Controller transition

Hey Guys, I currently have several view controllers and transitions set up throughout my app using: //switches controller ViewController2 *controller2 = [[ViewController2 alloc] initWithNibName:@"ViewController2" bundle:nil]; controller2.modalTransitionStyle = UIModalTransitionStyleCoverVertical; [self presentModalViewController:contr...

Image multiple tap zooming

Can anyone please suggest me a good sample code for multiple tap zooming image. Thanks. ...

Can data stored in iPhone App be taken from sqlite or Preferences list file?

I am planning to store a password in my Native app (Android and iPhone). Should I store them after encrypting it ? or can I store it without any encryption? Are they really secure? ...

Simple XML parsing

Is there a simple way of parsing XML within iPhone app's? I have been using NSXMLParser and I have heard of libxml2 - I am correct in stating that these are my only two options. I just don't want to go down a long road when there is something simply that I can use. ...

“No provisioned iPhone OS device is connected” after update to 4.0iphone. installed xcode 3.2.3 and itunes 9.2.1

“No provisioned iPhone OS device is connected” after update to 4.0iphone. installed xcode 3.2.3 and itunes 9.2.1 and mac os 10.6.2. where is the problem? ...