This blog post is in continuation with Earlier blog post where we explored some limitations of standard apps provided by salesforce .But every release salesforce keeps improving Salesforce Touch App ,Salesforce Mobile etc and hence its advisable to go through latest release to find out whether the customers requirement can be met from using those standard app and figure out actual need to go for development of completely customized app.
Force.com Touch Platform offers Salesforce SDK for Android and IOS .Using SDK its possible to develop native ,hybrid or an HTML web application.
http://salesforce.stackexchange.com/questions/8075/html-vs-hybrid-vs-native-app
There are lot of discussions around which type of application is best. (Hybrid or native or html).The conclusion it really depends on the requirement,developer resource and performance expected .
Native Apps are faster and provides great offline support but we may need to code in different languages depending on platform .Eg:Objective C for IOS and Java for Android .
Hybrid Apps are developed using Javascript libraries and a web developer with Javascript skills along with knowledge of Jquery mobile and Html5 and CSS3 can handle .The Hybrid applications will provide cross platform support and there is a support for offline as well using Smartstore.js that comes bundled with salesforce mobile SDK.
http://www2.developerforce.com/mobile/getting-started/html5
The above link will take you developerforce where you will see the Javascript libraries that can be used to develop Hybrid Application.To mention few these are i)Angular.js ii)Backbone.js iii)Forcetk
JqueryMobile is an excellent utility and using this the UI of the mobile application can be developed very quickly.This is also one of the components that comes bundled with mobile SDK .
Lets quickly summarize what are the things that comes bundled with the Salesforce SDK and whats there use (Salesforce SDK for Android ,Salesforce SDK for IOS).
a)bootconfig.js-This boots the app as name suggests .This configures the app .
Settings needed in bootconfig.js for local Hybrid app
i)remoteAccessConsumerKey -From your remote access settings or connected apps place your consumer key in this variable
eg:
var remoteAccessConsumerKey = "3MVG9A2kN3Bn17hvZpJm8_imuGQjzehEPJ94DYLTwjIp811dyZUSv3EEU1L0z5TAZHanF4clFyNF_2jygDscB";
ii)oauthRedirectURI-This variable must be populated with the Callback URL from your remote access settings or connected apps
eg;
// The redirect URI value specified for your remote access object that defines
// your application in Salesforce.
var oauthRedirectURI = "testdemo:///mobilesdk/detect/oauth/done";
iii)startData-This is crucial part of configuration.This decides whether you want to land the app on local html (In case you have developed local hybrid application )or On server side visualforce as the first page as soon as app boots up(In case you have developed server side hybrid application)
For local app use the following:
var startData = new SFHybridApp.LocalAppStartData(); // Used for local REST-based "index.html" PhoneGap apps.
For Visualforce based Server side application use the following
var startData = new SFHybridApp.RemoteAppStartData("/apex/Visualforcepage?context=container");
Where VisualforcePage is the name of Visualforce where you want to land the user when the app boots up
NOTE:I will be expanding in my next blog post whats the difference between local side hybrid app and server side hybrid application
b)Cordova-2.3.0.js-This is open source phonegap plugin.To read more about Phonegap refer the following link
http://docs.phonegap.com/en/2.6.0/index.html
We wonder how can i access the device features(Camera,audio,video,geo location,file storage etc)from Javascript .It is this open source Javascript library that has Javscript functions to invoke the device features.
c)SalesforceOauthPlugin.Js-This handles the authentication of the application using oauth 2.0 of force.com.Please Note oauth 2.0 is necessary only for local hybrid application
d)SFHybridApp.Js-This provides some utility functions necessary for offline caching of data and functions to detect whether the device is online or offline etc
e)Jquerymobile -This library eases the creation of UI for the application and makes it platform independent and also device independent .
There are lot to speak about mobile application development on touch platform and surely i fancy blogging more on this .Happy Learning!!!
Force.com Touch Platform offers Salesforce SDK for Android and IOS .Using SDK its possible to develop native ,hybrid or an HTML web application.
http://salesforce.stackexchange.com/questions/8075/html-vs-hybrid-vs-native-app
There are lot of discussions around which type of application is best. (Hybrid or native or html).The conclusion it really depends on the requirement,developer resource and performance expected .
Native Apps are faster and provides great offline support but we may need to code in different languages depending on platform .Eg:Objective C for IOS and Java for Android .
Hybrid Apps are developed using Javascript libraries and a web developer with Javascript skills along with knowledge of Jquery mobile and Html5 and CSS3 can handle .The Hybrid applications will provide cross platform support and there is a support for offline as well using Smartstore.js that comes bundled with salesforce mobile SDK.
http://www2.developerforce.com/mobile/getting-started/html5
The above link will take you developerforce where you will see the Javascript libraries that can be used to develop Hybrid Application.To mention few these are i)Angular.js ii)Backbone.js iii)Forcetk
JqueryMobile is an excellent utility and using this the UI of the mobile application can be developed very quickly.This is also one of the components that comes bundled with mobile SDK .
Lets quickly summarize what are the things that comes bundled with the Salesforce SDK and whats there use (Salesforce SDK for Android ,Salesforce SDK for IOS).
a)bootconfig.js-This boots the app as name suggests .This configures the app .
Settings needed in bootconfig.js for local Hybrid app
i)remoteAccessConsumerKey -From your remote access settings or connected apps place your consumer key in this variable
eg:
var remoteAccessConsumerKey = "3MVG9A2kN3Bn17hvZpJm8_imuGQjzehEPJ94DYLTwjIp811dyZUSv3EEU1L0z5TAZHanF4clFyNF_2jygDscB";
ii)oauthRedirectURI-This variable must be populated with the Callback URL from your remote access settings or connected apps
eg;
// The redirect URI value specified for your remote access object that defines
// your application in Salesforce.
var oauthRedirectURI = "testdemo:///mobilesdk/detect/oauth/done";
iii)startData-This is crucial part of configuration.This decides whether you want to land the app on local html (In case you have developed local hybrid application )or On server side visualforce as the first page as soon as app boots up(In case you have developed server side hybrid application)
For local app use the following:
var startData = new SFHybridApp.LocalAppStartData(); // Used for local REST-based "index.html" PhoneGap apps.
For Visualforce based Server side application use the following
var startData = new SFHybridApp.RemoteAppStartData("/apex/Visualforcepage?context=container");
Where VisualforcePage is the name of Visualforce where you want to land the user when the app boots up
NOTE:I will be expanding in my next blog post whats the difference between local side hybrid app and server side hybrid application
b)Cordova-2.3.0.js-This is open source phonegap plugin.To read more about Phonegap refer the following link
http://docs.phonegap.com/en/2.6.0/index.html
We wonder how can i access the device features(Camera,audio,video,geo location,file storage etc)from Javascript .It is this open source Javascript library that has Javscript functions to invoke the device features.
c)SalesforceOauthPlugin.Js-This handles the authentication of the application using oauth 2.0 of force.com.Please Note oauth 2.0 is necessary only for local hybrid application
d)SFHybridApp.Js-This provides some utility functions necessary for offline caching of data and functions to detect whether the device is online or offline etc
e)Jquerymobile -This library eases the creation of UI for the application and makes it platform independent and also device independent .
There are lot to speak about mobile application development on touch platform and surely i fancy blogging more on this .Happy Learning!!!
Very interesting post. It's very informative and easy to understand for all level skilled app developers.
ReplyDeleteReach Way2Smile (Trusted Mobile App Development Company in Chennai) to develop extraordinary mobile apps.
Nice post, contact us for Best Mobile App Development Company
ReplyDeleteWe understand the base of your problem. Cybexo is providing the best web development services in Canada including outstanding digital appearance,Mobile app development, graphic designing, content writing, and branding.
ReplyDeleteWe understand the base of your problem. Cybexo is providing the best web development services in Canada including outstanding digital appearance,Mobile app development, graphic designing, content writing, and branding.
ReplyDeleteGreat post done by admin. Contact us for Best Mobile Application Development Services at best price.
ReplyDeleteOur Mobile App Development make much efforts when its comes to your dream project. if there were any problem they were resolve it within 24 hours
ReplyDeleteGreat blog information..
ReplyDeleteour team works so hard to provide you the best website for the minimal price every day.
Web design winnipeg
Best SEO winnipeg
Good content about mobile app development...keep update..and We have also a splendid team to build a great mobile applicatyion in chennai and also we providing all services..
ReplyDelete"Best customer relationship management Software company in chennai
Best Software Providers in chennai
Mobile app development company in chennai
"
Very good article, Has shared useful information about mobile app development.
ReplyDeleteWe are an app development company located in chennai. Best mobile app developers in chennai
Thank you so much for sharing such an awesome article on creating articles, it will surely help me in creating articles in the future.
ReplyDeleteMobile app development company chennai
Web Design Company in Chennai
App development company in chennai
mobile app developers in chennai
This comment has been removed by the author.
ReplyDeleteThank you for sharing your insights on the limitations of standard apps provided by Salesforce and the importance of keeping up-to-date with the latest releases to see if customer requirements can be met with standard apps. As someone interested in web application development services in Delhi
ReplyDeleteweb application development services in Delhi, I completely agree that it's important to evaluate the latest releases of Salesforce Touch App and Salesforce Mobile to determine if a customized app is necessary.
Hi, I found your blog on Google when I was looking for the best mobile app development services, and I really like your blog. Thanks for sharing this wonderful blog. Please continue this.
ReplyDeleteThanks for blog.
ReplyDeletesoftware development company
This comment has been removed by the author.
ReplyDeleteGreat insights on mobile application development! Despite being from 2013, your article still offers valuable information and perspectives. Thank you for sharing your expertise and contributing to the knowledge base. If you are looking to Hire Dedicated Android Developers , we will be glad to help.
ReplyDeleteValuable Content Thanks For Sharing grow your business by developing app Smiligence
ReplyDeleteI appreciate your kind words about the insights provided on mobile application development! Even though the article dates back to 2013, I'm delighted to hear that it still holds value for you, offering valuable information and unique perspectives. Thank you for acknowledging the expertise shared here and contributing to the knowledge base. If you are in search of dedicated web and mobile app developers, we are more than happy to assist you.
ReplyDeleteI really like your blog post.
ReplyDeletehire Remote mobile app developers
Don't worry about coding! Skilled app development companies can help you advance your Force.com app to the next level for mobile devices. Leave the technology to them; concentrate on your vision.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteDo you wish to add value to your business by building brand awareness, gaining loyal customers, and providing insightful data? App Development services are the solutions to all your needs. Build your custom mobile app with CDN at an affordable budget. We are the most trusted Custom Mobile Application Development Company providing enterprise app development services for all industries irrespective of size and location.
ReplyDeleteHi, I came across your blog on Google while searching for the best Salesforce app development services, and I really enjoyed it. Thank you for sharing such a wonderful blog. Please keep up the great work!
ReplyDeleteThank you for the detailed insights in your blog post "Mobile Application Development On Force.com Touch Platform-Part 2." Your exploration of the Salesforce SDK for Android and iOS, along with the comparison between native, hybrid, and HTML applications, is extremely informative. I appreciate the practical examples and the emphasis on how developers can utilize various JavaScript libraries like Angular.js, Backbone.js, and Forcetk for hybrid applications. The step-by-step guidance on configuring `bootconfig.js` and the explanation of Cordova and SalesforceOauthPlugin.js are especially helpful for developers navigating mobile app development on the Force.com platform. Looking forward to your next post on the differences between local hybrid apps and server-side hybrid applications. Happy learning indeed!
ReplyDeleteInsightful continuation on developing mobile applications with Force.com Touch Platform! This blog dives deeper into advanced features and best practices, making it a valuable resource for developers looking to leverage this platform. Thanks for the detailed explanations!
ReplyDeleteMobile application development on the Force.com Touch platform focuses on creating responsive and user-friendly apps tailored for mobile devices. In Part 2, the discussion covers advanced features such as customizations, integrating APIs, and leveraging Salesforce data. This guide aims to help developers enhance app functionality and optimize user experiences, making it easier to build robust mobile solutions on the Force.com framework.
ReplyDeleteThis comment has been removed by the author.
ReplyDeleteUnlock the full potential of your Salesforce environment with our expert Salesforce application development services, enhanced by the power of 360-Degree Cloud. Our approach integrates cutting-edge technology to provide a comprehensive and unified solution tailored to your business needs.For more information visit Us on https://360degreecloud.com/salesforce-app-development Contact Us on +13093167929
ReplyDeletevisit us:
Salesforce for Professional Services
Salesforce Consulting
Great continuation on the Force.com Touch Platform! It's exciting to see how mobile app development is evolving within the Salesforce ecosystem. The platform's seamless integration with existing Salesforce data makes it easier to build responsive and efficient apps. Looking forward to more insights on customizing mobile experiences and leveraging Visualforce in mobile environments. Thanks for sharing!
ReplyDeleteThank u for sharing this blog Mobile App development
ReplyDelete
ReplyDeleteAt 360 Degree Cloud, we specialize in providing custom Salesforce solutions that help businesses streamline their processes, improve productivity, and enhance customer experiences. Our expert team of Salesforce app developers and mobile app development specialists works closely with you to build tailored applications that fit your unique business needs.
Visit us:
Salesforce Mobile App Development
Best Salesforce consultants
Salesforce consulting Agency
This post was a fantastic read!
ReplyDeleteMobile App Development company in Gurgaon
This comment has been removed by the author.
ReplyDeleteThanks for sharing this information. Mobile App Development Company Dubai
ReplyDelete