Tracking & Login Data persistence 17.04.2013. User tracking.

Slides:



Advertisements
Similar presentations
Staying in Sync with Cloud 2 Device Messaging. About Me Chris Risner Twitter: chrisrisner.
Advertisements

Buffers & Spoolers J L Martin Think about it… All I/O is relatively slow. For most of us, input by typing is painfully slow. From the CPUs point.
Creating a Login Process Creating a users table and a login form that denies access to unauthorized users.
Services Course Windows Live SkyDrive Participant Guide.
Cookies, Sessions. Server Side Includes You can insert the content of one file into another file before the server executes it, with the require() function.
Services Course Windows Live SkyDrive Participant Guide.
 data/data-storage.html#pref data/data-storage.html#pref 
® Microsoft Office 2010 Appendix A: Introduction to SkyDrive and Office Web Apps.
HNA-Drive Familiarization Presentation. From the address bar in your preferred internet browser, navigate to Site supports: Internet.
CMSC 414 Computer and Network Security Lecture 21 Jonathan Katz.
1 - Oracle Server Architecture Overview
IPhone 4 The iphone is a mobile phone with a lot of extras, theses include a camera video recording and MP3 player not to forget the mobile web browsing.
School location collector
What is it? CLOUD COMPUTING.  Connects to the cloud via the Internet  Does computing tasks, or  Runs applications, or  Stores Data THE AVERAGE CLOUD.
Bonrix Track & Trace System A GPS Based Vehicle Tracing System (SMS, GPRS/3G, Offline) Bonrix Software Systems Ahmedabad (INDIA) Website:
Web Proxy Server Anagh Pathak Jesus Cervantes Henry Tjhen Luis Luna.
Introduction to EBSCOhost E-Books Access to thousands of e-books! Available 24/7!
Smartphones. Lesson Objectives To understand and demonstrate an understanding of Smartphones.
How To Batch Register Your Students
Welcome To. Improving Remote File Transfer Speeds By The Solution For: %
Data Persistence in Android
REAL TIME GPS TRACKING SYSTEM MSE PROJECT PHASE 2 PRESENTATION Bakor Kamal CIS 895.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Student Financial Assistance. Edconnet SFA to the Internet: EDconnect Software Session 16.
“this discovery of yours will create forgetfulness in the learners’ souls, because they will not use their memories; they will trust to the external.
Phones and fieldTask. Session Objective Be familiar with: – selecting smart phones for a survey, – configuring them – and using them – fieldTask (c) Smap.
Welcome to Keyboarding Pro DELUXE ® Get Started Get Started Create Your Student Record Create Your Student Record The Main Menu The Main Menu Send Files.
CS378 - Mobile Computing Persistence. Saving State We have already seen saving app state into a Bundle on orientation changes or when an app is killed.
Your Interactive Guide to the Digital World Discovering Computers 2012.
Mehdi Ghayoumi Kent State University Computer Science Department Summer 2015 Exposition on Cyber Infrastructure and Big Data.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
By Sarah. * The battery stays on longer. * Has better screen. * More memory * faster max data speeds * Thinner * Much lighter * Much smaller * Much more.
GOAL User Interactive Web Interface Update Pages by Club Officers Two Level of Authentication.
GPS Provider:  GPS signal Network Location Provider:  Cell ID  Wi-Fi.
 Registry itself is easy and straightforward in implementation  The objects of registry are actually complicated to store and manage  Objects of Registry.
