I am implementing salesforce api in my project. I downloaded code from the below link
https://github.com/developerforce/Force.com-Toolkit-for-iOS
But the problem is that i want this api on iPhone not on iPad.
When i am going to convert it on iPhone. I am fail. It is typical to convert it because of difference of code like split view etc.
I dont want split view just simple api. If you guys source code of it then share. Thanks.
(Note: I am using xcode not phonegap)
I think you're confusing yourself by looking at the sample app, the actual api library itself doesn't use splitviews as far as i know. Concentrate on what's in the ZKSforce directory, and not the sample SVNTest app.
There is a document link
:
http://forcedotcom.github.com/MobileContainer-iOS/Documentation/SalesforceSDK/Classes/SFRestAPI.html
here is the code:
http://forcedotcom.github.com/SalesforceMobileSDK-iOS/Documentation/SalesforceSDK/Classes/SFRestAPI.html#//api/name/requestForCreateWithObjectType:fields:
Related
I am implementing one iphone application in which I want to use yelp api.But I dont know how to integrate with iphone.I have found one sample code from the GIT hub but there are not specific code.Can you give me some advice or some reference.
Please give me solution for this query
Thanks in advance
You should take a look at RestKit http://restkit.org/
It's a great tool for connecting with API's like this. Once you get that working it should be as simple as connecting and making some calls.
Hi I am using Evernote Api for iphone. I downloaded Api from developers site of evernote. But I dont know how to use it...Any one know about this or have any links or examples to understand this?
Adding iOS sample code is a top priority. In the meantime, please have a look at http://digitalpericope.net/?p=27, which might help you get started.
I'm currently building a social networking site using the codeIgniter PHP framework. One of our major focuses of this site is to be able to upload images through the use of smartphones. We were focusing on building for the iPhone, but the iPhone doesn't let you upload files for some reason beyond me. I have been looking through solutions for days seeing if we could somehow integrate an iPhone app and have come up with nothing. The only thing I have found is using Cocoa Xcode in Objective C to somehow get around the fact. Now I don't know anything about objective C and I was wondering if I could somehow integrate a snippet of objective C into my PHP to allow users to upload photos off their iPhone and onto our site.
Is this possible? If so how? If not, does anyone know another work around?
You can avoid having to code an iPhone app by allowing images to be submitted by email. This is one of the ways Posterous works. I'm pretty sure that there's no other way to access the photo library outside of building your own app in Objective-C.
It seems that you would actually have to create an iPhone application doing the job for you. Check this article on how such application would be done in Objective C on the iPhone.
As an alternative, you could try third party tools like e.g. Image Upload
If I have understood ur problem, u are finding a way in what manner u should send the image with ur request to ur php.
If this is ur problem, the I suggest u to first convert the image into Base64Encoded data and send it with ur request. Now php do have inbuilt methods to convert this data to an image.
Try looking for Base64Encoding help for php.
Thanks,
Madhup
This is the very reason why social platforms have their Apps on the App Store and not just simply the Wap Sites. So either you can have email attachments, or write an app which uploads the images, and a controller which manages those uploads.
I want to integrate Twitter API into my iphone application. I have read about JSON framework with iPhone SDK 2.2. But I am new to this type of application. Can anybody please explain how to integrate this Twitter's APIs with my application and how to use it. Also tell me how to open "svn checkout http://json-framework.googlecode.com/svn/trunk/ json-framework-read-only" I have downloaded this code, but I'm not sure where to go from here. Please help me in this issue. Thanks in advance.
Try MGTwitterEngine.
You might consider looking at the Stanford iPhone programming course for some basic "how to use an API" type information.
Their in-class sample app is a low-end Twitter app that uses the JSON library, you might find that a useful example.
Does iPhone support XML-RPC, Is their any open source framework which I can use?
Checkout the source for the wordpress app. They might be using XML-RPC. :)
http://iphone.wordpress.org/
"Airsource Ltd" is really really incredibly wrong about that document. That document is specific to Mac OS X and NOT the iPhone. In fact (almost) all Apple iPhone documentation is hidden away behind a login page and a licence agreement. Most of the technologies that document refer to (e.g. AppleScript) do not even exist on the iPhone.
Amit, you'll have Zero luck if you follow Airsource's advice. You will however do ok if you do as "Lounges" says and go grab the wordpress source code. It looks like they rolled their own XMLRPC library for use on the iPhone.
As for SOAP - you're on your own. You might be able to find an opensource SOAP library built on top of libxml2 though. Good luck.
Yes iPhone support XML-RPC and wordpress opensource application is best example of it,
but from performance aspect I must say JSON is better to use with iPhone application,
from here https://github.com/stig/json-framework/ u can download JSON parser.