Hi,
I am developing an iPad application for live streaming from Shoutcast radio stations. I could get the playlist URL as mentioned in the API documentation: http://dev.aol.com/SHOUTcast/documentation
I parsed and obtained the URL of the form "http://xxx.yyy.zz.ww:nnnn" which could be played using iPhoneStreamingPlayer sample code.
S...
Hello,
I'm using a trick to overlay the keyboard with my own. Basically I add some buttons as Subviews to the Keyboard. This is how I find the UIView of the keyboard:
UIWindow* tempWindow = [[[UIApplication sharedApplication] windows] objectAtIndex:1];
UIView* keyboard;
for(UIView* potentialKeyboard in tempWindow.subviews)
// if th...
Hi all,
I'm trying to switch from two-stage rotation to one-stage rotation (to avoid the console warning, and because Apple recommend doing so because one-stage is faster).
However I can't figure out how to get the new size of my view (taking into account the navigation bar, status bar, etc) early enough to perform the update of my UI ...
I am creating a view like this:
UILabel *qty = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 100, 20)];
qty.backgroundColor = [UIColor whiteColor];
qty.text =[NSString stringWithFormat:@" Qty: %@", currentQty];
qty.alpha = 0.5;
[qty setTag:999];
[self.view addSubview:qty];
[qty release];
This can happen multiple times in this view c...
Hi everyone
I will explain my problem briefly summarizing as much as I can.
I have a label lets say "Hello" which is found on my RootViewController. I have a popover which appears when I press on a button on my RootViewController.
On that popover, I have another button on it and when I press on it, I want it to change the label on the...
Hi everyone
Me again. I have a simple question. I have an UIImageView like the one shown below.
That UIimageView is supposed to be the knob to control the volume of my iphone project. My question is, how to know the positions of bar on the UIImageView when it is rotated? Because the volume needs to be 0.5 when the little bar on the ce...
I am currently trying to implement this into my current code:
http://cubiq.org/iscroll
I have been using jquery this whole time in my code, but iscroll was created in all javascript.
Is there any way to get this to work without having to change all of the javascript into jquery format?
I am developing for an ipad and I need the ability ...
I want to use NSRegularExpression in my iPhone app, but Apple's documentation says that it was first available in iOS 4. Since iPads are still running on iOS 3.2 this means that my app would not be available for iPads -- correct? Is there any way to get around this? Or do I just need to wait until apple's iOS 4.1 release which should sup...
I want to add an extra div if the ipad is in landscape mode.
Is there some sort of if statement that could find this out?
Thanks
...
I have tried so many different things and I keep searching but I find nothing!
Help anyone?
...
This is really just a minor annoyance, but whenever I go to test a new project in the iPhone Simulator, the app gets installed on the 2nd page of the simulator's dashboard even though there's plenty of space on the first page. Anyone happen to know why it does this, or if there's a way to get it to fill up that first page?
I'd like t...
Getting a NSString as follows:
NSString *lastSyncDate = [[items objectAtIndex:0] objectForKey:@"LastSyncDate"];
This value is: 1/1/2010 12:00:00 AM
I am using the following to convert to a date:
NSDateFormatter *df = [[NSDateFormatter alloc] init];
[df setTimeStyle:NSDateFormatterFullStyle];
[df setDateFormat:@"MMMM d, y HH:mm:ss ZZ...
Its quite a lot...
// DEFINE DEFAULT VARIABLES
var _target=null, _dragx=null, _dragy=null, _rotate=null, _resort=null;
var _dragging=false, _sizing=false, _animate=false;
var _rotating=0, _width=0, _height=0, _left=0, _top=0, _xspeed=0, _yspeed=0;
var _zindex=1000;
jQuery.fn.touch = function(settings) {
// DEFINE DEFAULT TOUCH SET...
I'm trying to port some old game code of mine and what I have is a 1024x768 array of pixels.
I created an CADisplayLink and each frame I glTexImage2D() the entire thing.
This causes a problem: cpu-side twiddling. Seems that iPad makes 32x32 twiddling in realtime, before uploading the texture.
Can this be avoided? I must keep my pixel...
I have a UITableView and basically I'm making some in app settings, and if the first section's UISegmentedControl is toggled to index 1, then I want to display a new section, but if index 1 was previously set and the user selects index 0 then I need to remove section 2.
To do this I had this code set to fire on the UISegmentedControl's ...
Hi guys,
I've got into a problem that when I'm using SplitView control in portrait mode and click the "Root Button" on the top left, the programs automatic close. There is nothing shown on debugging console. If I don't click on the "Root Button" and rotate device directly, I'll get a working RootView without crashing.
The approach I us...
Is it possible to add a popover programatically without using a NIB file? All the examples I have run into use NIB files.
Any information/help/examples would be appreciated.
Thanks!
...
I'm having the following problem. When I pop the view controller pushing the back button, the dealloc method is not getting called.
Here is the code I'm using:
NSLog(@"coleccionVista retain count0: %i",[coleccionVista retainCount]);
coleccionVista = [[coleccionViewController alloc] init];
NSString *nombreColeccion = [colecciones objec...
Hi
I need to record the stream of an mp3 source simultaneously while it is playing. I'm am using matt gallagher's classes http://cocoawithlove.com/2008/09/streaming-and-playing-live-mp3-stream.html
I can't find out how to do this and I need some help please.
Thank you.
...
Hello all,
Is it possible to make a playlist for MPMoviePlayer? all videos are from internet.
While player runs, when it comes to 1 minute position i want to play another video from URL.
second video is an ads clip. after ads clip finishes, main video should continue.
is it possible? i saw some ipad apps, like hulu plus.
what steps sho...