AIHCE PDC 307 - American Industrial Hygiene Association · DEVELOPMENT - TALK TO… +MIS +Potential...
Transcript of AIHCE PDC 307 - American Industrial Hygiene Association · DEVELOPMENT - TALK TO… +MIS +Potential...
WELCOME
This session will begin promptly at the scheduled start time.
We appreciate your patience.
+ The meeting room is currently muted.
• Audio: Use your computer speakers, or dial 1-800-
768-2983; Access code 8460751
• Mute: Your line has been muted as a courtesy to
others.
• Q/A: There will be a designated Q/A session for
participants to submit questions to the speaker panel.
Please chat questions in.
• Handouts: Refer to confirmation and reminder
emails from AIHA’s eLearning Program to access
handouts provided to registrants.
Complete information about today’s webinar can be found on the webinar
webpage: http://www.aiha.org/education/MyCourses/Pages/16JAN1WB-
Welcome.aspx
Welcome!
So You Want to Make an App?
Mark Rollins, CIH, CSP
Accreditation Information
Individual participants seeking credit MUST:
• participate in the live Webinar or review the archive
• complete an online evaluation
If you are an individual participating with a group, you
must also submit a $35 fee*.
Board of Certified
Safety Professionals
American Board of
Industrial Hygiene
*FEE DOES NOT APPLY TO ELEARNING SUBSCRIPTION MEMBERS
CERTIFICATION MAINTENANCE CONT’D
*The deadline for participants to submit the processing fee and
online evaluation for the LIVE WEBINAR is *April 26, 2016
+ Credit will not be awarded and may not be claimed by individuals who
have not submitted the evaluation and processing fee (where
applicable).
+ Access and instructions for submitting the evaluation and processing
fee can be found on the webinar webpage:
http://spadmin.aiha.org/education/MyCourses/Pages/16JAN1WB-
Welcome.aspx
Allow 1-2 weeks after submitting the required materials to receive email
notification that your education transcript has been updated to reflect
course completion and credit awarded.
*eLearning Subscribers have until January 31, 2017 to submit their
evaluations for credit
So You Want to Make an App?
Tuesday, January 26, 2016
2:00 PM – 3:30 PM EST
Mark Lee Rollins [email protected]
SO YOU WANT TO MAKE AN APP?
Mark Lee Rollins
A-EHS
360 Canterbury Road
Brooklyn, CT 06234
SO YOU WANT TO MAKE AN APP?
Contents © Mark Rollins
Released under the Creative Commons provision
Attribution-NonCommercial 3.0 Unported CC BY-NC
You are free: • to Share - to copy, distribute and transmit the work
• to Remix - to adapt the work
Under the following conditions: • You must attribute the work in the manner specified by the
author or licensor (but not in any way that suggests that they
endorse you or your use of the work).
• You may not use this work for commercial purposes
ACKNOWLEDGEMENTS & DISCLAIMERS
+Opinions are the author's
+Not AIHA, AIHA CAC
+COI disclosure
• Writer for redOrbit.com
• Technical guidance to AppsForEHS.com
MARK L. ROLLINS, CIH, CSP
+MS - Environmental Science
+BS - Environmental Health
+30+ years experience in profession
+Member, ANSI Z9 Committee
+Member, AIHA Computer Committee
+21+ years of PDA/smart device use
Many EH&S professionals use a Smart Device. Based on input to the AIHA, and comments received from the "Smart Devices" PDC, some would like to learn how to create a basic App. This class will provide information on the tools and techniques available, and the various methods, to make a simple, yet fully-functional App.
10
OUTCOMES
+ Designed for the Smart Device user, who
wants to create a basic App
+ The course allows the attendees to: • Understand programming tools available
• Decide on their best options for the situation
• Create an App to suit basic needs
• Add enhanced functions if needed
SOLUTIONS, NOT ENDORSEMENTS
+We will be discussing general concepts,
usages and techniques • Use of product name is not an endorsement
+Don't care what you use; just want you
use it to its fullest extent
AGENDA
Development goals
Programming options
Languages
Web Apps
Simple App tools
FileMaker Apps
Advanced techniques
Examples
Open Discussion* * free to hang up
SMART DEVICES
+ History - early 1990s
• TRS 80, Sharp "Wizard", Apple Newton,
Psion, Palm; many, many others
• Evolutionary dead-ends
+ Limited functionality
• Black & white screens
• No communication / WiFi
• No GPS, camera, etc.
NOT VERY "SMART"
APPS BY SMART DEVICE OS (MAY 2011)
iOS
(Apple) - 348,000
Android
(Google) - 88,000
Blackberry
(Rim) - 27,000
Windows Mobile 7
(Microsoft) - 12,000
Source - App Genome Project
Does not count themes, ringtones or wallpapers
0
200,000
400,000
600,000
800,000
1,000,000
1,200,000
1,400,000
1,600,000
APPS BY SMART DEVICE OS (MAY 2015)
iOS
(Apple) - 1,400,000
Android
(Google) - 1,150,000
Blackberry
(Rim) - 130,000
Windows Mobile 7
(Microsoft) - 300,000
WatchOS
(Apple) - 3,500
0
200,000
400,000
600,000
800,000
1,000,000
1,200,000
1,400,000
1,600,000
Sources - App Genome Project; www.statista.com
Does not count themes, ringtones or wallpapers
APPS BY SMART DEVICE OS (JANUARY 2016)
iOS
(Apple) - 1,520,000
Android
(Google) - 1,270,000
Blackberry
(Rim) - 138,000
Windows Mobile 7
(Microsoft) - 385,000
WatchOS
(Apple) - 15,600
0
200,000
400,000
600,000
800,000
1,000,000
1,200,000
1,400,000
1,600,000
Sources - App Genome Project; www.statista.com
Does not count themes, ringtones or wallpapers
APP FOR ALMOST ANYTHING
CAC App listing
DEVELOPMENT GOALS
+Most important part of your project
• Questions
• Field types
• Rules
• Contracts
DEVELOPMENT QUESTIONS
+ Single or multiple smart devices?
+ Data on single/multiple computers?
+ How will data be merged?
+ Are relational properties needed?
+ What software on desktop computer?
+ Alter database directly on smart device?
+ Does the smart device need to print?
+ Share data with other smart devices?
+ Security/confidentiality issues addressed?
+ What is the software cost?
DEVELOPMENT - DEFINE GOALS
+ Avoid "Feature Creep"
+ Do you really need to:
• Auto-lookup PEL or TLV?
• Contain photos, sketches?
• Capture a signature?
• Calculate calibration average?
• Live link to desktop databases?
DEVELOPMENT - ALL COSTS
+Hardware
+Software (licenses)
+Training time
+Loss or damage
DEVELOPMENT - TALK TO…
+MIS
+Potential users
+Accounting
+Anyone else involved
APP PROGRAMMING - SKETCH IT OUT
+Design interface
• Work flow
• Identify issues
+Paper templates
SKETCH IT OUT
+Apps to help design Apps
UI Sketcher
Mocking Pad
Blueprint
APP FIELD TYPES
+Text
+Alphabet
+ Integer
+Date/Time
+Calculation/Summary
+ Image
27
DATA COLLECTION RULES – WHY?
+Speed up data entry, increase accuracy
• "We estimated that one person could
have saved up to 72 hours of data entry
time in one year"
TEXT
+ Letters Numbers Punctuation
• Memo, address,
descriptive fields
• Compare to
Alphabet and Integer
ALPHABET
+ Letters and
Punctuation only
• Not as flexible
as Text Field
• Employee name,
job title
INTEGER
+ Number only (+ - / etc.)
• Counts, quantity
• Anything defined
by only a number
DATE/TIME
+ Date / Time
+ Calendar format
+ Time in AM/PM or
24-hour time
CALCULATION/SUMMARY
+ Automatic data
entry
• Completion of
data during
collection
+ Total time,
average flow
1.7 1.5
1.6
IMAGE
+ Drawing,
photograph,
signature
• Sketch of
information
• Picture of
conditions
• Confirmatory
signature
PICKERS
+ Pop-up for a specific data with no words
• Date picker
• Time picker
• Picker of pictures of posture
RADIO BUTTONS
+ Multiple choice with one selection
• Personal or area
• Male or female
• AM or PM
• Respirator type
• Shift
CHECKBOX
+ Multiple choice with many selections
• Type(s) of PPE
• Sample
description
• Sample
conditions
POP-UP
+ List of choices
• Chemical names
• Departments
• Collection media
DEVELOPMENT ADVANTAGES
+ It's just about perfect
+Does even more work for you
+Accurate sync to desktop databases
• even wirelessly
DEVELOPMENT - PITFALLS
+Are other databases compatible?
• HR, chemical inventory, etc.
+Consultant leaves you high & dry
DEVELOPMENT TIPS
+Set all provisions in contract:
• Who owns the code,
• What bugs fixed for free, etc.
+Define project completely
+Who owns finished product?
See References
41
APP TO DESKTOP SYNCHRONIZATION
+ Transferring to desktop computer
+ Sync with either
• A desktop version of the same program
• Like Access or Dbase or FileMaker
+ Other Apps rely on simple tab- or comma-
delimited text transfer
+ Some link to desktop applications
WHY SYNC?
+One could print out the data and re-enter
it into the desktop computer; or read it
from the screen and re-type it
• But this is redundant
+Not what we want to be doing
+ Increases the chance of errers
CLOUD STORAGE
+ Instead of synching with computer
+Cloud storage of documents
• Can also be shared as a group
• A file is a "live" document that can be
changed by all with editing rights
+Use the "Cloud" to store files
THE "CLOUD"
+Not in one location
+Multiple sites offer redundancy
+Professional sites may be better than
your company's "cloud site"
+Check with IT!
CLOUDS' PRICING
+ Pricing varies
• Free to some point
• 5 gigabytes or more
+ Some offer extra memory if you get more
people to join
CLOUD STORAGE - PRO AND CON
+ Pros
• Cheap reliable storage is huge much data
• Convenience of accessibility everywhere
• Security
+ Cons
• Pricing can get very high
• Slow connection with access to large files
• Security
PROGRAMMING OPTIONS
+Many tools for simple to complex Apps
+Differ in features, platforms and cost
• Hard-core languages (for "real" Apps)
• Web Apps
• App Tools (to build simple "real" Apps)
• FileMaker "Apps"
• Other tools
EXPLANATION – "REAL" APPS VS OTHERS
+ Real Apps
• Found in iTunes and Google Play
+ Web Apps
• Deploy via Web server, run in a browser
+ FileMaker "Apps"
• Very complex App-like files
+ Other tools
• At least as far as data collection goes
REAL VS WEB VS FILEMAKER VS HTML APPS
+ If it...
• Looks like an App
• Swims like an App
• Quacks like an App
+ We'll call it an App
REAL APP ALTERNATE DISTRIBUTION
+Does not have to be put in the iTunes
store or the Google play store
+Ad hoc distribution
• May require coordination with among
other people and your IT department
• Don't want to create an App and run
afoul of these people
REAL APPS FROM HARD-CORE LANGUAGES
+iOS • Swift
• Xcode and Swift SDK
+Android • Android Studio
• Android Studio IDE and the Android SDK tools
BARE COSTS
+Developer account
• iOS - $99 year
• Android - $25
+Other costs include
• documentation
• graphic designers
• Web page for support
• maintenance updates
HARD CORE
PROS AND CONS OF "REAL" APP
+Pros
• Apps are fully functional
• Taking advantage of all features the
device has such as GPS, camera etc.
+Cons
• Although much easier to use that other
programming tools, the learning curve is
very steep
3RD PARTY DEVELOPERS
+ Fortunately, people that can develop an App
+ App with social feeds
• Photos, blog, etc.: $1,000 - $5,000
+ More detailed advertising App
• More functionality, etc.: $1,000 - $10,000
+ Full App
• Professional grade: $10,000 on up
WEB APPS
+Web application or Web app
+Client-server software
+Client (interface) in Web browser
+Just like any Web page
WHY WEB APPS?
+Web app are popular due to • ubiquity of web browsers
• convenience of using a web browser as a
client to update and maintain
+Avoids re-installing on dozens
(hundreds, thousands?) of users
+Cross-platform compatibility
WEB APP COMPLEXITY
+Simple HTML forms • Can make with MS Word
+Very complex "HTML 5" web pages • Look/function like a 'real" App
+Some App creation tools can make
HTML 5 web pages
WEB APP SIMPLICITY
+Make moderately-complex form
• date, notes, pop-up choices, etc.
+When done collecting data, a
"mailto" button sends data
• Need to create the mailbox
• Properly-formatted data can be
imported directly into database
WEB APP - IMPAIRMENT REPORTING
+FM Global "Red Tag"
system for sprinkler
system impairment
+"Web App", can be
accessed by any device
with an Internet
connection
Red eTag - FM Global
WEB APP - WORKER'S COMP CLAIMS
+Travelers Insurance
eCARMA system
+Worker's Compensation
workplace injury claims
eCARMA - Travelers
WEB APP PROS AND CONS
+Pros
• Apps can be cheap to create
• Deploy (almost) instantly on Internet
+Cons
• Complex HTML 5 programming can be
as expensive or difficult as an App
• Loss of Internet connection means
possible loss of data
SIMPLE APP TOOLS - FORM GENERATION APPS
+Apps can create forms for data collection
+Design is done on phone or tablet
+Difficult programming is already done • PDF reports
• Creating drop-down menu choices
• Camera and GPS support
FORM GENERATION APPS
+Several good form creation Apps
• Have not used any personally
+Some store the data on the App
company's servers
• Don't have a data connection, your
form may not work
FORM GENERATION APPS
+Pro • Very powerful features
• PDF reports, sync with other databases
+Con • Pricing
• Longevity not guaranteed
FORM GENERATION APPS - LONGEVITY NOT GUARANTEED
SPECIAL CASE - EVERNOTE
+Universal Data/Project Management
• Make checklists
• Record voice memos
• Organize "notebooks"
• Photos, business cards, handwritten
notes, files, presentations
EVERNOTE CHECKLISTS
+ EverNote checklists are very powerful
• Create custom forms
• Save
• Share
+ Nowhere near the power of a real App
• But quite useful
• And free
WEB-BASED APP GENERATION TOOLS
+ Not a programmer?
+ Can't afford one?
+ Fortunately there are a few tools
• Many Web-based
WEB-BASED APP GENERATION TOOLS
+ Feature sets run the gamut
• GPS, blog, e-commerce, push notification,
menus, customer loyalty, etc.
+ Pricing from "free" to "on up"
• You get what you pay for
+ "Free" usually means your App is "branded" with
their logo
WEB-BASED APP GENERATION TOOLS
+Good for things like • Business promotion
• AIHA Local Section reference source
• Company-specific information
• SIG communication portal
+Not going to make an auditing App • Well...
WEB-BASED APP GENERATION TOOLS
+Some Web-based tools support forms • Direct form support
• Link to a Google Form
+You could make an auditing App
WEB-BASED APP GENERATION TOOLS
+ Create with "drag and drop" interface
+ None to minimal programming knowledge
+ Prices vary
• "$0" to $249 per month
+ Different features, some you may not need
• Beer menu listings
• Which band is playing
• Customer loyalty cards
WEB-BASED APP GENERATION TOOLS
Name Website Cost
Appy Pie www.appypie.com $0 - $33 /mo
App Machine www.appmachine.com $49 - $69/mo
Bizness Apps www.biznessapps.com $60 / mo
Infinite Monkeys www.infinitemonkeys.mobi $9 - $39 /mo
Apps Builder http://www.apps-builder.com $49 - $249 /mo
Phone Gap http://phonegap.com $0
MobAppCreator http://www.mobappcreator.com $8 - $167 /mo
MobInCube www.mobincube.com $0 - $99 /mo
uBuildApp http://ubuildapp.com 1-time $329
como diy.como.com $41 - $57 /mo
WEB-BASED APP GENERATION TOOLS
+ Many function as "data aggregators"
• Pull in Web data
• From existing main Web page
• Present in small, App format
+ Or from a hidden page
• Not accessible from other links
KEEP HIDDEN WEB PAGES HIDDEN
+ Instruction online to create a "Robots.txt" file
+ Google, possibly others, will not index
HOW TO START MAKING YOUR APP
+ Review features
• Plan for the future
+ Create account
+ Go to a starting design
• Add parts
• Preview
+ Pay when complete
SAVE MONEY
+ Many of the Web-based App creation
tools charge a not-insubstantial fee to
list the completed App in iTunes and
Google Play
+ If you have an account, can save a lot
FILEMAKER GO
+Can create custom layouts
+Fastest way to go from • desktop database to
• mobile prototype to
• testing to deployment
+Also can be a significant time savings
+Can be intermediary data container to
essentially any database
FILEMAKER GO
+ Very easy to program, relatively speaking
+ Access all the goodies in your device
• GPS, camera, audio recording etc.
+ All "heavy lifting" is programmed in
• creating a PDF report
• printing from your phone
• capturing a signature
FILEMAKER ADVANTAGES
+Drop-down menu choices • Can't misspell Benzo(b)fluoranthene
+No calculation errors • enter numbers
• end up with total volume or time
+No transcription errors • Data transferred to desktop database
MEDIA ID
+ Include photo of media ID • One of the few places for you to
make a transcription error
+ When lab calls, check + "Was that 1002AA or 1022AA?" 1002AA
AUTO REPORTS
+A summary for posting in
a public area is produced • Personal info removed
+Employee letter • Auto-signed and dated
UNPARALLELED DOCUMENTATION
FUTURE PLANS
• More environmental parameters
• Signature from person being sampled
• Basic auto-report generation
• Bar Code scanner support
FUTURE PLANS
• Drone sampling!
ADVANCED APP TECHNIQUES
+Most of these are supported by one or
more of the Web-based App creation tools
• Private chats
• Share documents or photos
• Password protect App, so only
authorized users can see it
ADVANCED APP TECHNIQUES
+Collect dues and meeting cost payments
• Credit card; PayPal for extra security
• Schedule meetings with members
+ iBeacon support
ADVANCED APP TECHNIQUES
+ iBeacon support
+ Introduced by Apple in mid-2013 • Bluetooth Low Energy (BLE) technology
+ Any Smart device with BLE (BlueTooth 4) • any current iOS device
• Android with BLE running 4.3 or higher
+ Allow apps on mobile devices to respond
automatically when a user gets close by
iBEACONS –TWO TYPES OF FUNCTIONS
• Geofencing / Region Monitoring
– signal an app when someone enters or leaves
a defined geographic area
– works when an app is not running
• Proximity Ranging
– determine how close someone is to a beacon
– only works when app is running in foreground
WHERE AM I?
Sort of like "internal GPS" for
a store, factory, office or stadium
CUSTOM MEASSAGES VIA iBEACON
• App can receive data via the Internet,
when near an iBeacon
– Distance, delay time, and type of message(s)
can be adjusted and changed
FIVE SCENARIOS – WHAT DO WE WANT TO CREATE TODAY?
+ Inspection checklist
+ Ergonomic survey
+ Committee
+ IH Data collection
+ Improve PPE
CREATE INSPECTION CHECKLIST
+Assuming it's not too detailed
• Basic "check the box"
+Create checklist with EverNote
INSPECTION CHECKLIST
+Syncs automatically
with smart device
• Can email to others
INSPECTION CHECKLIST
97
Create simple checklist Sync onto smart device
Retain or print as documentation,
costs $0
Complete form in situ deploy
Sync back to desktop
ERGONOMIC SURVEY
+Create a Web page (HTML doc)
• This is your ergonomic survey
+Connect to website via data connection
ERGONOMIC SURVEY
+Form can be posted on a Web address • Or Web page served by the laptop
+Web Browser on smart device connects
to and views Web form • Can also store form on device
+Roam while filling out the Web form
+Less obtrusive data collection
ERGONOMIC SURVEY
+More rapid deployment - it's just HTML
• Develop with a word processor
• Able to edit in the field
ERGONOMIC SURVEY
+"Done" button is a "mailto" button
• E-mail data to a pre-defined address
Follow-up: yes no
Done
ERGONOMIC SURVEY
+E-mail address set up for receipt of
sampling data only
+Set up records database to import data
from e-mail message • Done ahead of time; tested, debugged
+Almost no manual data entry • Reduce transcription errers
ERGONOMIC SURVEY
Ergonomic survey set up
as HTML Webpage
Page served on Wi-Fi Laptop or put
on Website
Smart device reads form with Web browser
Form has a "mailto" function
Each completed form sent by e-mail to a pre-defined account
Form completed in field
Database set up to import data from
e-mail messages; fast / cheap / easy
COMMITTEE APP
+ You want a committee or SIG App
• or Local Section, Industry Group
+ App will aggregate news, group updates
+ May want social media feeds as well
• Twitter, photos, blog
+ Can add other functions
• Dues payment, voting, in-App texting
+ The sky is the limit
COMMITTEE APP
+ Good news is a lot of work is already done
+ Calendars, web pages, social media can all feed
into some of the basic App creation methods
+ You just have to define what you want to do
+ And what your budget is • Well under $500 per year
COMMITTEE APP
+ Limit access with password or login
• Can be a user list (difficult to manage)
• Or a single login (easily compromised)
• Single changes monthly (good compromise)
+ Could add real social interaction
• iBeacon technology - committee members
get an alert within 25 feet of each other
COMMITTEE APP
COMMITTEE APP
Create Committee App
Vastly improved communication and output
App is a simple aggregator of existing data
iBeacon
blog
photos
Calendar
Members
Other Features
Pay Dues Reports
IH DATA COLLECTION
+Assumes App is already:
• Created
• Installed
• Debugged
• Up and running
IH DATA COLLECTION
+Record all pertinent data
• Date and times
• Material sampled
• Employee's name
• Calibration data, etc.
IH DATA COLLECTION
+Once samples are set up
• Add alarms to check samples
+ In the field, a question comes up about
sampling another material
+Look up methods reference
• Website
• E-book you've created or downloaded
IH DATA COLLECTION
+At conclusion of sampling, record stop
time and add comments
• Auto-calculate total minutes or volume
+Send an e-mail to the lab notifying
samples are coming
IH DATA COLLECTION
+Database auto-enters data into lab's form
• Save as PDF
• Sign PDF
• E-mail to lab
+Track shipment
IH DATA COLLECTION
Software set up for
data collection
All pertinent data collected in situ
Software records all data related to
IH sampling; when done, software
calculates values
Sample submission
form e-mailed
to lab
Return to office, data is synced with
desktop computer; faster, easier, accurate
Track shipment
SMART PPE APP
+Create a system that alerts employees
• Based on location inside the facility
• Based on the PPE (personal protective
equipment) that is needed in the area
SMART PPE APP
+Areas and regions are mapped out
• Proper PPE identified years ago
+App and iBeacons set up
+Warn employees:
• When they enter a certain area
• Time until alert can vary by area
• Actual alert can be custom
SMART PPE APP
+Employee (X) enters high noise area
+App warns to use PPE after 30 seconds
Warning
Zone
High
Noise
Area
X
SMART PPE APP
Review PPE Use areas
Define warning delays Program App
Employee use of PPE increases
Program and deploy iBeacons
Why Apps?
Time is money - Benjamin Franklin
Time is an illusion - Albert Einstein
Money is not gained by losing Time - Portuguese Proverb
Time is what we want most, but, what we use worst - William Penn
Time flies like an arrow; fruit flies like a banana - Anthony Oettinger
Make use of Time, let not advantage slip - William Shakespeare
I shall not waste my days... I shall use my Time - Jack London
1) DICTATION BEATS TYPING
+Efficient way to describe the ventilation
system or personal protective equipment
+Although not perfect, it's pretty good • May have to fix typo or three
+Faster!
2) LESS ADDITIONAL WORK
+No transcribing
+No copying / pasting into main database
+ It's can be a one button click import to
pull data from the Smart Device
3) SEAMLESS DATA INTEGRATION
+Photographs can be included • Can't mismatch picture and event
+Exposure limits can be auto-entered • Don't have to spend time looking up
+Signature, dates, calibration data • Carry through automatically to final summary
4) NO FORMS TO FILL OUT
+Lab form can be generated inside App • Pack samples up
• Print the form in the field
• Email to the lab as well
+No errors on laboratory form