I'd like to be able to take a screenshot of an MPEG recorded using the iPhone camera at set intervals.
I've seen a few ways to do this; namely compiling and using FFmpeg (http://stackoverflow.com/questions/1679649/using-ffmpeg-library-with-iphone-sdk-for-video-encoding), however it seems it's quite difficult to comply with the LGPL (htt...
I am trying to run a NSTimer on a thread using iPhone SDK 3.0. I think I am doing everything correctly (new runloop etc.). If I call [timer invalidate] on viewDidDissappear though I get this error:
bool _WebTryThreadLock(bool), 0x3986d60: Tried to obtain the web lock from a thread other than the main thread or the web thread. This ma...
On the iPhone, how can I dial to a phone number without quitting my application?
Right now my program can trigger a call to a specific phone number but doing so causes my app to quit. How can I make a call in the background or otherwise make a call without quitting my application?
...
We are making an app whose primary purpose is to display data, but we want to do so in a rich way. Our design includes several custom controls.
For example, one control will be a wheel the user can spin to pick a time of day. You see an entire circle - a disk - that has time values going out like spokes from the center. It needs to spin...
I have a NSPredicate that looks like this:
NSPredicate *likePredicate3= [NSPredicate predicateWithFormat:@"synonyms LIKE[cd] %@",[NSString stringWithFormat:@"%@", searchText]];
I apply it to an NSArray of objects of a class that has the 'synonyms' property.
It works fine when the searchText is a whole word such as "Thanks". However...
If I revoke the distribution certificate for a iPhone app that is already in the App store, will it stop working for customers?
...
I'm working on a project which is using Audio Toolbox for recording and playback of PCM data, and I'm having trouble with playback. In the simulator, I can record and play audio just fine, using a custom class to handle storing and sourcing PCM bytes for the recording and playback buffers as needed. On device (iPhone (3.0.1) and iPod 2G ...
Hi all,
My iPhone app should play midi files, unfortunelly iPhone does not supported them. I ported timidity for my project. It successfully compiles and installs on device. But when i try to convert midi to wav - get the following message in debugging console:
/usr/local/share/timidity/timidity.cfg: No such file or directory
timidity:...
Hello guys,
is it possible to listen for an iPhone (or any mobilephone with accelerometer) shake event with javascript? You know like shakin the iphone to shuffle the next song in itunes i want to call a js fuction on my website when the iphone got shaken.
thank you for your tips and help
...
Is there a way to have an app write a into a file and then have another app read from that file?
I mean writting into the file system of the iPhone.
I want to do this without using an internet connection. So uploading the file and then downloading from the other app is not what i mean.
Thanks!
...
I am unsure of how to separate a NSData object into smaller parts so that I can send it over bluetooth. I believe it is a method similar to this:
- (void)getBytes:(void *)buffer range:(NSRange)range
I do not know what to pass in for the buffer. Do I just pass in a NSMutableData object to hold the bytes that I pull out of the original ...
Hi, I'm using UIWebView on the iPhone to display EPUB content, but I'd like to simulate the page flipping 'experience' (display an animation of the page folding over) and then scrolling the content in my UIWebView down by the area of one screen -- effectively turning a page in reflowable non-paginated content. Should I stop dreaming, or ...
For an iPhone app that has to have a bunch of data inserted before the user can do their thing on first launch, where is the correct place (in the code) to insert that data? I'm looking at between 700 - 800 records total between a few tables.
I initially tried doing it in applicationDidFinishLaunching:. This worked fine for the iPhone ...
My app requires an internet connection, so in the ApplicationDelegate, on applicationDidFinishLaunching I am running the following:
[[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(reachabilityChanged:) name: kReachabilityChangedNotification object: nil];
hostReach = [[Reachability reachabilityWithHostName: @...
Just a conceptual description first:
I am reading input from a text file (a list of words) and putting these words into an NSArray using componentsSeparatedByString method. This works.
But I wanted to select the words randomly and then delete them from the array so as to ensure a different word each time. Of course, you cannot change...
-(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...
Hello,
Is there any way to make the UITextField (horizontally) scrollable?
Thanks,
Mihai
...
Is anyone aware of any sample or open-source code that does this? Or a write-up explaining how to do it?
Apple has quite a bit of sample code that opens web addresses in other apps. But I can't find any examples where the app asks another app to open a file that is stored on the phone.
Thanks.
...
Guys,
I am a kinna new to iphone app programming ... i have a UITTabBarcontroller and have 5 UITableViewControllers inside it.
Everything works fine ... I can change the tab using code ... but from the GUI when i click on different tabs, it wont change ....
have tried a lot ... please help me out here
thnk u ppl
...
this must be easy but I want to put a file in the Documents folder which is read in at start up. I have the code on how to read and have confirmed its looking in the correct directory. However the file I have ,RootList.txt when saved in the Resources folder in xcode, is stored under the Root.app folder and the Documents folder is empty. ...