+ Start a Discussion
PanchoPancho 

INSERT/UPSERT using SalesforceSDK on native Android

Hi everyone,

The template app that comes with the SalesforceSDK is great, but it only has a few examples of SELECT querys.

Can someone show me how to do a INSERT/UPSERT using the native Android SalesforceSDK?

I need to insert records into some custom objects, including a datetime field.  I am not sure how to package it up and put it into a format to allow SOQL to INSERT or UPSERT.

 

Thanks mucho

any help is appreciated.

Best Answer chosen by Admin (Salesforce Developers) 
julieboncourjulieboncour

Hello,

 

http://wiki.developerforce.com/page/Building_Android_Applications_with_the_Force.com_REST_API

 

You can found a lot of usefull information about how to use the REST API (insert, upsert, select, delete queries) into an Android application there.

 

It helped me, hope it will help you too.

 

Julie

All Answers

julieboncourjulieboncour

Hello,

 

http://wiki.developerforce.com/page/Building_Android_Applications_with_the_Force.com_REST_API

 

You can found a lot of usefull information about how to use the REST API (insert, upsert, select, delete queries) into an Android application there.

 

It helped me, hope it will help you too.

 

Julie

This was selected as the best answer
PanchoPancho
That is exactly what I was looking for. Thanks Julie!