building hybrid mobile apps for appexchange

40
Building Hybrid Mobile Apps for AppExchange Lower the friction to going mobile James Sullivan, CloudAnswers (tm) @jamesrsullivan

Upload: salesforce-developers

Post on 15-Jan-2015

194 views

Category:

Technology


2 download

DESCRIPTION

Are you an expert Force.com developer looking to get your great idea out there on AppExchange, but it includes native iOS or Android code? Join us to learn about the AppExchange constraints around hybrid models and the best practices around the security review, license management, and API calls. We'll review the process and then dive into the details with a code walkthrough of a sample mobile app.

TRANSCRIPT

  • 1. Building Hybrid Mobile Apps for AppExchange Lower the friction to going mobile James Sullivan, CloudAnswers (tm) @jamesrsullivan

2. James Sullivan CloudAnswers.com Cloud Constructor @jamesrsullivan 3. All about CloudAnswers CloudAnswers is a Boston-based cloud technology advisory company focused on the cloud innovation. We provide a coaching service based on tech and business optimization. Quality: The cloud is our craft, and we feel an emotional bond to the companies we help and the tools we build. Helping People: 1% of all company profit, employee time, and product is donated to social benefit organizations, just like salesforce. com. 4. Assumptions Are you an expert Force.com developer looking to get your great idea out there on the AppExchange, but it includes native iOS or Android code? Join us to learn about the AppExchange constraints around hybrid models and the best practices around the security review, license management, and API calls. We'll review the process and then dive into the details with a code walkthrough of a sample mobile app. 5. Agenda Understand hybrid apps Demo of building a hybrid app from a visualforce page AppExchange Tips Resources for getting started back at your office 6. Force.com Mobile SDK Needs to be introduced Saves me from learning both java AND obj-c 7. Device Plugins Battery StatusDialogsMediaCameraCameraMedia CaptureConsoleFileNetwork InformationContactsFile TransferSplashscreenDeviceGeolocationVibrationDevice MotionGlobalizationDevice OrientationIn-App Browser 8. Native features with JavaScript navigator.camera.getPicture( onPhotoDataSuccess, onFail, { quality: 25, destinationType : Camera. DestinationType.DATA_URL });navigator.contacts.find( fields, onContactSuccess, onContactError, options);#forcewebinar 9. App Architecture for Mobile SDK 2.0 Native UI Widgets Salesforce UIHybridHTML5Provided by OS RoadmapUI ElementsMobile Packs Data Management Secure Storage Identit y#forcewebinarProvided by OSSmartSync SmartStoreOAuth2 Client LibraryJuly 2013 Webinar: Intro to Salesforce Mobile SDK: Building Hybrid Apps http://http://events.developerforce.comhttp://events.developerforce. com/en/events/webinars/mobile-http://events.developerforce. 10. Building an App: The Mobile MVP MVP = Minimum Viable Product Testing with friends and coworkers Using native for faster protptypes 11. DEMO: Make a mobile app 12. Advanced: Remove vs Local Phone AppHybrid RemotePhone AppHybrid Local css, js, & other resourcesForce.com css, js, & other resourcesForce.comData apiData api 13. Publishing on AppExchange 14. AppExchange Tips Why AppExchange instead of App Store? Enterprise Visibility Very few apps are mobile-only but most apps have a need for mobile components 15. Security Review Prerequisites & Tips Automated Tests & Self-Assessments: security.force.com Free security review: Security reviews are free for apps that are free. If your application has a free part that is always free, your security fee is waived and recertification is free as long as you have a free edition. 16. Security Review Tips (Cont.) Storing data outside of salesforce is the primary concern. Hybrid Remote (standard Visualforce pages) has the fewest security concerns because it is almost a native app. If you are using offline storage and storing salesforce data, try to use a pre-vetted solution like SmartStore. 17. Links & Resources http://www2.developerforce.com/en/mobile/getting-started/ios http://security.force.com 18. Resources (Advanced) http://www.appgyver.com/steroids http://trigger.io 19. STOP HERE 20. How do we get this app we just built to market? AppExchange App Store Android MarketSecurity Review 1750 or 0 100, 1 time freeUser Base TBD Enterprise, often pay Enterprise, often pay Casual consumersI THINK I CAN FILL OUT A BIGGER MATRIX THAT COMPARES THE MARKETS FOR DEVS LOOKING AT HOW TO APPROACH GOING TO MARKET 21. AppExchange Listing Overview 22. AppExchange Security Review Native Hybrid Server Hybrid Mobile Local Hybrid Mobile Remote . 23. Your app is live Analytics Does your app stick? Where are users falling off? Crash reporting?Marketing Use your ISV org Lead auto-response emails 24. Free App Ideas Salesforce Caller ID for Android Office Check-In (FourSquare Style) for Chatter iPad Real Estate Listings Viewer for Traveling Brokers Property Manager app for iPad 25. 5 minutes on a 2011 MacBook Air