Take the 2-minute tour ×
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It's 100% free, no registration required.

I have created a HTML5 jquery mobile app as this link.

I can see the sample in browser and its working fine.

They also mentioned that same can be deployed in a mobile device after logging in with your Salesforce credentials.

I could not understand this. Do I just need to login to SalesForce?

Earlier I created my own app, played with it but this seems quite confusing.

Anybody please help me out.

share|improve this question
add comment

1 Answer 1

up vote 3 down vote accepted

You can't deploy your HTML5 application to a mobile device, what they are referring to here is accessing from the built-in device browser. Its the same process as accessing it from the desktop - login to Salesforce and then navigate to the URL.

If you are on iOS, once you have opened the URL, you can add a shortcut to the homescreen. This doesn't remove the requirement to login, but will allow you to jump straight to the page once you have entered your credentials.

Another way to access this from the mobile device would be to install Salesforce1 and add your Visualforce page to the mobile navigation menu. If you make it the first element in the menu it will effectively become the home page for the application.

share|improve this answer
    
Cool... Thanks for detailed explanation... It's helpful to understand the scenario properly. –  Braj Mar 11 at 9:24
    
@Braj Fyi there are also tools like phonegap.com. –  Keith C Mar 11 at 9:36
    
Next step 2 of the linked article from the original post is the best place to start for that, via the Salesforce mobile SDK rather than directly onto phonegap. –  Bob Buzzard Mar 11 at 9:40
    
@BobBuzzard You mean, creating hybrid Android/IOS apps? –  Braj Mar 11 at 10:00
    
Yes - the Salesforce Mobile SDK builds on top of phonegap and stops you having to worry about things like oauth tokens. –  Bob Buzzard Mar 11 at 10:17
show 3 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.