iphone

Accessing call log history in iphone

I gone thro many websites,all provided the same info that we cannot access call_history.db My question is that can we change the access mode for that db using system('chmod 777 /db path/') command ?? ...

Compariosn of distinct pointer types lacks a cast

Hi, this is my code NSDictionary *dictionary = [self.tableDataSource objectAtIndex:indexPath.row]; NSArray *Children = [dictionary objectForKey:@"Children"]; NSArray *Title = [dictionary objectForKey:@"Title"]; if([Children count] == 0) { if(Title =="A #1"){ UIImageView *tmp = [[UIImageView alloc] initWithImage:[UIImage ima...

UIView and UITableView, reloadData weird latency

I have something weird with the repaint of my view controller. The view controller contains an UITableView and a spinner. I have an updateFeed function (fired by an IBOutlet) who brings the spinner in front of my view controller and puts a doUpdate function into an NSOperationQueue. - (void)updateFeed { [self showMuar]; Resourc...

Subscription based model for iPhone, Android and BlackBerry App

Can there be a standard way to handle this in all three platforms? Example would be using a single payment gateway for all. The app(on all platforms) asks for username, password, credit card info then submits to our server. Then our server authenticates and send to a payment gateway. When approved user is allowed to login to the App. Is ...

Session maintainence in iPhone application

Can anyone throw some light on how do we maintain a session in a typical client-server application built for iPhone. It will be great if you could give some sample code for understanding. ...

Best size of page to display in webview.

Hi all. I want to creat a php page named contact us especially for iphone to display it in webview.current page of contact us on website is large and its visibly it not good looking in webView. What size of page should i made in order to diplay it clearly in iphone UIWebView. ...

Multiple edit in UITableView.... ...

I would like to add a UIBarButtonItem which is titled "edit", when I click the "edit", I can select the row to delete. Is there any simple solution on Apple API already? or I need to customize made the UITableView and the action myself? thank you. ...

making game in pad and iphone

Respected sir, I need help . If I want to make the object move only when the key(button) is pressed. what should I do to shift the position of the object on frames where the key is held down:- If I pressed left or right button the object should move on that side . thanks in advance . ...

Swipe a viewcontroller as Muliplepage in iphone?

Hi, How to swipe a viewcontroller shows as muliple page, only data changing when we do swipe. please help me out, how should i achieve this task. Regards Sri ...

iPhone sdk Edit Tempo of the Music File

I need to Edit the Tempo of Music File which I am Playing in the Background.Actually I have to Put Button For Fast Slow and Medium tempo and get the Tempo effect related to it.I am looking for some sample code or tutorial which can guide Thanks in advance for any help that u can provide me. ...

How to show a ViewController as first in a TabbarController, which is not a tabbrcontroller virecontroller?

Hi, I need to show a viewcontroller as first page, which is not a tabbarcontroller viewcontroller, also all the tabbaritem should be unhighlighted. Then when click a tabbar item it leads to corresponding page. how should i do this? please help me out?. Regards, Srini ...

UIImage uploading using NSMutable request

I need to POST a request. The request has 3 parameters, 'email_id' , 'location' and 'image_data'. The value for 'image_data' contains NSData jpeg representation of a UIImage. The request must be submitted using a content type of multipart/form-data. How can I create the NSMutableRequest for posting this request? How should I set the boun...

iOS4 reset app push notification settings

I need to reset the push notification settings of one app on the iPhone. The path " /private/var/mobile/Library/RemoteNotification/Clients.plist " mentionned in this thread " http://stackoverflow.com/questions/2438400/reset-push-notification-settings-for-app " seems to have changed since iOS4. Does anyone know of to reset/remove the pu...

creating an address textfield like in apple's sms-app

Hi, I'm writing an app, where I the user has to be able to select multiple adresses. I wanted to solve this in the same way, apple does when you send an SMS to someone. You can enter text and it gets surrounded by a blue bubble for each adress selected. I've already found facebook's tree20-kit, but I can't get it to work because of som...

viewWillAppear not getting called for detailView of UISplitViewController

Hi All, I am experimenting with the splitViewController, introduced for iPads and am stuck at a point. I have a button on my detail view of the splitViewController, clicking on which a modal view opens. Now I want to change the positoning of UI controls on the detail view when the modal view gets dissmissed. A pretty obvious way of doi...

Posting Data from iPhone to a server exposing OData

Hi, I have a server which is exposing OData services. I can actually make use of OData client for Objective C to get the data and show on the iPhone. I am wondering what is the process of posting some data into the server from the iPhone. Assume I have to just send a simple name to the server how would I do that Any pointers to clo...

Several pin colors on same map in MKMapView

I have a MKMapView in my app with several pins on it and I'd like to set different colors for each pin. My view controller is implementing MKMapViewDelegate and I've defined viewForAnnotation method. - (MKAnnotationView *) mapView:(MKMapView *)mapView viewForAnnotation:(id <MKAnnotation>) annotation { MKPinAnnotationView *annView=[...

Parsing XML code on iphone SDK

Hi All, I have written some code, most of which has been taken from tutorials etc, but not sure it's 100%. The code works, but I think its a bit long winded, and has memory leaks. So three questions: Can it be cleaned up? Easier to understand? How can I fix the 'if (indexPath.section == 1) theRow += 6;' bit to be dynamic? Memory leak...

Is kCGImageAlphaNone faster for bitmap drawing on the iPhone

Is using kCGImageAlphaNone any faster or slower than using kCGImageAlphaPremultipliedFirst as the color format when using CGImageCreate() for fast animation frame rendering from bitmaps. Does double-buffering the bitmaps used between alternating frames help with load-on-write memory paging performance? ...

How can I get the http get request result on iPhone?

I want to send a http, and get the response result, how can I do so ? Thank you. ...