function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Manu SrivastavaManu Srivastava 

Possibilities to share text/URL type of information from a 3d party app to the Saleforce1 app

What are the possible options available to query and update records on the Salesforce1 mobile app?

I know - I can use REST APIs to build the interaction and that works fine.

However, there are other options coming up like using iOS AppExtension to share information between iOS apps or Intent for Android.

Does Salesforce1 provide support for these (or other such approaches) which can then be alternatives to the usual REST API flow?
Gaurav KheterpalGaurav Kheterpal
You can use the alesforce1 deep linking feature.

To view a record, you would invoke
 
salesforce1://sObject/001D000000Jwj9v/view

To edit a record, you would invoke
 
salesforce1://sObject/006R0000001r7Rq/edit

Refer to the Deep Linking Guide (https://na7.my.salesforce.com/help/pdfs/en/salesforce1_url_schemes_ios.pdf) for more details.

If my answer helps resolve your query, please mark it as the 'Best Answer' and upvote it to benefit others and improve the overall quality of Discussion Forums.

Gaurav Kheterpal
Certified Force.com Developer| Salesforce Mobile Evangelist| Developer Forums Moderator| Dreamforce Speaker





 
NagaNaga (Salesforce Developers) 
Hi Manu,

I understand that you want to know if salesforce1 would support "IOS AppExtension" or "Intent" to communicate with third party apps.

IOS 8 ext app is not supported by salesforce1 yet

https://www.google.com.sg/url?sa=t&rct=j&q=&esrc=s&source=web&cd=3&cad=rja&uact=8&ved=0CEIQFjAC&url=https%3A%2F%2Fsuccess.salesforce.com%2FideaView%3Fid%3D08730000000l68zAAA&ei=vPviVPfYKsfwoAT34IK4BQ&usg=AFQjCNHomT5ShgW6hBzi7oeyJVmAThX0dQ&bvm=bv.85970519,d.cGU

It seems like salesforce1 might work with intent


Intent intent = new Intent(Intent.ACTION_MAIN);
intent.setClassName("com.example.package", "com.example.package.ActivityToStart");
startActivity(intent);
Another (better) option is to use the PackageManager to get an Intent for the package:

PackageManager pm = getPackageManager();
Intent intent = pm.getLaunchIntentForPackage("com.example.package");
startActivity(intent);

Please follow the below link
http://stackoverflow.com/questions/4674391/calling-an-app-from-another-app

There is no 3rd party app that salesforce1 might authorize as of now

Best Regards
Naga kiran