iphone

Regarding mutiple annotation on map-help

Hi All, I am new to iphone.... need ur help... I know this question ask so many times but not satisfy with answer...not able to solve my problem........ I want to show mutiple annotation for multiple location with differnt color...... e.g i want show philips with its braches,Reliance with its branches, ..........near about 4 to 5 compan...

Bonjour NSStreamEventHasBytesAvailable event speed (enabled WiFi and Bluetooth both)

I'm develpoing a network app using Bonjour service on iPhone devices. My problem is that NSStreamEventHasBytesAvailable event speed is slow when i enable WiFi and Bluetooth both on my devices. But strangely if i enable only one either WiFi or Bluetooth, NSStreamEventHasBytesAvailable event speed is fast normally. Is it originally slow...

writeToFile:atomically: not working in 4.1 SDK and below but works on 4.2 beta SDK.

I use the following code to write to the plist (assuming dict is already populated): [dict writeToFile:[appDelegate dataFilePath] atomically:YES]; where in my App Delegate: - (NSString *)dataFilePath { NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirector...

app with Scanning functionality for iphone os 3.x+ with framework of os 4.0+

I am currently developing one application which needs the barcode scanning facility for that I am planning to use the scannerkit SDK, What I want is to build the application for the iphone os 3.x+ but the some framework(CoreMedia and CoreVideo) which scannerkit sdk uses are part of os 4.0+, I had linked this two framework weak, so that I...

Cubic Spline class for Obj C or C?

I need to use natural cubic spline interpolation in an iPhone app. Does anyone know of a class for Obj C or C that resembles this: http://www.ee.ucl.ac.uk/~mflanaga/java/CubicSpline.html "performing an interpolation within a one dimensional array of data points, y = f(x), using a cubic spline." ...

Access all the photos of user album in iphone using application

Hi all, I am working on one application in which i need to show slide show of the user selected photo album, UIImagePickerController only returns the selected image. I want all previous and next images of the selected image, is it possible with UIImagePickerController and if not is there any other way that i can do it. Thanks in advance,...

hide the statusbar

Hello everyone I hope to display the view of one of ViewControllers in my app as full screen , so in Interface Builder, I set the statusbar as None. I also resize the frame of view as 320*480 but when I run the app, the view of the viewcontroller still displays the statusbar. Welcome any comment thanks ...

Local function call from UIWebview

Hi i have an uiwebview, I have prepare the htmlstring format of data to load in webview. I am using this line to load htmlstring in uiwebview. [webView loadHTMLString:htmlstring baseURL:[NSURL URLWithString:[NSString stringWithFormat:@"file:/%@//",imagePath]]]; In the html formated string we have an one image button.When i click...

using TTThumbsViewController with UITabBarController

I am new to iPhone programming and recently I've found out a great framework, Three20. However, I am stuck in making the TTThumbsViewController to come out when a tab bar item is selected. Any idea? ...

Reloading view when returning from background

Hi, using iphone sdk 4.1. Sometimes when returning from the background state on iphone 3GS device the view returned to has lost one of its images or labels. The ViewDidAppear method doesn't get called either when returning from the background. Is there any way to force reloading the view so these methods are called. Thanks ...

Captured image convetred into heat, night, b&w Modes. How to save the converted image save in portrait mode in iphone?

Hi, I am begining to iphone. i am working on camera modes. like heat, night, black and white. after capturing the image it will convertd into selected mode, like heat,b&w,night, but the problem is after converting the image it shows in landscape mode. Help me ...

'NSCharacterSet' may not respond to '-count'

I got a warning message in NSCharacterSet *myCharSet3 = [NSCharacterSet characterSetWithCharactersInString:query3]; int chr_count3; chr_count3=[myCharSet3 count]; How to fix that warning ? ...

Downloading a Large File - iPhone SDK

Hello everybody, I am using Erica Sadun's method of Asynchronous Downloads (link here for the project file: download), however her method does not work with files that have a big size (50 mb or above). If I try to download a file above 50 mb, it will usually crash due to a memory crash. Is there anyway I can tweak this code so that it w...

Problems running SDK 3 iPhone App on IOS4

I have made an iPhone app building with SDK 3, expecting it to run on all platfroms of IOS 3 and up. My app uses location services, and in iPhone 4 IOS one can shut down location services for a specific app. Doing so causes my app to hang indefinitely. I handle the case where location services are disabled in general, but not per app...

Drawing class to allow layer control

Hi, I would like to implement a drawing class with the help of Quartz. I want to be able to save parts of what is drawn on separate layers. I want these layers to be retrievable, so I can delete/hide/show layers on command. Can I save multiple CGLayerRef as a NSMutableArray property of my class and then be able to retrieve them? If yes...

Auto play youtube error ?

- (void)webViewDidFinishLoad:(UIWebView *)YouTubePlayer { UIButton *b = [self findButtonInView:YouTubePlayer]; [b sendActionsForControlEvents:UIControlEventTouchUpInside]; } - (UIButton *)findButtonInView:(UIView *)view { UIButton *button = nil; if ([view isMemberOfClass:[UIButton class]]) { return (UIButton...

How to implement erase/undo in this method

I have successfully implemented touchesMoved and it is drawing line properly now I am facing problem in implementing erase method, please assist me where I am lacking. - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event { mouseSwiped = YES; UITouch *touch = [touches anyObject]; CGPoint currentPoint = [touch locationInVi...

get device phone number through javascritp in android

hi folks i want to get device phone number through javascript for validating user. i am sending sms to client when he click on url i need to perform some operation. for that i want to get device phone number in smartphones ...

LocationManager problem after updating the application in iphone

Hi All, I am using LocationManger class to get user's current location. When i install application from App store and run application first time application ask me that " APP would like to use your current location." followed by "Don't Allow" and "Ok" button. At this point of time application works fine. Now I uninstall application and...

Designing a single WebViewController to load number of url's iphone

I have a view which consists of 5 buttons. On clicking each button the corresponding url must open up. I want to design a single webviewcontroller to load the corresponding url on button click... Can anyone suggest how to achieve this??? ...