Droid Twit Architecture By Rohit Ghatol
Screen Flow OAuth Tweet Settings Main Screen
Twitter API Service App DB App DB Phone Boot Receiver Phone Boot Receiver Low Battery Receiver Low Battery Receiver Alarm Receiver Alarm Receiver Notification
Twitter API Service App DB App DB Phone Boot Receiver Phone Boot Receiver Low Battery Receiver Low Battery Receiver Alarm Receiver Alarm Receiver Notification
Twitter API Service App DB App DB Phone Boot Receiver Phone Boot Receiver Low Battery Receiver Low Battery Receiver Alarm Receiver Notification First Time application loads Enable Alarm Manager
Twitter API Service App DB Phone Boot Receiver Phone Boot Receiver Low Battery Receiver Low Battery Receiver Alarm Receiver Alarm Receiver Notification Read Tweets Write Tweets
Twitter API Service App DB Phone Boot Receiver Phone Boot Receiver Low Battery Receiver Low Battery Receiver Alarm Receiver Notification Alarm Triggered, ask Service to fetch new tweets, if new tweets found notify
Twitter API Service App DB App DB Phone Boot Receiver Low Battery Receiver Alarm Receiver Alarm Receiver Notification When Phone is booted, the Phone Boot Receiver, ensure Alarm Manager is registered and so is Low Battery Receiver
Twitter API Service App DB App DB Phone Boot Receiver Phone Boot Receiver Low Battery Receiver Alarm Receiver Alarm Receiver Notification When Battery is low, lets ensure Alarm Manager is disabled till battery looks good