ipod-touch

Can the cocos2d Director return time?

I am currently using the cocos2d Director for controlling my animation with the pause, resume, and stopAnimation methods. Is it also possible to use the Director to return the time that the animation has played? I am currently using this method: -(void)stopAnimation:(id)sender { //Timer initialized elsewhere: startTimer = [NSDate ...

Making An Emoji Enabeling App

I know they sell a lot of apps in the app store that claim to "unlock" emoji keyboards. Do you know how I would go about doing this? I want to made an app that enables emoji keyboards. I have payed the 100 dollar developers license fee if this makes a difference. Thanks! ...

How can I detect if headphones are connected to an iPod touch G1?

There are many articles on how to detect if a microphone is connected to an iPod touch G2 via AudioSessionGetProperty / kAudioSessionProperty_AudioInputAvailable, but I have not seen any articles related to detection of headphones connected to an iPod touch G1. To review: iPod touch G2 hardware differs from iPod touch G1 hardware in the...

What's the best format for sound effects on iPhone

What is the recommended audio format for storing and playing back short (2-3 sec) audio sound effects on the iPhone or iToouch? The iPhone audio SDK documentation indicates that the iPhone supports audio in several formats - however there are drawbacks to each: MP3: This is a highly compressed, but also high-quality encoding format th...

Rich Text Editor on Mobile Safari

I'm trying to build a Web page that has a rich text editor. Is it possible to use a rich text editor (such as FCKEditor) in Mobile Safari on the iPod Touch (or iPhone)? All of the demos I tried worked perfectly but weren't editable (The keyboard doesn't appear) EDIT: Does Mobile Safari support editable IFRAMES (or any equivalent) at a...

MKMapView loading all annotation views at once (including those that are outside the current rect)

Has anyone else run into this problem? Here's the code: - (MKAnnotationView *)mapView:(MKMapView *)mapView viewForAnnotation:(WWMapAnnotation *)annotation { // Only return an Annotation view for the placemarks. Ignore for the current location--the iPhone SDK will place a blue ball there. NSLog(@"Request for annotation view"); if ([...

iPod Touch on device debugging crashes (EXC_BAD_INSTRUCTION, EXC_BAD_ACCESS)

I'm using iPod Touch 2G as a developement device with Xcode 3.1.3. When I try to trace the execution on the device from a breakpoint in the debugger I get EXC_BAD_INSTRUCTION, EXC_BAD_ACCESS or some error with debugger not being able do disassemble something. The same thing will work properly on iPhone Simulator. Previously I've been abl...

How can I access the iphone / ipod clipboard using python?

Hello, I want to modify a python application written for the ipod/iphone. It should copy a string into the clipboard so that I can use it in another application. Is it possible to access the iphone clipboard using python? Thanks in advance. UPDATE: Thanks for replying. A bit of background: The python program is a vocabulary program ru...

iPhone/iPod touch CPU/GPU performance

How many bogomips (or any other relevant unit) can an iPhone or iPod touch deliver? Is performance in larger applications, as on normal PCs, more limited to cache thrashing than to number of CPU instruction? Or is there some other limit? What is a recommended total polybudget for a state-of-the-art game in a plain iPod touch (i.e. not ...

ipod touch kCLErrorDomain Code=0 Operation Could not be completed

HI , i m using CoreLocation Framework and getting the location. in Simulator it is working fine . but when i am deploying the app in my iPod Touch 2G with OS 2.2.1 .. it is giving my a strange error .. Error Domain=kCLErrorDomain Code=0 "Operation could not be completed.(kCLErrorDomain error 0.)" What to do ?? can anyone help ?? ...

iPhone how do I know when the user is touching the screen but not moving?

I want to know when a user is touching the screen but not moving. Doing it in a pseudo fashion is simple enough - I know how many touches I have just by using touchesBegan and touchesEnded, but the problem is that only touchesMoved sends events. No events are sent if you aren't moving. This is being used to have a nice sliding scroll - y...

How to detect if the phone app is available for various devices using iphone os

I'd like to show or hide a button that lets a user make a phone call based on whether or not the user can actually make a call (iPhone or iPod touch). Is it possible to somehow detect if the phone app is available to the user in cocoa-touch? Or am i constrained to detecting the device type to make that distinction? I would rather chec...

Can I disable UIPickerView scroll sound?

Hi, I want to disable the annoying clicks that the UIPickerView generates upon scrolling up and down. Is there a way to do this? I want to play short sounds for each item that the picker view lands upon. It gets ruined by the built in sound. I understand that the picker sounds can be turned off globally by switching off the keyboard so...

Allocation of several sounds

I'm not sure if I wrote this code well (get clicks on touching buttons rapidly): #import "iEngineRoomAppDelegate.h" #import "iEngineRoomViewController.h" #import "SoundEffect.h" @implementation iEngineRoomAppDelegate @synthesize window; @synthesize viewController; - (void)applicationDidFinishLaunching:(UIApplication *)application { ...

Does the Push Notification Service work on an iPod Touch?

Thanks and welcome for reply ...

MPVolume on ipodtouch/iphone

hi, i'm using the code of this link: http://blog.stormyprods.com/2008/09/proper-usage-of-mpvolumeview-class.html it is working on an ipod touch, but NOT on iphones. what can be the reason for that? ...

How can I copy a MOBI book onto an iPod touch so it can be read by the Kindle reader app?

Is it possible to copy MOBI files onto an iPod touch? Can such files be read by the Kindle reader App? I am reformatting a friend's novel so that it is readable on a Kindle. The ultimate goal is to sell it via the Amazon Kindle store. However, I think it prudent for the author to have a chance to preview my conversion work so that she ...

Read a Device in GNU/Linux or FreeBSD.

I am wondering, do you need a specific device driver to read a usb device in Linux, or should it just be able to be read. If I connect my cell phone or iPod touch to my linux box, it is not found is /proc/partitions and thus is not a mountable device by fdisks standards, though gnomes nautilus does in fact mount the iPod but not the win...

iPhone application fails to run on iPod because it is not compatible

Hi all, I submitted an iPhone application to the app store, but it is failed to run on iPod touch with the message that it is not compatible.I'm not using any Phone features on the application when I first I submitted the application to the store I was using some deprecated methods on the new SDK. so I made pre-processor directives for...

iPhone detecting processor model / NEON support

Hello, I'm looking for a way to differentiate at runtime between devices equipped with the new ARM processor (such as iPhone 3GS and some iPods 3G) and devices equipped with the old ARM processors. I know I can use uname() to determine the device model, but as only some of the iPod touches 3G received a boost in their ARM processor, thi...