sdk

EXC BAD ACCESS problem

I'm stuck with a problem in emulator. The emulator occasionally stops with Program received signal: "EXC_BAD_ACCESS" . as console output. No further info provided. Is there a chance to come closer to the problem? Kind regards ...

EXC BAD ACCESS while using UISearchBar

Hi, I think, I need another good advice. Up to now my solution seemed to run well, but now... OK, the facts: I have an ordinary UIViewController On top a UINavigationBar, behind that a UISearchBar, hidden initially At bottom a UIToolBar My main view controller supports UISearchBarDelegate A switch on UIToolBar toggles the visibilit...

How to return correctly a NSMutableString from a method

Hi, I'm looking for a good way to return a string constructed by a NSMutableString avoiding leaking : eg: +(NSString *)myMethod{ NSMutableString *numberToReturn = [[NSMutableString alloc] init]; [numberToReturn appendString:@"lorem ipsum"]; return numberToReturn; } The leak instrument said I had leak with this variable. I t...

2 Developer Licences -1 iPhone

Hello, can i develop with 1 iPhone on two developer Licences,... best regards, Andreas ...

How to add view in UITabBarController

I find a problem is that when I use UITabBarController , each time viewController have to be define in the property 'viewControllers', this cause coder can not free the unused viewcontroller in freely, I meaning is that when shift to second tab view then I want free the first tab view immediately , but now , I can not do this action........

NSLog output to file, or logging function for iPhone

I want to be able to write the contents of NSLog to a file I specify, or I need a function that writes a log to a file, for example: WriteLog(@"some activity by the user"); WriteLog(@"some more activity by the user"); but I want the output to look like this: 12-25-2009 1:30:00PM some activity by the user 12-25-2009 1:35:00PM some mor...

Two macs. One iPhone Developer License. Possible?

I work for a company that is interested in building iPhone apps. However, we are not clear on one issue: Does the iPhone developer certificate work on more than one computer at a time? ...

Windows Powershell SDK and System.Management.Automation.PSObject

I have a build error in a c sharp program that I am compiling in Visual Studio 2008 on a Windows Server (2008, I guess) SP 2 64-BIT OS. It says that 'System.Management.Automation.PSObject' is defined in an assembly that is not referenced. I did some searching in MSDN and I found that this seems to be part of the Windows Power Shell SDK. ...

iPhone App rejected because of Three20 "non-public API" "lineHeight" and "previousViewController"

Hi, my app was rejected because of the non-public APIs "3.3.1 Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs." The following non-public APIs are included in your application: lineHeight previousViewController " What can I do? I used the three20-P31 version, but i...

How to get older SDK and do I need to?

I have OS 10.6 on my mac. I started with iphone SDK for snow lepard which builds for SDK 3.0 to 3.1.2. I'm ready to submit my app to the store. I'd like older iphones to use it as well. I can't find Apple's link for SDK 2.2. Only the link for the 3.1 sdk. Do I need to release the app built with 2.2 ? If so where can I find it? Ca...

Cast as an NSNumber doubleValue adding extra [phantom] precision

iPhone sdk 3.2.1 NSMutableDictionary *myDict = [NSMutableDictionary dictionaryWithCapacity:2]; [myDict setObject:[NSNumber numberWithDouble:0.1f] forKey:@"testDoubleObject"]; [myDict setValue:[NSNumber numberWithDouble:0.1f] forKey:@"testDoubleValue"]; Printing the description of myDict to the console yields this: Printing descrip...

Question concerning dealloc and applicationWillTerminate

Hi, I have literally the same problem, as described here http://www.iphonedevsdk.com/forum/iphone-sdk-development/968-breakpoints-dealloc.html#post7406 Sorry for the quote, but the description is perfect. Because my dealloc is also not called automatically, my question is, am I supposed to overwrite applicationWillFinish and call [self...

problem with coredata

I have a problem that whenever I'm inserting data using coredata, everything's going fine. But while retrieving, I'm getting the same object all the time retrieved. I'm inserting objects of actors with multiple attribues like id,name,address etc. in add method, I can see everything getting inserted(which actually I'm retrieving from an x...

Image cropping problem

Hi Guys, I have written following code for cropping image in oval. but not getting expected result. The original image size is 382x453. and put an eclipse at CGRectMake(50, 100, 100, 150). But image always crop from the 0,0 position of the original image. I'm doing somthing worng in this code. please help me out where i'm wrong. Many th...

iPhone SDK - Async Behavior?

I have a IBAction that looks like this: self.title = @"Logging in ..."; [MyClass myLongRunningOperation]; My Problem is that the view controller title does not get updated until the long running operation has finished. It seems like its put in a queue for later, while my long running operation executes right away. I'm pretty new to t...

android sdk version

How can i get the current android sdk version (1.5, 1.6, 2.0, etc.) programmatically ...

What is the compiler of Samsung Bada?

Hello, Recently Samsung presented Bada platform for mobile phone. http://developer.bada.com/apis/index.do I can find developer materials from the above web page but, I can't find how can I compile it and what is the compiler? This is C++ based framework and Samsung said Bada is operating system agnostic. In this case, how application...

How to display barcode in iPhone

Hello, I need to show barcode string(example :1001847983) into barcode image in A UIView.Does the iPhone SDK supports barcode fonts ? I don't need reading the barcode, I just want to show the string in barcode lines. Thanks In advance Raghu ...

Making an extension for multiple versions of Visual Studio

I have a feeling that the Visual Studio SDK is targeted heavily towards the version of Visual Studio it is created for, so I'm wondering how to do this in the best way possible. I currently only have Visual Studio 2008, but people using Visual Studio 2010 have begun wanting to use my tool as well, and I want to help them out. There were ...

.NET Expression SDK LiveJob Authentication

I'm trying to stream a live feed to a Publishing Point but keep getting 'Access is Denied' errors. I can do this just fine in the Expression Encoder application (using a valid username and password). But when I try to use the same username/password in my custom app, I get that error. I've tried pre-connecting without credentials, whic...