iphone

List selection in Ringtone shows a blue color for selected item. What color code is that?

Hi, Do anyone know the color code for that blue selected text, as it is in Ringtone list? thanks. ...

UITableViewCell background image and selection problem

Hello everyone ! It's my first iphone app, and i have trouble with styling my tableView. I have two images (png), one for standard cell state, and one for selected state. In my subclassed cell, I tried the following : 1) setting up front the backgroundView and selectedBackgroundView UIImage *ib = [UIImage imageNamed:@"tab.png"]; UII...

how to know the path of file in iphone sdk?

i want to connect database to iphone sdk but it is taking the default path inside the system folders but not in the app bundle ?how can i change the file path from that system directory to file in my app bundle? ...

Ipod touch, python and BtStack

Does any one have tips on accessing the ipod's bluetooth functionality though python forgot to say im using a jail broken ipod touch 3g running 3.1.3 ...

glPointSizePointerOES and glScalef

I am using point sprites to display a few ten thousand points, each with a different size. It works well, looks great and is quite fast. I'm using a VBO with the coordinates and the sizes in it (4 floats per point). Here is my display code glEnable(GL_POINT_SPRITE_OES); glEnable(GL_TEXTURE_2D); glBindTexture(GL_TEXTURE_2D, pointTextur...

How to record sound on the device, not sound from the iphone's microphone?

I need to record the sounds from the iphone, not from the iphone microphone. Does anybody know how to proceed? ...

iPhone - window.pageYOffset always returning 0 (Zero)

Hello Experts, I want to capture the vertical scroll position on iPhone (Webapp). When I tried with "window.pageYOffset", its always giving '0' irrespective of page scroll position, Does any one any clue how to get vertical page scroll position in iPhone? Thanks in advance, Hari ...

speech to text is not working

i m searching for a long time but i m unable to find API for speech-to-text in iphone. even i got some thing in NSSpeechRecognizer but it's framework appkit.framework is not available in xcode but it is in mac os. so i m unable to use NSSpeechRecognizer class what is the problem i m not getting... if some body has plz tell about that ...

Memory allocation in Objective C

I have a simple question. I was referring "Your first iOS application" document by apple.I found that the class has a property called myViewController: @interface applicationClass { MyViewController *myViewController } Now to assign a memory to this pointer, the code shown is: MyViewController *aViewController = [[MyViewController...

how to convert NSString to NSMutableArray?

hi, i have an NSString that is value in plist format. i download this string from url. but i dont wanna write it to a file. when the string comes Asynchronous, i want to put it to nsmutablearray. how can i convert string (in plist format) to nsmutablearray? there is some methods, initWithContentsOfURL, initWithContentsOfFile. but no inti...

how to dismiss an existing popover and show another popover in a single touch in ipad

i'm having a UItableView with lot of cells. Each cell is associated with different kind of popovers. When i touch a cell a popover will be shown. When i touch the other cell of the tableview i want to dismiss the existing popover and i've to show the popover corresponding to the selected cell. But, when i touch the area outside the p...

"There was an internal API error." while running an app on any iPhone/iPod-touch device

I am in the process of submitting an iPhone app to the app store. While making the final touches to the app I was in the process of compiling and running the app on my iPhone when I got the message ... "There was an internal API error." The console had this to say ... 25/08/2010 10:10:54 Xcode[3556] Failed willExecute: Error Domain=c...

UIImageView does not autoresize properly when ViewController launches in landscape mode

I have a UIViewController (VC) which can be presented in landscape or portrait orientations. The VC contains an imageview whose autoresizingmask is set to: UIViewAutoresizingFlexibleLeftMargin When the VC is launched in portrait mode and subsequently rotated, the imageview moves appropriately. However, when the VC is launched in landsca...

How do I adjust my content views so that they are not obscured by the keyboard?

When the keyboard slides up in my iPhone application, it obscures a large portion of the screen. How do I adjust my views so that they are not hidden under the keyboard? ...

How to bind 2 NSMutableArray?

hi, i have 2 NSMutableArray with same type. i want to add second nsmutablearray to first one. NSMutableArray *tmpArray1 (10 objects in it) NSMutableArray *tmpArray2 (10 objects in it) if i use [tmpArray1 addobject:tmparray2]; tmpArray1's count goes to 11. but i want to append tmparray2 to firstone. count must be 20. thanks... ...

how to find OS of Mobile generally?

hi, I could not find out OS of Lot of mobiles? for example MicroMax , Videocon Mobiles in India, they did not give that details in their specification, what os will it have? why they did not give that details? but JVMs are there...any help please? ...

How to communicate with web service in JSON and Core Data?

I am writing an application where we communicate with a web service in json. I would love to cache data from this service, so that the user always can show cached data while we are fetching updated data. I have looked into a minor project; Core Resource that is a layer over Core Data. It converts from JSON to data objects, and it looks ...

Character count in MFMessageComposeViewController

Is there a way of showing the character count in the MFMessageComposeViewController? I have turned it ON in the iPhone settings for the native sms app but in my app it does not show it. ...

Get zip code from latitude, longitude?

I want to get zip code from users current location(Latitude, Longitude), I had used MKReverse Geocoder delegate methods, but sometimes I am not able to get zip code information based on latitude & longitude (valid values). Are there any other alternatives for MKReverseGeocoder ? ZipCode database are specific to countries, that's why I do...

How to send png images from iPhone to web service

Hey all, I have been trying to send .png images from iPhone to web service. I have come so fas as converting the .png image into a byte[] array. I am clueless as to how to use soap or HTTP get/post to transfer the byte[] image to the web service. Any help would be greatly appreciated. Sayeed ...