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
HaxacoHaxaco 

Working Hybrid/Phonegap app tutorials?

Hey guys,

 

I'm trying to get a hybrid/phonegap app up and running and I've looked into the mobile sdk and forcetk github repos but I can't get a hybrid app going. Mostly I tried forcetk's sample phonegap.html to login into the org but it won't, even when I set up the consumer key and all. Anyone here has a sample hybrid app they used and wont mind sharing at least the authentication part to see it run?

 

As a side question, is it possible to do the oauth without setting up the remote access on the org from a hybrid app? I  know that the template app on the android sdk doesn't need it but I see that the forcetk library asks for it so just wondering. I want to create an app for multiple orgs so the consumer key piece for each one would get in the way.

 

Any help would do, thanks

KevinPKevinP
This hsould get you started.

http://coenraets.org/blog/2015/01/belgian-beer-explorer-with-angularjs-and-ionic/ (http://coenraets.org/blog/2015/01/belgian-beer-explorer-with-angularjs-and-ionic/" target="_blank)