sdk

How to extract the second record from my plist?

I have a sample database file called albums.plist It is structured as below (very simple layout). I am new to Objective-C programming and would learn a lot if someone is able to help me figure this out. What I would like to do programatically is parse this database and for example, show on screen for example, the second albums details ...

Flickr Iphone app Background image zoom and fading animation

Hello all would anyone know how flickr manage to make this type of effect on their app where on the main screen you see a background image moving to the side and zooming in and fading to another image its really cool. your link sources for code or tutorials are always appreciated thanks PS im trying to implement this to one of my apps...

why does the uitextfield never return nil when it becomes first responder?

when i make my textfield become first responder, the text field never returns nil, even if i force it to be nil by myTextField.text = nil; as soon as i comment out the "[myTextField becomeFirstResponder];" the text field is able to return nil. anybody have any idea why? ...

iPhone SDK: Two animation sequences playing at random *help*

I have two animation sequences, and I want one of them to play randomly when a button is pressed. Here is the code: { color.animationImages = [NSArray arrayWithObjects: [UIImage imageName: @"1.gif"], [UIImage imageName: @"2.gif"], [UIImage imageName: @"3.gif"],...

OpenXml SDK - Image Reuse

Hi, I am creating a word document based on a template. The template contains a image in the header section which I would like to re-use elsewhere in the document. The image is stored in the package -> word/media/myImage.jpeg so I need to somehow add a relationship to my each section that I wish to display the image again. I have attem...

C++ Compiler Driver Has Stopped Working

Hi, I've downloaded platform SDK and tried using it with Visual Studio 2005. Every time I say built solution it says C++ compiler driver has stopped working!, I also installed Visual Studio 2008, and still face the same problem. this is what it says on the log file, Compiling... Project : error PRJ0002 : Error result -107374151...

Plist works in simulator but not on device

Is there any reason that data pulled in from a plist will show in the simulator but not on my test device? Worked all day on making it work and was thrilled until I tested it on the actual device. Strange. Thanks. ...

It's Possible To Run Windows Mobile 5 SDK In Visual Studio 2008?

Hello, I was seeing about Windows Mobile 5 SDK at Microsoft Download Center and I also see some requirements to run it: System Requirements Supported Operating Systems: Windows Server 2003 Service Pack 1; Windows XP Visual Studio 2005 Standard, Professional, and Team Suite Editions And I only have my Visual Studio 200...

how to use Speech SDK 5.1

hi frnds, i recently downloaded Microsoft Speech SDk 5.1 and i want to learn that how to use it. Please suggest me some websites and links where i can find tutorials on using it from basic using C# or C++. thanx with regards :) ...

Does anyone know about availability of Native SDK for Fly phones?

Is anyone out there aware of any native SDK to develop on Fly phones. I understand that this a non standard development platform- but we have reasons to consider this phone for a product in India. --Kiran Kumar ...

strange iphone sdk sqlite memory leak

Hi guys, I have a very strange memory leak problem, it seems that sqlite3_step is doing some nasty stuff :| I spent almost 4 hours trying to fix this but no luck till now :( Here it is the code: [dbList removeAllObjects]; sqlite3_stmt *statement = nil; const char *sql = "SELECT * FROM dbs ORDER by rowOrder;"; if (sqlite3_prepare_v2(d...

sqlite3 in iphone with 50 coulmns in a table. does performance create problem?

Hi, I am using sqlit3 in my iphone application to store details of the user I have a table carrying of 50 columns. Now i have to insert data within the columns. can anybody suggest optimum way to do that which will not impact the performance. Thanks ...

How to add 2 buttons into the uinavigationbar on the right side without IB?

Hello, how can i add 2 buttons into the uinavivationbar without IB? The 2 buttons should be align on the right side of the uinavigationbar. I know how i can add one button, but two?? Alex ...

NSURLConnection leakage

Hi, I'm following the official Apple sample http://developer.apple.com/mac/library/DOCUMENTATION/Cocoa/Conceptual/URLLoadingSystem/Tasks/UsingNSURLConnection.html While examining my code with Instruments I found a leak, caused by the non released NSURLRequest. I've now included a [request release] shortly after NSURLConnection *con...

XCode - Multiple targets, Multiple *internationalized* names?

I've got an internationalized iPhone project. In the various ${lang}.lproj/InfoPlist.strings files I've got a single key, CFBundleName = "My App Name". That's working fine for a single target, but I can't make it work for multiple targets. I'd like to have several translated InfoPlistMyApp.strings files for the main target, plus severa...

How To Find the Most Accurate iPhone GPS Results

Hi Everyone: I recall reading somewhere (I forget where) that if an iPhone application simply ran the CLLocationManager once, it didn't come up with the most accurate results. Is this accurate, and if so, how can I combat this problem? I want to come up with the most accurate GPS results, and am wondering if only one time will create ...

Why do we need SDK along with .NET Framework?

We have to install Windows SDK along with .NET Framework. Why do we need the SDK if we have the framework? EDIT: This isn't just the case for .net development. Also, if you want to develop Silverlight apps, you have to install additional sdk. Why? ...

BHO, IHTMLDocument2:get_scripts() and external script

I am writing a BHO, the code using IHTMLDocument2::get_scripts to get all script body in the HTML file then use get_text() to get script source. But I found if script is embedded from a external file, the content is an empty string. Is there any way to get source code from an IHTMLScriptElement that is created by ? ...

Controlling Number of Application Executions

Is there a way to control the number of times an iPhone app executes. For example, I have a game called widget and I only want the user to play the game (new instance) no more that 20. Also, if tis is possible, how would you be able to stop the person from deleting then downloading the app again to get another 10 plays? ...

IPhone SDK - Passing Variables between views with animations

Hi I'm new to the IPhoneSDK so please bear with me. What I'm basically trying to do is I have one view with 10 buttons, named 'one' to 'ten' respectively. What I want to happen is that when I click on a button (eg: 'nine'), it'll go to another view, with animation, then on that next view, there's a label that will display the text corre...