iphone

Verify/Check to see if a Configuration Profile has been installed on iPhone

Does anyone know if there's an API to check to see if a particular Configuration Profile has been installed on a iPhone OS device? Thanks, Cole ...

Core Data Ordered Join Table Efficiencies

I have a complex core data mapping in my app, simplified to the relevant pats to this question here in this image: My question is how to get sorted Foo's efficiently. Let's say that in one of my views, I have a sectioned table with every foo in it. The sections are the categories. Each section of foo (in a category) has an ordering...

Change iPhone's default Browser

Is there any way to alter the application an iPhone uses to view websites so that Safari isn't opened by default? I'm thinking it may be possible with a Jailbroken phone by editing an application's Info.plist to trick the iPhone into thinking a 3rd Party browser is Safari or using some form of openURL to handle all NSURL calls. ...

How to mix "Custom Section Header View(s)" and "Regular Header(s)" in a UITableViewController?

Imagine a table ("StyleGrouped") with multiple sections: Some sections should have a "regular header title". There should be some buttons, between the "regular sections". Intuitively, in order to define the section titles, I would use: (NSString *)tableView:(UITableView *)tableView titleForHeaderInSection:(NSInteger)section And ...

How to specify image for the Settings app in iPhone app

How do I specify the image for the Setting in the iPhone for my iPhone app? What are the requirements for the images? ...

Where is the leak here??

-(IBAction)startGameButtonClicked:(id)sender{ //gameViewController = NULL; //[gameViewController release]; //[gameViewController dealloc]; if(!gameViewController){ gameViewController = [[GameViewController alloc] initWithNibName:@"GameViewController" bundle:nil]; } appDelegate.ScoreID=0; [gameViewCo...

Prevent an HTTP client from hitting a server with cache (iphone)

Ok, I'm confused. I'm trying to send back the magic headers from my server that will prevent a client from hitting the server again until a resource is stale. I understand how ETag or Last-Modified works (Validation) - the client will ALWAYS still hit the server, and the server needs to validate the date or etag against the current val...

Can I force NSURLConnection to load from cache?

I had considered writing a custom url cache, but it seems that NSURLCache is supposed to support a disk cache. I'd like to have my iphone app use cached responses without hitting the server at all until the resource becomes stale (as determined by the headers I send back from the server). Do I have to call something fancy with NSURLCon...

Implement a web service or use scripts for iPhone App interaction?

I'm in the middle of working on my first native application with networking and I have a question regarding the best way for interacting with remote storage. In a perfect world I'd like to do the following. Prompt the user for login information from the iPhone. Verify the users credentials and connect to a MYSQL database hosted by m...

Iphone Utility App Singleton Problem

This is vexing me in my utility app: I have a singleton declared in the manner specified here: http://cocoawithlove.com/2008/11/singletons-appdelegates-and-top-level.html My singleton has 4 declared properties: 3 floats and an int. Now, in my view controller I set the properties like this in an updateSingleton method: [[Singleton share...

How to represent object from array?

I have the following array, which was retrieved from JSON results: <NSCFArray 0x196e3e0>( { NameID = 3; Name = test1; }, { NameID = 6; Name = test2; } ) I'd like to go through each object via a tableview and assign its values to labels in a custom tableview cell. How do I access NameID and Name on each iteration? D...

Objective-C iPhone - UIImagePickerController error

Hi, I'm doing something with UIImagePickerController. It works fine and the Picture browser does open, however, I get this message. "Failed to save the videos metadata to the filesystem. Maybe the information did not conform to a plist." What could be causing that? That is caused by this line [self presentModalViewController:self.imgP...

Working with ASR by Loquendo on iPhone

Hi All, I am trying to find a way to implement some ASR (Automatic Speak Recognition) functionality in my client's iPhone app. We use the Loquendo API. The API comes with a very long documentation, but, unfortunately, without any code samples except some very basic project that doesn't show all the included functionality. I've spent d...

Is it possible to do this on the Android and iPhone? (for mobile developers)

Embed a browser inside the application. When the user navigates to a desired page, he pushes a button to "set" this page. Now, the application gets the URL of this page! How hard is this to do on the Android and iPhone? ...

How do you convert an IPhone OSStatus code to something useful!?

I am getting more than a little sick of this iphone sdk and it's documentation... I am calling AudioConverterNew in the documentation under Returns: it says "returns a status code" ... really... so far, through playing around with the parameters I have only been able to get two different errors neither of which are listed at the botto...

Codesign error ,What can I do?

When I debug my application on device,it alert the info " Codesign error: no certificate was found in your keychain for the specified identifier "(null)" ...

How can I present a modal view and get rid of another at the same time?

I am looking for a way to present a modal view animated, and make it look like the current modal view is presenting the new one in the animation, but behind the scenes ditch the old modal view (the new modal should have the same parent as the old one). Presenting one on top of the other is not an option as there is an arbitrary number o...

iPhone UIWebView stringFromJavaScript with jQuery

I'm looking for a way to include the jQuery javascript library in my project so I can use [myWebView stringByEvaluatingJavaScriptFromString:a jquery command]; This doesn't work: NSString *jQueryPath = [[NSBundle mainBundle]pathForResource:@"jquery-1.4.1" ofType:@"js"]; NSData *jQueryData = [[NSData alloc] initWithContentsOfFile:jQuer...

Why does UITableViewCell backgroundView blur an image

I am subclassing a UITableViewCell and in the init function I am doing the following: UIImageView *imageView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"packagelistcell_background.png"]]; [imageView setFrame:CGRectMake(0, 0, 300, 81)]; self.backgroundView = imageView; [imageView release]; When that displays on the scree...

things to consider for qt application development on winXP on atom processor

Hi All, I am going to develop voip,iptv based application using QT on OS-WinXP and Platform-Atom processor for handheld device As a application programmer point of view if I will not think about the drivers what are the other things I need to consider for this project? Like what should be the software layers in the handheld device? I ...