sdk

Parse HTML that is stored in a NSString

I am parsing a group of post on a blog. I have some HTML that I successfully assigned to a string. I am trying to get the HTML to display in a UITableview. However, I want it formatted. For instance I want <br /> to actually do a line break in the table and <img scr= to actually display the picture. How can I accomplish this. ...

How to install "Windows Phone Developer Tools RTW" without installing Visual Studio?

Is it possible to install "Windows Phone Developer Tools RTW" on a machine without installing Visual Studio and Expression Blend? The reason I am asking is that I want to install it on a build server. http://www.microsoft.com/downloads/en/details.aspx?FamilyID=04704acf-a63a-4f97-952c-8b51b34b00ce&amp;displaylang=en ...

Eclipse (with adt) won't see/recognise a runnving avd

Hi, I have been trying this for a week or so now. I have followed the tutorial to get hello android working but while an AVD starts the program doesn't run. I am running Windows 7 64 bit with eclipse 3.5.2 running adt 0.9.9 and SDK r7. the sdk is installed in C:\android-sdk-windows eclipse is installed in C:\eclipse What i can do: ...

problem in changing size of uialertview

Hello I am having a alertview and i want to change the size by cgrectmake property but it does not happen . It just take the by default size. i tried following code. - (void)viewDidLoad { [super viewDidLoad]; UIAlertView* find = [[[UIAlertView alloc] init]initWithFrame:CGRectMake(0,0,300,200)]; [find setDelegate:self]; [find setTitle...

nsarray filtering

Possible Duplicate: removing duplicates in nsarray Hi friends, I am storing the value in nsarray and i have to remove the duplicate dates.i mean exactly like this (14/12/2010,paid,15/12/2010,pending,15/12/2010,pending,16/12/2010,paid) should be (14/12/2010,paid,15/12/2010,pending,16/12/2010,paid). can any one suggest me the b...

Why does the OpenCL vector addition Nvidia SDK example use async writes?

The vector addition example has this code: // Asynchronous write of data to GPU device ciErr1 = clEnqueueWriteBuffer(cqCommandQueue, cmDevSrcA, CL_FALSE, 0, sizeof(cl_float) * szGlobalWorkSize, srcA, 0, NULL, NULL); ciErr1 |= clEnqueueWriteBuffer(cqCommandQueue, cmDevSrcB, CL_FALSE, 0, sizeof(cl_float) * szGlobalWorkSize, srcB, 0, NULL,...

Qt4 Program Crashing Unless SDK Installed

I've written a Open Source program that I've released as GPL built using the Qt4 LGPL SDK. This program has the ability to search an optional Sqlite3 database for data. Here is what is making me lose my mind. I compile the program on the development machine. When I try to run it, I can errors about missing DLLs. I copy those dlls into t...

I'm trying to turn on the iPhone 4 torch but it just won't turn on

So I followed the WWDC session 409 about using the camera/flash/torch/etc as a device on the iPhone 4 and I was able to write the chuck of code below. It's compiles without any errors but when I try the execute it on my iPhone 4 nothing happens. Can someone help me figure out what i've done wrong. I'm also trying to get the torch to turn...

Table view gets cut off when rotating a UINavigationController.

My UITableView, actually all my subview, when i rotate the UINavigationController that is their parent. Any Ideas? ...

iphone SDK : Upload image from iphone to a php Server send empty file ?(sample code link inside)

I try to send a photo and GPS location to server via PHP here is the PHP part:Copy from here Saving the Uploaded File The examples above create a temporary copy of the uploaded files in the PHP temp folder on the server. The temporary copied files disappears when the script ends. To store the uploaded file we need to copy it to a diff...

How to update numberOfRowsInSection using NSMutableArray count

In my app I allow users to add new rows of NSStrings to a UITableView. I save these new strings in an NSMutableArray *dataArray So for numberOfRowsInSection I return [dataArray count], but it seems to just return 0 all the time so my table is not auto-populating. If it helps, when I do an NSLog of [dataArray count] as a add more entrie...

Facebook photos.upload crash in Facebook Api

Hi to everybody. I need to upload photo on Facebook. But it seems to be impossible. I always have the same crash in console [UIImage dataUsingEncoding:] The way I get my Image: - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info{ [self dismissModalViewControllerAnimated:YE...

How can I get my Facebook app users to change their settings?

The default settings for which information friends can share does NOT allow friends to grant an application access to "interested in and looking for" and "religions and political views". Most Facebook users have not changed these settings, meaning that only the users that have explicitly allowed friends to share interested in informatio...

How can I invite other Facebook users to my iPhone app with extras?

If I want to get information about a user's friends in an iPhone app that integrates Facebook SDK, how do I ask the user to invite their friends to use the app and once the friend accepts the invite to ask those people to provide the "user_relationship_details" permission? In other words, what code or methods do I use? ...

How do I make the same Facebook object available to all my code in my iOS Facebook SDK project?

I've tried passing in the Facebook object which I named facebook as an argument into classes that rely on it. However, is there a way to use it in a sort of global way so that way I don't have to keep on passing it around between objects? ...

Push Notification restrictions

Hi all. Is there any limits/restrictions about amount of notifications sent to the APNS in time range ? For example - can I send 100,000 messages for 100,000 devices (one message for one device) in one hour to notify them about new content available to purchase via in-app purchases ? Found nothing about any restrictions in the manual. ...

Can't Configure Android SDK in Eclipse in Ubuntu After Upgraded to 10.10

I have installed eclipse 5.2 in ubuntu 10.10. In the 'Install New Software', it show Android Developments Installed. And when i goto preferences window, Android is not listed in the left panel. Already i was running Android SDK in ubuntu 10.04, after i upgraded ubuntu OS, eclipse is not showing the Android. ...

Xcode version and iPhone app submission

Hello, I am new to iPhone app development. I have an app created in XCode 3.1.3 and need to do 2 things; 1. Test it on my iPod touch (Latest OS: 4.1) 2. Submit it to the app store. My question is, can I do both these things given that I have XCode 3.1.3 OR do I have to upgrade? Also in case I need to upgrade, is it possible to download...

In need of some code for the iphone SDK (Save an in app picture to your photos)

Im working on my first app for the apple app store and I am in need of the code to be able to see a picture and save it to the photos, also where the code goes, so some what of a tutorial of how to save a picture to the photos app, I am working with the latest version of the iphone SDK. ...

Can I copy a part of an audio file stored in Ipod Library and save it with different name?

Hi I have went through a lot of searching and have deduced that 1) I can query for a specific audio file from Ipod Library and can play it using MPMusicPlayerController Library. But the problem is I cannot copy a part of this song and save it with diffrent name. 2) Using AVAudioPlayer I can modify or copy a part of an audio file but th...