Download presentation
Presentation is loading. Please wait.
Published byScarlett McDowell Modified over 9 years ago
1
DataLogger For Android based on Cosm.com Presented by: Pang Zineng
2
What it does? Environment DataDiagram (a Feed) (a Picture) [Share] Your World
3
How it works? User Feed Data 0..* Diagram 1 The User All feeds from this user
4
How it works? User Feed Data 0..* Diagram 1 All data from this feed
5
How it works? User Feed Data 0..* Diagram 1 The diagram of this data
6
Structure User Interface CacheDatabase External Cosm Hardware C C C C C Notification Controller Service C Lightweight Controller
7
What is inside the components? CacheDatabase External Cosm Hardware Service
8
SharedPreferences LocationManager, Email app, Downloader SQLite (built-in) Device Info, Network, MediaRecorder, Sensor HTTP, Cosm API (based on JPachube) NotificationManager, Services Cache Database External Cosm Hardware Service What is inside the components?
9
How different components run Create data Update data Share data Procedure of Creation
10
Create one data Sensor table exists Load and display sensor list Scan for available sensors Create data N Y Cosm Database Hardware Database Create one feed Database Save the new data Database Save sensors info Database
11
Procedure of Update Get new data Internet connected Offline data exists Upload offline data Save new data Upload new data N Y Y N Cosm Hardware Database Cosm Background Service running Service Update notification Service
12
Procedure of Sharing Download diagram and statistic Cosm Enter one Data Database Display diagram Hardware External Cache Email app exists External Share diagram via email External Cache Y N fails
13
Q & A If any…
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.