You need to sign in to do that
Don't have an account?

LoginAPI for Android App
Hi,
I've searched a lot in the forums and I cannot seem to find a solution to my problem.
What I am looking for is :
I have a native login page for my Android App. I want to allow my users to login to my Android App using their SalesForce username and password. I dont want to exchange any data from SalesForce to my App, but simply just allow them to acces my app if they have a valid SalesForce ID.
How can i achieve this ?
Thanks.
I didn't do this, but I think this article can help you:
https://developer.salesforce.com/mobile/resources
There you'll find this sdk:
https://github.com/forcedotcom/SalesforceMobileSDK-Android/tree/master/libs/SalesforceSDK/src/com/salesforce/androidsdk
The below link provides a sample code. However, i'm not able to import the MobileSDK into Eclipse IDE since it is a gradle build. Also, I want to integrate SalesForce in an existing application in Eclipse.
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_quickstart_steps_walk_through_code.htm
Any solution ?
Thanks.