DataLogger For Android based on Cosm.com Presented by: Pang Zineng
What it does? Environment DataDiagram (a Feed) (a Picture) [Share] Your World
How it works? User Feed Data 0..* Diagram 1 The User All feeds from this user
How it works? User Feed Data 0..* Diagram 1 All data from this feed
How it works? User Feed Data 0..* Diagram 1 The diagram of this data
Structure User Interface CacheDatabase External Cosm Hardware C C C C C Notification Controller Service C Lightweight Controller
What is inside the components? CacheDatabase External Cosm Hardware Service
SharedPreferences LocationManager, 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?
How different components run Create data Update data Share data Procedure of Creation
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
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
Procedure of Sharing Download diagram and statistic Cosm Enter one Data Database Display diagram Hardware External Cache app exists External Share diagram via External Cache Y N fails
Q & A If any…