iphone

How to convert .jpg image to .bmp format using Objective C?

Anyone knows how to convert .jpg image to .bmp format in iphone using objective-C? And how i process(or RGB color) the each pixel of IPhone Device caputured image? Is there need to conversion of image type? ...

UISearchBar: Changing the appearance - Shape, Background, Overlay an Image

I'd like to change the appearance of the default UISearchBar. As an example, how would you recreate the search box in the Google iPhone app as seen below? How would you overlay an image to produce this effect? ...

Programatically generating UIButtons and associate those with IBAction

Hello, How do I do if I want to programatically generate a set of buttons and then associate those with IBActions? It's easy if I add the buttons in Interface Builder, but that I cannot do for this case. Thanks in advance! ...

How to Stream mms:// audio streams in iPhone

We know that we can streamm http:// ,but whether is it possible to Stream mms:// streams in iphone?If yes,how? ...

Does iPhone SQLite implement SQLite's R*Tree Module?

Was wondering whether this was the case because R-tree is the best way to search for points in a rectangle as well as events within ranges (according to SQLite Documentation). However given 1.) the iPhones spatially endowed SDK adn 2.) that R-Tree needs to be specifically installed as part of SQLite, it may not be included. ...

iPhone app architecture

Hi all, considering good design, is it better for each view controller to manager their own connection / networking / loading, or to centralize it in the app delegate, or a separate object? Context: I have a multi-tab app, each with a navigation controller, and a number of view controller below. Each view controller is doing networ...

iPhone writing to KeyChain none standard error

I'm trying to write an entry to the keychain, but it fails with a return code of -25243, the documentation only lists the "common" error codes and points you in the direction of "The Open Group" for help. I've downloaded the document but haven't got a clue where to look, the document is over 1000 pages long and just appears to list a loa...

iPhone: Calling dealloc on parentViewController causes an exception

Hi, I'm dealing with viewDidUnload and dealloc methods and I've founded a problem when calling [super dealloc]; in parent view controller. I have a lot of view controllers with custom code which I have putted outside on a parent view controller. So, when defining my view controllers I set a reference to the super class: @interface Log...

Sending and receiving sms in backend of iPhone

Hi, I am new to iPhone application development. In the application that I am developing for iPhone there is a module which sends the sms without knowing to the user to my sms server and gets the response and displays the result. Is there any way to send and receive sms message in app? Thanks in advance. ...

iPHONE - can I have a limited functionality application?

I am about to create a light version of an app of mine. My idea is to have the same application and limit its functionality. For example: suppose my application allows 4 modes of operation. The lite version would contain the first mode unlocked and then, if the user selects one of the other modes, show a message saying these other mode...

Custon MKPinAnnotationColor

Hi, I have searched a bit on google, but didn't really found an answer to my question. I want to create a pin with a different color, e.g. yellow or orange. How should I do this? It seems that it's not possible to create one sending a UIColor to it. Should I design them myself and somehow change the pin to an own image? Best regards, ...

Animating UIView problem (matching the expanding animation to the shrinking animation)

Hi, I'm trying to animate a UIView so that it can grow larger when tapping a button and shrinks down to its original size by tapping the button again. I do this by adjusting frame to its new size and origin and running the code below. [UIView beginAnimations:nil context:nil]; [UIView setAnimationDuration:1.5]; [UIView setAnimationCurv...

Three20 dependency problem

Hello all! I checked out the three20 source and was trying to follow this guide to build an iphone app using the framework. Within this guide, Templates are used which I checked out too. They ought to compile properly, but I get the following error: File /Users/myUser/programming/three20/src/build/Debug-iphonesimulator/libThree20.a de...

Mail App's emails button iPhone

Hi There. I need a for a project i'm working on a button similar to the one the Mail app use to display the a contacts. If you don't see what i'm talking about, please see this image: http://www.aboutptc.net/theButtonIneed.png Thanks in advance. ...

Which Frameworks are used to access Mac or windows PC from iPhone from a different place or remotley

Hi all, In my project i want to access my Mac remotely through my iPhone. i.e, like we can access other systems by using our system using gotomeeting software like that, in the same way i have to access Mac through iPhone. To achieve this which frameworks or what approach i have to follow. ...

iPhone: " 'class_name' may not respond to methd_name" and "Unrecognized selector" Errors

Hi, I have written an application in which I want to convert a .jpg image to .bmp format but I it fails with the error: class_name' may not respond to methd_name". My code is following : #import "CalculateRGBViewController.h" @implementation CalculateRGBViewController @synthesize skinImage; @synthesize lblRedColor,btn,img; str...

UINavigationController strategy (iPhone)

Hi Something is puzzling me, after going through my app with instruments, it is a UINavigationBased App, it noticed this. Each time a tableView cell is tapped and I do this: GenericTableViewController *someViewController = [[Generic TableViewController alloc] init]; [self.navigationController pushViewController:som...

Is it possible to save an image with Core Graphics on the iPhone?

The following code converts a PDF page into a JPEG. It runs as expected on Snow Leopard: ... //get the image from the bitmap context CGImageRef image = CGBitmapContextCreateImage(outContext); //create the output destination CGImageDestinationRef outfile = CGImageDestinationCreateWithURL(fileUrl, kUTTypeJPEG, 1, NULL); //add the image ...

UITableViewCellAccessoryCheckmark in black?

Hello Is there any easy way to change the color of the "UITableViewCellAccessoryCheckmark" from standard blue to black? Or do i need to make a subclass of uitableviewcell and insert a imageview myself? Thanks :-) Sebastian ...

Resolving html entities with NSXMLParse on iPhone

Hi all, i think i read every single web page relating to this problem but i still cannot find a solution to it, so here i am. I have an HTML web page wich is not under my control and i need to parse it from my iPhone application. Here it is a sample of the web page i'm talking about: <HTML> <HEAD> <META http-equiv="Content-Type" ...