sdk

How do I login to myspace.com using MySpace's C# SDK to get my address book?

I'm trying to connect to myspace to download my contacts list from C#. I've tried using the SDK for C#, created an App, but turns out that only works by redirecting the user to the myspace login page to enter his credentials, and I want this to be completely automated. I could try to create a login script using POST/GET's from C# but th...

how do i make this not leak? (iphone sdk)

I have in effect a string utility that returns a URL. I know that when you do a [[NSString alloc] initWithFormat you have to manaully release the result string. But this case is a bit complicated and I'm not sure how to deal with it. In this code snippet I will be calling the getChartURL method from another class: http://pastie.org/5...

Changing a UITableView's scroll insets programatically to reflect the size of an iPhone keyboard

I know you can use the "Inset" property in Interface Builder to make a scroll view be inset from the main window so that it doesn't go below existing controls on the screen such as a tab bar, but how can you do this programatically to adjust for when a keyboard is added to the screen? Currently my scroll view has cells under the keyboard...

reposition or resize tableView in tableViewController?

I have a ViewController consists of a ImageView on top at (0, 0, 320, 100). I need to have a tableViewController below it, say from (0, 100, 320, 380). This is how to do it. It works but the problem is when i click a row on the table, I need to push anotherViewController. But there is no way to get back to the "parent" controller (there ...

Flash Video Chat SDK/Component

Hello, I am looking to integrate video chat functionality in our existing web-app. Now I have the following three solutions: Develop my own in flash Tokbox.com Oovoo.com Any other services? Does anyone have any experience (good/bad) using the above services or would like to suggest any other service? I only want one-to-one chat (pre...

Create Unique String Iphone SDK 3.0

Hi, I wanted to create an unique string with length not more than 15 characters in objective C (or with the help of Iphone SDK 3.0). I need this for mysql table. I know mysql auto increment will do for primary key but I really need to send the unique key from Iphone Itself.Every record in my table had to have an unique key. The Unique...

iPhone - is it possible to make system call

Hi Devs, is it possible to make a system call like f.e. execute a "ls -la" and use the result in your app. If it is possible would apple approve this usage? Thanks Tom ...

iPhone SDK Smaller CAF files: lower recording quality with Audio Queues?

In my iPhone app I have voice recording functionality the utilizes Audio Queue voice recording functions of the SDK. I'm saving directly to CAF format and using the following settings for the AudioStreamBasicDescription reference: audioFormat.mFormatID = kAudioFormatLinearPCM; I can see that there are other format ids I could use lik...

How to get count of Unique chars in a string

How can I get the number of unique chars in my String? Ex: NSString *myString = @"Hello"; I want the count to be 4 and not 5. I was trying to use the NSCharacterSet of myString and get the count but seems like it doesnt work. NSCharacterSet *myCharSet = [NSCharacterSet characterSetWithCharactersInString:myString]; [myCharSet count]...

XmlVideoProfile in Expression Encoder SDK

I have saved a job using expression encoder (.xej) and now I need to load its video profile on my code, like this: public static void EncodeVideo(string filePath) { using (Job job = new Job()) { string xml = File.ReadAllText("test_job.xej"); XmlVideoProfile videoProfile = new XmlVideoPro...

Observing CLLocationCoordinate2D in iphone SDK

Hi Team, In iPhone SDK, can we only observe Objects, and not struts like CLLocationCoordinate2D? Example: I've got some very simple code where I'd like to observe a property of type CLLocationCoordinate2D, I've made sure to synthesize it in ABC.m. @interface ABC { CLLocationCoordinate2D currentLocation; } @property (nonatomic, readwr...

How do you install Flex SDK 4 to Flex Builder 3.0.2 ?

Hello, i am really going to be crayz. I did everything to install nightly compiled SDK 4 to FB. When i am going to design mode it says, Design mode: Cannot load textLayout.swc (reason: ERROR: Load Verify). It may require classes (such as Adobe AIR components) that are not supported by design mode. Check the Eclipse error log for more d...

Can iPhone take photos at background?

Recently I use NSTimer to repeat taking photos, it'll show on the screen. This is the problem: I need to execute my app. & taking photos at the same time. So, does there any way to take photos at background? I'll appreciate for any opinions~ ...

provision profile

Hello together, I have an application, it worked on the iPhone OS 3.0 with SDK 3.0. with iPhone OS 3.0.1 I did the update and it seems o.k.: ln -s /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0\ (7A341) /Developer/Platforms/iPhoneOS.platform/DeviceSupport/3.0.1 But when I want to install my application on the device I get: ...

The .NET SDK Programs - What does each tool do?

My question is simple. What do they do? The accepted answer below is a list of the .NET SDK Tools that come in the framework. ...

iphone sdk: Can't reuse cell with viewWithTag (can not setText to reused labels)

This is my cellForRowAtIndexPath function. I could not get the setText to the label to work. Can you please help me out? // Customize the appearance of table view cells. - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *CellIdentifier = @"Cell"; UILabel *messag...

Alternative Location for Silverlight_SDK

Hi, There seems to be a browser hijack problem and I really dont have time to sort it. I need an alternative download location for Silverlight SDK 3 since microsoft.com does not work. ...

Objective-C inheritance problem with UIView

this is my inherited class of UIView : MobileView @interface MobileView : UIView { IconView *icon1; IconView *userCar; id goTimer; } @property (nonatomic, retain) IconView *icon1; @property (nonatomic, retain) IconView *userCar; -(void) goRightInSeconds: (NSInteger)secs; -(IconView *) cannon; @end I also have another cl...

how to install adobe air sdk in linux?

i'm trying to install the adobe air sdk in linux. i unzip the package downloaded from http://www.adobe.com/products/air/tools/sdk/ into a folder "AdobeAIRSDK", and add the /bin folder into the PATH environment variable. but when i tried to run the adl, it gives me the following error: Error loading the runtime (/home/monuser/AdobeAIRSDK...

UIButton Game character selection to UIImageView animation

Hi guys, I am almost at the end of coding my kids educational application, woohoo!. But... Im stuck on something. When app loads i have my main view. It has 4 buttons for flipviews(each with ten views of content) and 4 buttons for character selection(an image that will follow you through every screen of content). Problem is im unsure...