iphone

How to send email [csv format] in my iphone app?

Hi I am generating a report in my app. Now I want to send this report as an email. I have seen : http://developer.apple.com/iphone/library/samplecode/MailComposer/ link for help. I want to format whole the text & image & then it should be sent. I have complete data in an array. Now how to generate csv from that & how to send it as an...

Example or tutorial of sending an email in iPhone from another application

Hi all , I am developing an iPhone application . In this app If the user likes to share the information that is currently shown I want to provide a button named "Share" . On tapping "Share" the user will be provided with all the contacts from the address book . After that on tapping one of the user the related details should be embed...

Supported Audio file formats in iPhone

Hi, What are the supported audio files formats in iPhone? If I want to play a 2 hour audio files , what is the best audio file format I should have in my App? Thanks ...

jquery on iphone breaks when native app interupts safari?

When I launch the mail app from a mailto: link from a page in mobile safari on iphone os 3.1.1 (an ipod touch), everything works nicely. When the mail is sent or cancelled, safari runs again, but all jquery functionality is gone. I'm using jquery v1.3.2. Ordinary inline javascript still runs. Has anyone else noticed this and found a ...

Prerequisites to develop iphone native application

Hi guys, My company is planning to develop iphone-native-applications. I'm good with Linux. The questions are: Do we need a MAC machine to develop iphone-app? Can a normal development-framework like NETBEANS / ECLIPSE suffice? What are the other pre-requisites that i might need? Any help is very much appreciated. Plz, pardon with...

UIPageControl dot for a search page

Hello, there! Is there any way to add a magnification glass icon instead of the dot for my first page, that allows to perform some search, using the UIPageControl for my native application on the iPhone? I've tried to google, but haven't find similar questions at all, but it looks like a wide-spread feature in Apple applications. Can ...

Combine two core data applications! Iphone

Hello all, Just preparing myself for a task that i feel could be quite troublesome, and just wanted to get any advice or pointers on where i may fall over with this task. I have two "mini" applications, they both use core data as a persistent storage solution. I am going to combine these two apps to make a "Medium" sized app :) Is th...

"Executable was signed with invalid entitlements" when adding code signing entitlements

Hi! I am about to publish my first free app on the appstore. Following the instruction on the developer portal, I have added an "Entitlements.plist" file, and referenced this file in the "code signing entitlements" project setting. After I did this I can no longer test the app on my Ipod, with this error message "Executable was signed w...

Exchange data between two iPhone child views

Been researching how to send data from one child view to another child view. The application has several views, where one is kind of real-time Settings view. Changes in settings should effect stuff inside other views. NSUserDefaults seems to be popular, but I don't want persistent data nor automatic saving into database/file. Looks like...

Nested UIScrollView-iPhone photos application

Hi, I have been facing the same nested UIScrollView problem for long time.I tried some open source codes like Scrolling madness ,three-20 and others but all fails finaly.I am trying to make a photo Viewer application same as iPhone.For that I have created the structure like this:- 1)one View controller. 2)on view of view controller one...

How to use Objective-c NSTimeZone to convert system timezone to destination's local timezone?

Hi, everyone. I am working on a project which involved in converting current time on iPhone to target destination's time. For example, the application needs to convert current time (08:00) to Germany's local time. I have information about timezone (like UTC +1) and tried to search about how to use NSTimeZone to convert the NSDate value...

What is a registered prefix???

Hi, I want to know what is a registered prefix that has to be done before the url to be called in Objective-C programming of iPhone OS?? Can u explain me with an example?? ...

pixel value in UIImageView's image

Hi, I'm trying to find the value of an pixel in the image displayed in an UIImageView. getting the pixel on the display is (relatively) simple. But when the image displayed is scaled (say the orgig. image is 1200*1600) it's much more complicated because of the scaling .. Any good advice ? ...

Question about the NSArray

groupContentList = [[NSArray alloc] initWithObjects: [Product productWithType:@"Device" name:@"iPhone"], [Product productWithType:@"Device" name:@"iPod"], [Product productWithType:@"Device" name:@"iPod touch"], [Product productWithType:@"Desktop" name:@"iMac"], [Product productWithType:@"Desktop" n...

How to resume view stack of iphone application

Hi, We are implementing one web based application in iPhone. if i answered the incoming phone call my application is relaunching once again instead of resume the application to the state where it last the focus. we are implementing stack of views. I.e i am maintaining views in a stack manner and each view has the information like ima...

how to Swing the stack object ?

Hi to all, I want to stack the objects like scoop game for iPhone & Tower Bloxx. I want to move that stack to left & right based on accelerometer. I am trying to do it by using chipmunk. I am able to stack but I cant able to swing that stack when it's moving from left to right or vice versa. If anyone knows it please help me out. Than...

is there a #define for which active SDK you are compiling for in the iPhone SDK?

Hi all. I'd like to be able to tell at compile time if I'm compiling for iPhone SDK 2.x or 3.x, so I can leave out some bits (e.g. MapKit, GameKit) if need be. Currently I'm doing this using a custom #define. I'm wondering if there is a way of detecting this automatically from the active SDK? I know about TARGET_OS_IPHONE and TARGET_IPHO...

A problem with release object

here my code - (UIImageView *)createImageView:(NSUInteger)inImageIndex { UIImageView * result = [[UIImageView alloc] initWithImage:[mImages objectAtIndex:inImageIndex]]; result.opaque = YES; result.userInteractionEnabled = NO; result.backgroundColor = [UIColor blackColor]; result.contentMode = UIViewContentModeSca...

iPhone:Timer pause and resume?

Hi, My game application is having a timer(starting from 0:00 then increases) when it is is running. For that i use, NSTimer and then int hrVal = (timeCount/60)60; int minVal = ((timeCount/60)60)+9; etc code. At some point of time, lets say user wins one level, i am showing a winning alert, at this point of time, i need to Pause the...

Creating .pem file for APNS ?

Hi all, how to create a .pem file to be stored in the hosting server for APN payload data ? thanks ...