What is it? CLOUD COMPUTING.  Connects to the cloud via the Internet  Does computing tasks, or  Runs applications, or  Stores Data THE AVERAGE CLOUD.
Android - Location Based Services. Google Play services facilitates adding location awareness to your app with automated location tracking Geo fencing.
FriendFinder Location-aware social networking on mobile phones.
FriendFinder Location-aware social networking on mobile phones.
How Your Customers Will Pay Online & by Phone
Internet Safety and Productivity Tips Presented by ITS Kerri Sorenson and Sean Hernandez December 11, 8:30-9:00 am.
Chapter 2: Finding and Organizing Information – Lesson 5 © 2010, 2006 South-Western, Cengage Learning.
Rich Internet Applications 9. HTML 5 and RIAs. HTML 5 Standard currently under development by W3C Aims to improve the language with support for the latest.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
Kids’ GPS watch Q50 Q523 Step by step guide Apply for the watch ID starting with 145.
Microsoft Office 365 x Start Here Robert Clark, LucidPointe January 27, 2015 Advisors4Advisors Office 365 Webinar Series.
Maryknoll Wireless Network Access Steps for Windows 7 As of Aug 20, 2012.
1 Philips EvoKit Lumen Selection App User Manual * Philips Lighting April 20, 2016 *Can be used for Philips EvoBase as well.
START Application Spencer Johnson Jonathan Barella Cohner Marker.
Mobile Application Development Data Storage. Android provides several options for you to save persistent application data. The solution you choose depends.
SMART PULSE SURVEY USER MANUAL.
Phonegap Bridge – Storage CIS 136 Building Mobile Apps 1.
Data Storage in Android Димитър Н. Димитров. Why talk about data? Why not 3D graphics or network connectivity? Data as fundamental term in computer science.
WHAT IS CLOUD COMPUTING? Pierce County Library System.
Office 365 Help Desk Troubleshooting Guide
File Management in the Cloud
PMAY- G GEO Tagging Manual
Deia Roberts Educational Specialist
Discovering Computers 2012: Chapter 8
Android Application Data Storage 1.
PDA & Mobile Verification Solution Presentation
Quick Guide 1. Sign In 2. My Apps 3. Update Password 4. App Library
Services Course 9/9/2018 3:37 PM Services Course Windows Live SkyDrive Participant Guide © 2008 Microsoft Corporation. All rights reserved.
Network Services.
Security Guard Reporting Android App
Appendix A: Introduction to SkyDrive and Office Web Apps
Install and Run the Kronos Mobile App
It’s About Time – ScheduleMe Outlook Add-In for Office 365 Enables Users to Schedule Meetings Easily with People Outside of Your Organization Partner Logo.
Cloud computing.
Moodle Mobile offline features Daniel #mootus16.
Presentation transcript:

Tracking & Login Data persistence

User tracking

Positioning methods MethodProsCons Cell tower triangulation - works indoors - works almost globally - pretty accurate in cities (100 m) - inaccurate in rural areas (1-10 km) Cell ID database - no receiver needed on device - works almost globally - good accuracy in cities - 3rd party database needed for IDs - inaccurate in rural areas Global Positioning System - works globally - good, consistent accuracy (10 m) - commonly supported - doesn't work indoors - weak accuracy in cities ('canyon effect') - consumes battery life - slow initialization (30-60 s) Assisted GPS- speeds up initialization - improves accuracy - not commonly supported on devices other than smart-phones - lack of standards - requires internet connection Wireless positioning - works indoors - accurate in cities - WiFi receiver needed on device - doesn't work in rural areas or areas without WiFi - 3rd party database needed for IDs

Many methods – one location Each method provides some estimate Determining which to use is a trade-off -Accuracy -Speed -Battery-efficiency

Positioning accuracy Location estimates not consistent in accuracy The most recent location not always the best How to decide which one to use?

Positioning accuracy When validating the accuracy consider -Timestamps of the results -Claimed accuracy of the results -Positioning method used

Positioning accuracy

If user is moving User location has to recorded every 2-4 s Sending each point individually would create too many connections

If user is moving Data needs to be sent in batches: OK 20 points ………………………………. Create JSON ArraySend to ServerRemove from queue

User tracking 1.Start tracking 2.Start desired positioning methods 3.Maintain a "current best estimate" of location by filtering out new, but less accurate estimates 4.Take advantage of the last best location estimate 5.Stop listening for location updates

User tracking

GPS is power-hungry 3-4 hours -Symbian 5-8 hours -Windows Phone -Android -iPhone

GPS is power-hungry Reduce the size of the window of location updates Set the location providers to return updates less frequently Restrict a set of providers -GPS only when needed

GPS is power-hungry

User tracking Start Tracking LOCATION PROVIDER GPS/Network/ WiFi Server Uploads points to Server Saved Successfull y ? OK Delete points Error Resend The points Adds points into the Queue Points Queue MOPSI PHP, MySQL Reply

User login

Checking user credentials User: Radu Pass: ***** Login OK FAIL OK Attempt to login with cached data Load user settings Attempt to login on the server Check if the credentials exist Warning FAIL Update cached data with valid credentials Input username and password User credentials need to be cached for offline mode and for fast login

user name & password Application Start Remember me? Login Screen Cache User Online ? No Yes Connect to Server Existing User? Login Successful Login Fail Welcome Screen No Yes No Update in memory user name & password Yes

Data persistence

Private data In appication’s local folder Cannot be read by other apps or when connecting phone to computer Usually limited storage space (hundreds of MB) For storing user settings, private data and local databases

Public data In phone’s file system Can be read by any application or by connecting phone to computer Large storage space (usually several GB) To be used for storing large data (photos, sounds, video)

Options for data storage Shared Preferences -Store private primitive data in key-value pairs Files -Store private data on the device memory -Store public data on the shared external storage SQLite Databases -Store structured data in a private database Network Connection -Store data on the web with your own network server