sdk

TeamFoundation 2008 SDK - How to get a list of all changesets programmatically?

What I am trying to achieve is writing a task which will list all the changesets associated with a build and write a changelog file from that list. I manage to get a list of the changesets associated with a build programmatically using the "informationNodeConverters.GetAssociatedChangesets" method when using the default team build defin...

Switching xib's in iPhone SDK?

I'm having issues with switching xib's when I try to from my second view into the third. I get into the second view from the first like this... -(IBAction)startButtonClicked:(id)sender{ Number2ViewController *screen = [[Number2ViewController alloc] initWithNibName:nil bundle:nil]; screen.modalTransitionStyle = UIModalTransitio...

TTNavigator three20 openURLAction

I'm new to three20 and trying to find my way through the TTNavigator class. I try to push to a new view via the URL system. So I used openURL: animated: method which works just fine, but it's deprecated, and I know that I should use openURLAction instead, but this has no animated: parameter. Am I missing something? ...

iPhone UINavigation Controller issue?

I have 3 different xib's. I am able to go back and forth between view 1 and view 2 with the following code... This Code brings up the second view... -(IBAction)startButtonClicked:(id)sender{ self.gamePlayViewController = [[GamePlayViewController alloc] initWithNibName:@"GamePlayViewController" bundle:nil]; [self.navigationCon...

iPhone SDK "White Flash" transition

I want to make a button; when you press it the screen fades to a "flash of white" and back like in those powerpoint transitions. I'm thinking maybe dynamically changing the opacity of a white square or something? What do you think? Is there something like this that already exists like part of Catransitions or something? Thanks guys. ...

IPhone SDK, EXC_BAD_ACCESS Changing image?

I have my code and i recieve the EXC_BAD_ACCESS error when it is suppose to change... any ideas: -(void) updatePlay { UIImage *img = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"bursttt" ofType:@"png"]]; if (CGRectIntersectsRect(pinend.frame, balloonbit1.frame)){ [maintimer invalidate]; ...

How do you load a view on top of another view in the iPad

How do you load a view on top of another view in the iPad like in the wordpress app when it asks you to setup your blog. Can you show or post me some sample code. I have an NSUSerdefaults setup so it will display this on the first launch. I would like this view to look like this http://uplr.me/files/p45064.png See how it has the shaddow...

Are C/C++/ObjC/JS Apple's only allowed langauges for iPhone development?

According to this post on Daring Fireball a new iPhone SDK Agreement release in conjunction with the iPhone OS 4.0 announcement today specifically bans any iPhone application not implemented in C, C++ Objective-C or JavaScript. The clear impact here is to the wide array of programs written in languages other than those. Is that your rea...

How do you uninstall old custom installs of Xcode?

Hi, When I install a beta, I do a custom install into a separate folder to the latest release version. I have several old beta installs. How do I uninstall the old custom versions of Xcode? Can I just trash the folder? Our do I need to use Terminal? The release notes suggest to use this: $ sudo /Library/uninstall-devtools -...

Sony Bravia JavaScript API & Emulator

I recently purchased a Sony Bravia TV that comes with Internet capability built in. It supports a number of internet capable widgets and web video streaming apps for sites like youtube, twitter & various yahoo! offerings. I'd like to hack on the SDK, but the only version I can find is Japanese. Is there an English version of the SDK?...

Iphone SDK, arc4random CGPointmake?

I have tried using integers to store the number like so: playPin = 35 + arc4random() % 118; playY = -50 - arc4random() %100; if (CGRectIntersectsRect(pin.frame, refreshpin.frame)){ pin.center = CGPointMake(playPin, playY); pinend.center = CGPointMake(pin.center.x, pin.center.y+58); } Then using them, when needed, but... its random t...

Device detect with xcode ! {iPhone SDK}

Hi, is there any way to detect device with xcode ? i mean when my app runs on the iphone 3g , show an alert an says this feature works only 3gs thank you . ...

UIPageControl bug: showing one bullet first and then showing everything

I have some strange behavior using a UIPageControl: First it appears showing only one bullet, then when I move the scroll view all the bullets appear correctly. Is there something I'm missing before I add it as a subview? Here is my code imageScrollView.h : @interface ImageScrollView : UIView <UIScrollViewDelegate> { NSMutableDictio...

Creating folders using Android SDK

Is it possible to be able to create a folder on the sd card of the phone via using Android SDK or the Shell? ...

iPhone 4.0 Beta compile for 3.1.3

I downloaded the iPhone 4.0 Beta. But for my projects I need to compile for 3.1.3 to be able to still submit my projects to the App Store. If I run an old project that isn't a problem I can see all the versions, but when I start a new project I can only pick the 4.0 beta, how can I fix this? ...

How can I get MTK development platform for MT series mobiles with English explanation?

You said in a post that you are an engineer and you have MTK development platform for MT series mobiles with English explanation. Can you please tell me how your company obtained it? Did you purchase it from MTK or you downloaded it? If you downloaded it please tell me your source. I am researching how i can develop application in ...

iPhone sdk: How do I get a count of all the phone numbers in a address book?

Hi i am developing an app for my QA department. I need to programically get how many phone numbers are there in the entire address book. No user input. Just click a button and then get how many phonenumbers are there in the ENTIRE addressbook. ...

How can I intercept the StoreKit "buy dialog" to make a MBProgressHUD / UIProgressView show up correctly and at the right times?

I'm programming StoreKit into my iPhone app. I can't seem to be able to intercept the buy item dialog wait time either before or after pressing the button to purchase the item. Pretty much what I want is an indicator on the screen before the buy dialog appears and after, but before the purchased item is unlocked. I don't want my users b...

IVsEditorAdaptersFactoryService.CreateVsTextViewAdapter throws an object null reference

I'm trying to create a IVsTextViewAdpater with the IVsEditorAdaptersFactoryService but when I call CreateVsTextViewAdapter it throws an object null reference: var editorFactory = componentModel.GetService<IVsEditorAdaptersFactoryService>(); var serviceProvider = (Microsoft.VisualStudio.OLE.Interop.IServiceProvider)this; ...

Sometimes Xcode appears to ignore target build settings?

Hi all, I've created a iPhone static library project with two targets like this Project --> Library (Device) target --> Library (simulator) target The device target has the SDK set to the device so it produces an armv6/7 library and the simulator target is set to the simulator SDK so it produces an i386 library. The issue I'm having ...