iphone

Can I run a webpage-embedded Java Applet on the iPhone's web browser?

Can I run a Java applet that's been embedded in an or HTML tag on an iPhone? I don't mean as an App but actually through its browser. ...

What's the best way to measure and track performance over various calls at runtime?

Hello. I'm trying to optimize the performance of my code, but I'm not familiar with xcode's debuggers or debuggers in general. Is it possible to track the execution time and frequency of calls being made at runtime? Imagine a chain of events with some recursive calls over a fraction of a second. What's the best way to track where the...

Is alcheMo available?

Is it possible to develop iphone apps with java? I'd prefer to use alchemo over xmlvm because of the superior features that it offers. Can I do that? Is anyone else doing that? I've looked all over their site for the download link, but can't find it! Is it available? If so, where? http://www.innaworks.com/alchemo-for-iphone-java-me-j2me...

NSDateFormater from NSMutableArray value

Hi, I store some dates in my NSMutableArray, I want to retrieve them and change the format. For the moment I do this: NSDate *myDate = [self.dates objectAtIndex:0]; NSLog(@"myDate:%@", myDate); // 2010-03-02 NSDateFormatter *formatDate = [[NSDateFormatter alloc] init]; [formatDate setDateFormat:@"MMMM d YYYY"]; NSString *newDate = [f...

PLEASE HELP unknown error [UIWindow endDisablingInterfaceAutorotation] ?

I am receiving this error. I have no clue as to why it would be called, and google didn't really help, any suggestions? -[UIWindow endDisablingInterfaceAutorotation] called on <UIWindow: 0x4e0ec50; frame = (0 0; 320 480); opaque = NO; autoresize = RM+BM; layer = <CALayer: 0x4e0f9e0>> without matching -beginDisablingInterfaceAutorotation...

UITableView Group Style Cell background.

Hello, my question is simple.... How to get rid of the white background color of cells in Group Style. I know about clearColor but it just clears the background color of the tableview itself and not the background color of cells. Thanks in advance. ...

How can I download images without holding up everything else?

I'm making an app that allows you to browse through pictures from a website. I'm currently downloading the images using: UIImage *myImage = [[UIImage alloc] initWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:url]]]; which works great, but can be time consuming. I start off by downloading 20 images, but I can't do anyth...

Objective-C iPhone App EXC_BREAKPOINT (SIGTRAP)

I recently released an application about a month ago, it was thoroughly tested by myself, my partner, and beta testers. Recently a user contacted me about the app not even being able to open (crashes after start up screen), they have the correct OS and they tried reinstalling. I asked for the crash log and they sent me it... Exception...

Set Limit and clear in nsmutableString

I need to limit the number of characters that can be appended to an nsmutablestring to 10. Also i need to clear its contents on a button press. What is the best method to do that? pls help ...

@selector key word in iPhone programming.

hi anyone know that, -(void)displayNameBy:(NSString*)name{ mylable.text = name; } i want call this method using @selector keywords. eg: [MyButton addTarget:self action:***@selector(displayNameBy:name)*** forControlEvents:UIControlEventTouchUpInside]; Here bold italics is my doubt.. could i pass name parameter from here. wh...

How to find value of timer in cocos2d iphone

I am doing a simple stop clock like game. The game consists of a timer for 60 secs I attain it by AtlasSpriteManager *mgr = [AtlasSpriteManager spriteManagerWithFile:@"bringit_timer.png" capacity:10]; [self addChild:mgr z:5 tag:2]; AtlasSprite *sprite = [AtlasSprite spriteWithRect:CGRectMake(0,0,33,200) spriteManager:mgr]; ...

Audio/video Programming

I want to access Audio and video into my program. Is it possible to do in MAC. Our Program is working on Windows here i did audio/video programming using directshow. but i want to develop same in MAC. Is there any package same like directshow. Please give some valuable tips. ...

[Seamless Handover of WiFi] Can we program to automatically join the WiFi with the most strongest signal by no manual selection?

Hi all, I am making a iphone program, I wish that: it can sense and display the current signals of wifi, with strength, - as I checked, this cannot be done by official SDK, but there were some private library that can handle. 2. i wish it can always automatically join the best wifi with the most highest strength ( assume that all w...

UIImageView subclass touch detection

I have a subclass of UIImageView that I need to know when is touched. (Full code below.) I have found and read both this and this. They were mildly useful, but neither really worked. Not only is my touchesBegan:withEvent: method not being called, the button behind the image is being pressed. Here is my code: Header file: @interface M...

iphone compiler inherited templated base classes with passed through type not being expanded in time (just look)

Try this out: template <typename T> class Base { public: int someBaseMember; }; template <typename T> class Test: public Base<T> { public: void testFunc() { someBaseMember = 0; } }; In vc++ and the psp compiler (and any other compiler ...

how to play sound file using FMOD sdk?

I want to implement playing sound file using FMOD sdk in iphone. I know this is third party tool but i want to implement playback speed.So only possible in FMOD.So please help me. ...

TabBarController delegate is not working

Hi, Can any one help me, when i am using my UITabBarController delegate it is not working.. I called a delegate method like this.. - (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController { [self.navigationController popToRootViewControllerAnimated:NO]; } ...

How to use NSNumberFormatter for currency to print in UITextField

Hey Guys , I am a N00b here . I print my currency like this : -(IBAction)buttonPressed1:(id)sender { double currency = [Amount1.text doubleValue] + [Amount2.text doubleValue]; SumCurrency.text = [NSString stringWithFormat:@"%0.0f", answer]; } I just simply want to use NSSNumberFormatter to print the SumCurr...

record video programmatically on iphone

Hi, Is there public interface in SDK 3.* to start video recording programmatically? Also how can I customize camera button appearance? Thanks, Nava ...

How can i make a Vertical UISlider?

How can I make a vertical UISlider? I saw it in one of the applications and was trying to duplicate it. But seems difficult, does anyone know how? ...