You need to sign in to do that
Don't have an account?
cha run
Callback UR
Did any1 come across this link.
http://wiki.developerforce.com/index.php/Building_Android_Applications_with_the_Force.com_REST_API
Getting error as redirect mismatch in Android Emulator. can't know wt to do, help me out..
Cheers!
Got the solution for this..
As iam using the desktop application, callback uri can be anything.
I used sfdc:sample as prescribed in the example provided in that link, and the same callback url placed in the code.
it's working fine now.
All Answers
Where exactly are you getting the error? After you're directed to the standard login page in the Emulator and you enter your login credentials? What did you set as the 'Callback URL' when setting up the Remote Access Application in your Salesforce Org?
Thanx for your reply...
I gave my calback URL as https://localhost:8080/rest/index.php
It's not working.
Whenever I execute the Android application, it redirects me to the Salesforce login page, hwne I eneter my username and password, it redirects again to a page with Approve or Deny button on it. And when I clicked on Approve button it shows redirect uri mismatch error on the emulator.
Got the solution for this..
As iam using the desktop application, callback uri can be anything.
I used sfdc:sample as prescribed in the example provided in that link, and the same callback url placed in the code.
it's working fine now.
Great to hear! Hopefully the REST API calls in the sample app also worked for you.