sdk

Prevent image resizing when attaching via Mail Composer?

I'm using the basic MFMailComposeViewController through the iPhone SDK to attach photos and send e-mails from within an app. The big problem I have is that, if I have HTML enabled (isHTML:YES), the control takes it upon itself to add reduced width and height values to the image element within the HTML that it generates. The actual imag...

Navigation control for iphone

hi I wanna implement a naviagtion control for a series of view. For example, naviagting from 1st view to 2nd view, then from 2nd view to 3rd view.......Can anybody give good tutorial for implementing this. Regards, Sreelash ...

QuickBooks SDK, using Perl, works in command console, not as CGI?

I'm using the QBXML method to communicate with QuickBooks on a local machine (not remotely, not using web connector). I have a very basic script which just connects to QuickBooks and checks to see if a Customer exists or not. The script works perfectly when run through the command console (Windows XP) but the same exact script, no chan...

Localization - two fr.iproj folders

I'm in the process of Localizing my app ready for the market. I'm going through all the .Xib files and have just found that 2 of the 10 Xib files are in their own fr.iproj folder. I now have two fr.iproj folders. This doesn't affect anything, the app still works fine. I'm just confused as to why there are two fr.iproj folders. There are ...

CoreData data into UITableView in UIViewController?

Hi, I have a UITableView inside a UIViewController that is using ABPeoplePickerNavigationControllerDelegate. It looks like this: @interface MyViewController : UIViewController <ABPeoplePickerNavigationControllerDelegate> { } In the .xib I have a UITableView that I need to populate with data stored in CoreData. How can I go about doin...

Facebook PHP SDK - staying logged in

Hey all, I'm currently using the PHP Facebook SDK for my project (http://github.com/facebook/php-sdk/). I have set it up so that a user will have to click a link to visit Facebook, which will then verify the user to use the application, and then return the session details to my site, which is fine. However, I want to store these session...

xcode 3.2.4 (sdk 4.1) unable to install to device

Hi there, I recently installed XCode 3.2.4 to my machine. This comes with iOS SDK 4.1. Annoyingly I can no longer install my app to any iPhone. The option to tick "Device" in the drop down for where to install to is present, but when I click it, it doesn't become ticked. Strangely I can only run my app on the simulator, despite the opti...

Initializing an Android application

Hi, I am currently facing the following problem: whenever my Android application is started, it needs to execute some time consuming initialization code. Without this code all my activities/services within the application won't work correctly. So far, I have put this initialization code into a SplashScreen activity, which I declared as...

Symbols in Obj-C

What are all of the symbols in obj-c? Like %@, %d, etc. What do they all mean? Thanks ...

Detect specific object with UITouch

HI . i am trying to move an UIImageView object with UITouch and have problem with the code how can i implement UITouch to detect only my UIImageView object ? **imageA it my UIImageView -(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { UITouch *toucheA = [[event allTouches] anyObject]; if ([toucheA view] ...

FBConnect won't display Publish to Wall after login.

I have an app that I want to be able to connect to Facebook and post to the user's wall. I have the following code: (void)viewDidLoad { static NSString* kApiKey = @"PRIVATE"; static NSString* kApiSecret = @"PRIVATE"; _session = [[FBSession sessionForApplication:kApiKey secret:kApiSecret delegate:self] retain]; // Load a previous sess...

1347 errors in iOS SDK 4.1

Hi, I had tried to build my iPhone app and got 1347 errors! What did I do wrong? You can download a txt file with my errors here: http://www.mediafire.com/?jlabh2ms21z6r24 Sorry, I had to upload a file, because of limited characters... Did any one else had the same problem and can help me? esanits ...

iPhone SDK: Modal Table View List Picker

Hi, here is a strange one: I created an overlay view to mimic a list picker like the Bluetooth device picker from Apple. It looks and works exactly like that one now, so no issues here. It contains a title, table view and cancel button and everything works fine. Now comes the part I can't resolve. As soon as I want to make it a modal di...

Are there any good Java cross platform SIP / VOIP Development Kits?

Are there any good Java cross platform SIP / VOIP dev kits that you have personally used? I've found one or two that seem like they could be worthwhile pursuing, but I'm still not 100% sold on them. http://www.voipdevelopmentkit.com/ That seems to be the leader at the moment. However, it doesn't look like they are developing still. I'v...

iPhone sdk will not compile if i use UITableView Group background color

if i use grouped table view or just use this color, i get this compilation error: The document "DetailedView.xib" could not be opened. The operation couldn’t be completed. -[NSCFArray insertObject:atIndex:]: attempt to insert nil. if i use plain tableview it works fine. also i tested on number of xcode installations and on different co...

Iphone SDK:[error]Cannot find protocol declaration for "NSNetServiceDelegate"

this code is from a sample in .h part : @interface ViewController : UITableViewController < NSNetServiceBrowserDelegate > { NSMutableArray * tableData; NSNetServiceBrowser * _browser; NSMutableArray * _foundServices; NSURLConnection * _connection; NSInputStream * _consumerStream; NSString...

Add custom target to Android SDK and AVD Manager

From the Android SDK and AVD Manager it is possible to add an extra Add-on Site URL. I'd like to have some starting point or documentation about developing and distributing add-ons so I can distribute an SDK for my own target device. ...

How to get applications data from Blackberry appworld with PHP?

Is there an API or some SDK allowing access to appworld.blackberry.com to get application information using PHP or maybe some other programming language? ...

Is it possible to schedule push notification time ? (iPhone SDK)

I want to schedule push notification after some time or say after 2 days 15 hours. So after 2 days 15 hours a notification will be sent to a device. Is it possible ? How ?? ...

How to use UITableView when total number of sections and rows are unknown (and potentially large)

Normally to use UITableView, the number of sections and rows per section are known. But what if they aren't? I want to implement a lazy search, so that I actually search for the next match when new data needs to be displayed. Something on the lines of: db.prepareSearch(query) and then call something like db.nextSearchResult() when it ...