Dallas Salesforce.com Developers Users Group, November 28, 2012

Slides:



Advertisements
Similar presentations
Support.ebsco.com EBSCOhost Mobile Tutorial. Welcome to the EBSCOhost Mobile tutorial, a guide to the most popular EBSCOhost features available for use.
Advertisements

1Proprietary and Confidential AirVantage API – Getting started David SCIAMMA – June 13th 2014.
Using Evernote and Google Docs in your web or mobile application (and potentially Dropbox and Skydrive) By Peter Messenger Senior Developer – Triple Point.
Mobile App Development Using: Presented by Tyler Richey Images from
Building Mobile Apps in the Cloud – Comparing Approaches.
Get android development environment running. Install – Get and install JDK 5 or 6 (see link in the.
Coursework 2: getting started (4) – using PhoneGap to build mobile applications (optional) Chris Greenhalgh G54UBI /
Android: Hello World Frank Xu Gannon University. Steps Configuration ▫Android SDK ▫Android Development Tools (ADT)  Eclipse plug-in ▫Android SDK and.
ANDROID PROGRAMMING MODULE 1 – GETTING STARTED
Intelligent Tutoring System Mobile Communication Team Drew Boatwright Nakul Dureja Richard Liou.
Social Media Apps Programming Min-Yuh Day, Ph.D. Assistant Professor Department of Information Management Tamkang University
Lightning Talk Fred Rodriguez Nguyen Do CPSC 473 May 6, 2012.
Classroom User Training June 29, 2005 Presented by:
@2011 Mihail L. Sichitiu1 Android Introduction Platform Overview.
XP New Perspectives on Browser and Basics Tutorial 1 1 Browser and Basics Tutorial 1.
Android. The Eclipse IDE Installation Requirements: Eclipse Java Windows All must match (32-bit OR 64-bit) If you have a 64-bit OS & 32-bit browser,
Introduction to Android. Android as a system, is a java based operating system that runs on the Linux kernel. The system is very lightweight and full.
ANDROID Presented By Mastan Vali.SK. © artesis 2008 | 2 1. Introduction 2. Platform 3. Software development 4. Advantages Main topics.
Android Development Environment Environment/tools Windows Eclipse IDE for Java Developers (v3.5 Galileo) Java Platform (JDK 6 Update 18) Android.
Trunica Inc. 500 East Kennedy Blvd #300 Tampa, FL Cross Platform Mobile Apps With Cordova and Visual Studio 2015 © Copyright 2015.
PAYware Transact Terminal Interface Manager
DEVOLOPING ANDROID APP ON LOCATION BASED REMINDER ON ANDROID MOBILE SYSTEMS.
Secure Mobile Development with NetIQ Access Manager
5/14/2003Sprint TekNet IP Train the Trainer1 Open TekNet Software If working at a client station, enter the IP address of the server and mark page as a.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
PhoneGap. web-based mobile development framework, based on the open-source Cordova project. use standard web technologies such as HTML5, CSS3, and JavaScript.
Day 1 Session 2. Setup & Installation
1 Terminal Management System Usage Overview Document Version 1.1.
Welcome to Zoom Training
MIS 3200 – C# (C Sharp)
ICE Integrated Cloud Environment Cloud Scanning and Mobile Printing
Join the Community
Dreamweaver – Setting up a Site and Page Layouts
Nithyamoorthy S Core Mind Technologies
Running a Forms Developer Application
Welcome: Hands-On Lab Plug in to the network.
Consuming OAuth Services in Alfresco Share
Newly updated World eBooks
WikID installation/training
Obtaining the Required Tools
Mobile App Development
Data Virtualization Tutorial… OAuth Example using Google Sheets
The EBSCOhost iPhone Application
Node.js Express Web Services
Android 基礎.
Core LIMS Training: Advanced Administration
Inside Microsoft 365 Business Admin & End-User Experiences
Excel Services Deployment and Administration
OneDrive for Business User Guide
Testing REST IPA using POSTMAN
Azure AD Line Of Business Application Integration
Cloud Connect Seamlessly
File Stream and Team Drives
Mobile Application Development with MeeGo™ - Programming with SDK
More than just File Sync and Share.
Mobile App Development
What is Cookie? Cookie is small information stored in text file on user’s hard drive by web server. This information is later used by web browser to retrieve.
Office 365 Development July 2014.
Using JDeveloper.
Training course Part 2: Administration tasks
Cordova & Cordova Plugin Installation and Management
Introduction of Week 11 Return assignment 9-1 Collect assignment 10-1
TechEd /22/2019 9:22 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Office 365 Development.
Common Data Service Data Integrator
Dallas Salesforce.com Developers Users Group, January 23, 2013
MyLion Registration Website | Mobile device
TN19-TCI: Integration and API management using TIBCO Cloud™ Integration
Dallas Salesforce.com Developers Users Group,
Presentation transcript:

Dallas Salesforce.com Developers Users Group, November 28, 2012 Welcome, Dallas Salesforce.com Developers Users Group, November 28, 2012 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com Partner: US Logix, mthanawalla@uslogix.com moyez@thanawalla.net @moyezthanawalla 972-630-8225 (google.voice) SMU 1984, EE, CS. (go ponies) We develop: Connectors and Interfaces to SFDC 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com CTI and active connectors for Salesforce 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com Agenda: Most Important: Food / Vegetarian option Door Prizes Upcoming Meetings (dates, time of day/evening) 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com Future Topics, Presenters???: SFDC Evangelist toolkit. What do the boys in SanFran use? Exploring the iOS and Android wrappers Canvas Other? Do you have a special area of expertise? Would you like to present? 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com Public Service Announcements… Best Bookstore in Town, shameless plug: www.nerdbooks.com DFW PC Users Group : www.ntpcug.org Social Marketing Club of Dallas : http://smcdallas.org/ Others…? 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com Developer Path DEV 401 Exam Saturday group class? DEV 501 Exam 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com Later Tonight… Attitude Adjustment and Dinner… Chili’s Beltline and Beltway , Right after the meeting…. November 28, 2012 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com Today’s Presentation….. Workbook on Mobile Development…. The number of people using mobile devices is growing exponentially. SFDC believes that very soon the number of users accessing their SFDC org through mobile will exceed the number using the desktop…. 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com The Salesforce Mobile SDK simplifies development by providing the following: • Native OAuth implementations that work out-of-the-box • OAuth access token management, including persistence and refresh capabilities • Native REST API wrappers for building native applications • Containers for building hybrid applications 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com • You need either a Database.com account or a Force.com Developer Edition organization. • To build the iOS applications, you'll need Mac OS X Snow Leopard or Lion, Xcode 4.2+, and the Salesforce Mobile SDK for iOS cloned from the GitHub repository. • To build the Android applications, you'll need the Java JDK 6, Eclipse, Android ADT plugin, and the latest Android SDK. • Some familiarity with the REST API is assumed. • Most of the resources are on GitHub, a social coding community. You can access all of our files in SFDC public repository, but it’s a good idea to join. https://github.com. 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com There are three ways to develop mobile applications: • Native — Native apps are coded using a mobile platform's native capabilities. Typically, these apps are more difficult to develop, but they also offer the best performance. • HTML5 — HTML5 apps are built using HTML5, CSS and JavaScript. These lightweight server-side pages typically offer the most portability, but don't have access to native platform features. HTML5 apps aren't device-specific, so the same app will run on an iOS, Android, Windows Mobile, or other device. • Hybrid — Hybrid apps use a JavaScript bridge in a native container to merge the portability of HTML5 with native device capabilities, such as the camera or address book. 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com Choosing a Back End: Force.com or Database.com The mobile applications that you build will work whether you store your data on a Database.com or Force.com organization. 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com Get a new account: http://developer.force.com/join Download default schema: https://github.com/forcedotcom/SalesforceMobileSDK-Samples/raw/master/CloudTunes-metadata/CloudTunes-force.zip. Navigate to workbench: https://workbench.developerforce.com Download data set: https://raw.github.com/forcedotcom/SalesforceMobileSDK-Samples/master/CloudTunes-metadata/CloudTunes-data.txt 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com 1. Download the schema archive from https://github.com/forcedotcom/SalesforceMobileSDK-Samples/raw/master/CloudTunes-metadata/CloudTunes-force.zip. Don’t extract the contents, leave them zipped up. 2. Navigate to the Workbench at https://workbench.developerforce.com/ 3. Log in using your Force.com or Database.com credentials and confirm that Workbench may access your data. 4. Click Migration > Deploy. 5. Click Choose File (or Browse, depending on your browser), and select the downloaded ZIP file. 6. Enable Rollback on Error and Single Package. 7. Click Next and then Deploy. 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com 1. Download the data set from https://raw.github.com/forcedotcom/SalesforceMobileSDK-Samples/master/CloudTunes-metadata/CloudTunes-data.txt. 2. In Workbench, click Utilities > Apex Execute. 3. Paste in the contents of the data.txt file. Note: The data.txt file contains Apex calls that first delete any existing records in the Album and Track objects, and then repopulate those albums with album and track data. 4. Click Execute. 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com Step 3: Configure OAuth Using OAuth 2.0, the client application delegates the authentication to a provider (in this case Database.com or Force.com), which in turn issues an access token if the user successfully authenticates. Thereafter, as long as a valid access token accompanies all API interactions, you don’t need to worry about authentication. Before an application can use OAuth, you have to configure your environment. 1. Log into your Force.com instance as an administrator. 2. Navigate to App Setup > Develop > Remote Access. 3. Click New. 4. For Application, enter a name such as Test Client 5. For Email, enter your email address. 6. For Callback URL, enter sfdc://success 7. Click Save 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com 1. Download the data set from https://raw.github.com/forcedotcom/SalesforceMobileSDK-Samples/master/CloudTunes-metadata/CloudTunes-data.txt. 2. In Workbench, click Utilities > Apex Execute. 3. Paste in the contents of the data.txt file. Note: The data.txt file contains Apex calls that first delete any existing records in the Album and Track objects, and then repopulate those albums with album and track data. 4. Click Execute. 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com Setup OAuth 3MVG9rFJvQRVOvk4LFURMt.OKTqhzuW89TbidOsYuCJwI1V8fAzezUaFbLV8qXMx1XbILiQUfmzPbccdMqH7d 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com Explore the REST API Let's quickly explore the REST API using Workbench. This will give you a feel for some of the method calls in the REST API and their return values, and help make sense of the calls made in the following tutorials. 1. Go to Workbench at https://workbench.developerforce.com/, and log in again if needed. 2. Click Utilities > REST Explorer. 3. In the text area, enter the following /services/data/v24.0/query/?q=SELECT id, name, price__c FROM album__c 4. Ensure GET is selected, and then click Execute. 5. Now click Show Raw Response. The REST API call (to the query resource, with the query set as a parameter) returns a list of the albums in your database (in this case in the JSON format): 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com We already created the App, so can we simply run it from any Browser?...Run the App… Yes, after we authenticate. : 1. Log into your organization. 2. In the address bar in your browser, replace the string after .com with /apex/CloudTunes. For example, if you’re running on the na1 instance your URL would be https://c.na1.salesforce.com/apex/CloudTunes. 3. Press Enter and your app will run. 4. To see how the flow works on an HTML5 app, click on an album and then a track. Use the control in the upper left corner to return to the previous page. 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com

Moyez Thanawalla, mthanawalla@uslogix.com Partner: US Logix, mthanawalla@uslogix.com moyez@thanawalla.net @moyezthanawalla 972-630-8225 (google.voice) SMU 1984, EE, CS. (go ponies) We develop: Connectors and Interfaces to SFDC 11/28/2012 Moyez Thanawalla, mthanawalla@uslogix.com