sdk

How do you create a multi button confirmation on the iPhone?

On the iPhone, in the Calendar App when you press the "Delete Event" button a confirmation slides in from the bottom. Does anyone know of any example code for this, or is it just a short view presented modally with a custom background? If this is made using a custom view, do you know where I can get a background graphic the same as the ...

Develop on mobile phones(Java), using SDK or not?

Recently I have to develop on mobile phones using Java and I am planning to do the development on the following brands: Nokia Samsung SonyEricsson Motorola LG I've browsed the "developer site" of each company and looks like they all have provided their own SDKs for J2ME development. I am really new to this field and I have a few q...

How to rotate an Info Button with the view?

Hey, I'm just trying to write a view based Application, which only uses the landscape Orientation. Using this Code: application.statusBarOrientation = UIInterfaceOrientationLandscapeRight; in the ApplicationDidFinishedLaunching Method the Application starts in landscape orientation. The problem is, that if I create a landscape view ...

Where can I find commercial grade IP geolocation webservices?

I need a webservice that will return the country location given an IP address. I only have two requirements: It must be able to take thousands for requests per second. It must be a service where I don't have maintain the data. I know there are very similar questions here on SO, but most of the stuff people reference violates at least...

How do I implement the protocols for the Three20 framework?

I've been trying to implement the Three20 framework in my iPhone SDK app. I'm a bit confused as to implementing the proper methods. Is there any guide as to what to implement in order to make the TTPhotoViewController work? I know how to implement protocols, but the code is very difficult to read. Anyone know any guides with this speci...

iPhone OS 3.1.3 does not work with Xcode 3.2.1. Do I have to install SDK 3.2 BETA?

Same as the title. Do I have to install SDK 3.2 BETA to work with OS 3.1.3? I really want to avoid to install BETA on my main workstation. No other way? I'm also thinking about rollback to OS 3.1.2 if there is no way. I'm regretting about I made no backup. ...

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...

Another quick iPhone Memory Question! Real Memory?

How much real memory should my iphone app be using? What's going too high? ...

UIActionSheet problem with FBConncet {iPhone SDK}

hi everyone . i implement FBConnect for my app via UIActionSheet with 2buttons . my buttons are "Share On Facebook" and "Log out from facebook" . so i want when user click on share on facebook button FBLoginDialog shows and user log in to facebook with his account and then show FBStreamDial appears and user share something on his wal...

Playing mp3 on iphone sdk?

-(IBAction)musiconButtonClicked:(id)sender{ NSString *path = [[NSBundle mainBundle] pathForResource:@"NextRevIt" ofType:@"mp3"]; AVAudioPlayer* audioPlayer = [[AVAudioPlayer alloc ] initWithContentsOfURL:[NSURL fileURLWithPath:path] error:NULL]; [audioPlayer play]; } -(IBAction)musicoffButtonClicked:(id)sender{ [audioPl...

Audio Processing and Playback

Where is the demo code shown in the last 5 minutes of the WWDC 09 video - Session 316 : Audio Processing and Playback.? ...

More Leaking Code help?

-(IBAction)customizeYourGameButtonClicked:(id)sender { [self playHumanHitSound]; self.customizeYourGameViewController = [[CustomizeYourGameViewController alloc] initWithNibName:@"CustomizeYourGameViewController" bundle:nil]; [self.navigationController pushViewController:customizeYourGameViewController animated:YES]; [custo...

iPhone SDK: how to get the value of a UITextField in an alert?

I'm really new at this. I've been working my way through a couple of "HelloWorld" type tutorials that basically have a text field, a button, and when you click the button it alerts whatever's in the text field. I've gotten as far as getting an alert to show and being able to set the title, message, and button text directly. However my at...

iphone - any way to manipulate recorded audio?

Specifically, I just want to record something, reverse it, and play it back. I've looked through the apple docs and couldn't find anything about editing audio. Is it possible? ...

Hiding UIAlertView Opened in Another Function (iPhone SDK)

I am using the solution posted in this thread: http://stackoverflow.com/questions/1832459/how-to-show-a-alert-when-user-click-on-use-button-after-shooting-a-picture-using However, that gave an error on the following line that "saveImage" was undeclared. saveImage = [[UIAlertView alloc] initWithTitle:@"Sa... So I changed the code to r...

Language codes in platform SDK 6.1

Hi, Language codes are in the form "en-US","de-DE" or "sl-SI" for English US, German and slovakian respectively. Whether there is any #define s present in PLATFORM SDK 6.1 for language codes. Its better if i got these values instead of using Hard coded strings in my program. Can anyone help me regarding this. Its better if i get the hea...

Where do I release CGMutablePath??

I'm posting this question again but this time I'm including the full code. It's extremely long, but here goes nothing. I don't know where to release thePath? I believe it's the last of my leaks, hopefully. -(void)MoveObject:(int)Tag { representationX = gameViewObj.spaceshipImageView.center.x; representationY = g...

Not able open open applications in iPhone SDK 3.2

Hi guys i have downloaded iPhone SDK 3.2 and installed it successfully, after that i shutdown the system and restart it. When i am opening previous applications or try to create new application i am getting "Not Responding". What may be the problem can any one help me out. ...

A problem with NavigationController and FBConnect [iPhone SDK]

hi . i implement Facbook connect for my app on the AnotherViewController [based on NavigationController Project] , on there i have something to share to facebook . so when put this code on the viewDidLoad . when user go to AnotherViewController with Push animation . my FBSession appear to login !! i want when user select the button and ...

iPhone: How to implement a Persian Calendar?

I'm in the process of making a Persian Calendar app for Persian users. I was wondering if I have to make a database to store all the days or is there an algorithm to generate the calendar? thanx ...