iphone

Any open source /free OCR(Pattern recognition) software? (for mobile platforms?)

Hi, I want to extract the text information (Chinese) from the images that picked by users with their mobiles. So I am here wondering is there any open source/free OCR (Pattern recognition) software for mobile platform. Currently I am doing with iPhone (And android, blackberry platform?) I've searched stackoverflow but seems there only ...

Animate UITableViewCell height on selection

Hello, I've been doing a lot of Googling to try to figure out the correct way of doing this, and so far I am at a loss. I have subclassed UITableViewCell with my own view and I am trying to animate the height of a UITableViewCell to expand when it is selected, and to contract when it is selected again. This table has the potential to ...

Building an iPhone application from the command line, without xcodebuild

It is possible to build an iPhone application manually, without using xcodebuild nor an Xcode project? The idea is to build the application using SCons without creating an Xcode project. I know there is the codesign command line tool, that I could use, but before I start reverse engineering the Xcode build process, I was wondering if an...

Is there a way to cancel an animated UITableView/UIScrollView setContentOffset:animated: ?

My app is crashing when my UITableView is released whilst animating. The app functions without issue so long as the animation completes. Below is the result of a tap on the UIButton which calls [tableView setContentOffset:offset animated:YES]; and then a lightning quick tap on the backBarButtonItem which pops the UITableViewController: ...

App dies on startup but not crash report

I've given an ad hoc version of my app to some users. Two of them have the app die on start up while one user has no issues. I can also install the ad hoc without issue...but that is always the case for me. One user sent the info below from the Xcode Organizer Console. They didn't find any crash logs. I don't know what to make of th...

sqlite3 syntax error

I am having some problem with sqlite. I want to insert some data to database,however,when I use the function sqlite3_exec(db,sql,0,0,&zErrMsg);, the zErrMsg returns: near '\x90' syntax error. the code is : (void) ExecuteCommand:(NSString *)command DBRef:(sqlite3 *)db { const char *sql = [command UTF8String]; char *zEr...

Iphone simulator and webcam

Can we make able the iphone simulator to capture an image via webcam, I've written a program to take image from iphone camera. Can i test this with the iphone simulator??? Pls help ...

Calling the same Viewcontroller file from within the file itself.

The following segment of code opens a new page "ScreenA" with a animation motion: ScreenA *Acca = [ScreenA alloc]; [UIView beginAnimations:@"flipping view" context:nil]; [UIView setAnimationDuration:1]; [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut]; [UIView setAnimationTransition:UIViewAnimationTra...

Search Display Controller to not hide navigation bar when search bar is tapped

Hi, I use Search Display Controller to do the search. I follow the TableSearch sample from Apple. In searchBarTextDidBeginEditing: I put [self.searchDisplayController setNavigationBarHidden:NO animated:YES] to keep navigation bar showing, but this doesn't work. Navigation bar gets pushed to the top when the keyboard shows. Is there a...

.Pls file parsing

Hi, All Iam creating and radio application in which i have to check the authentication and after successful login i get .pls file in which there is actual url which has to be played so anybody know how to parse .pls file and get the url inside the .pls file. ...

how add the action sheet in the cell of table view.

I want to add the action sheet in cell of table view, i want when i click on the cell of table view the action sheet should come and after i click on the the option in action sheet, i want to go to the next view. ...

iPhone + framework

Hello, While including any new framework for an application, if we look into the path /Developer/Platforms, we get following two platform: iPhoneOS.platform iPhoneSimulator.platform In both the above folders we see almost the same frameworks. So, my question is that which framework we should include from the anyone of the above. Re...

Help stopping audio using AVAudioPlayer

Alright I have two problems. I'm using AVAudioPlayer to play a simple audio file in .caf format. What I'm trying to do is have a play and pause button. Here is a sample of a simple IBAction to play the audio from a button. - (IBAction) clear { NSString *path = [[NSBundle mainBundle] pathForResource:@"clear" ofType:@"caf"]; AVAudioPla...

Accessing remote server database from iphone?

hi, Is there any way to access the remote server database from the iphone? except the way of json or by xml. Can i get sample code? ...

iPhone FTPS client

Hello, I have no clue how to make an FTPS (FTP over SSL) on the iPhone. I would like to use the following code ftpStream = CFWriteStreamCreateWithFTPURL(NULL, (CFURLRef) url); CFWriteStreamSetProperty(ftpStream, kCFStreamPropertyFTPUserName,username); CFWriteStreamSetProperty(ftpStream, kCFStreamPropertyFTPPassword,password); self.netw...

Selecting text in mobile Safari on iPhone

I'm trying to make it easy for an iphone user to copy some text to the clipboard in mobile safari. As in the usual "touch-hold-copy". There is a specific bit of text I want to a user to copy. I have full choice of the html markup in which to wrap the text. How can I make it easy, rather than abitrary? For instance: Is there a way to "s...

Is it possible to have AVFramework and AudioToolbox framework in one app?

I'm trying to write develop audio related application. In that, I'm using AudioToolBox framework for recording the sound. And I'm using AVFramework to play soudns. When app is stared, it will play some mp3 file using AVFramework. And also initializes Audiotoolbox. In simulator, I'm able to record and play. But when I'm testing it on iPho...

checking the contacts added to the favourites

Hi all, How do I programatically check that my contact is added to the favourites . I didnt find any suitable api's in the doc .. Best Regards, Mohammed Sadiq .. ...

CLLocation manager Gives me old position

Hello i used CLLoction manager to get location.but when ever i start my location then it gives me oldlocation which is store in device previously.i want to reset the location for this i used flag on first launch of application i used newlocation and call stopupdateinglocation and startupdatinglocation method.But oldlocation is not change...

Keeping the y-axis fixed at place?

Hi all, this is the code in the continuation of this question....http://stackoverflow.com/questions/1892544/allow-horizontal-scrolling-only-in-the-core-plot-barchart -(BOOL)pointingDeviceDraggedAtPoint:(CGPoint)interactionPoint { if ( !self.allowsUserInteraction || !self.graph.plotArea ) { return NO; } CGPoint pointI...