90 likes | 202 Views
Discover the architecture behind a Twitter integration application developed by Rohit Ghatol. This app utilizes OAuth for authentication and features various components including a phone boot receiver, low battery monitor, and an alarm manager to enhance functionality. Learn how these elements interact to manage tweet notifications, service alarms, and database operations efficiently. Gain insight into how the application retrieves new tweets and ensures optimal performance while addressing low battery situations.
E N D
Droid Twit Architecture By Rohit Ghatol
Screen Flow OAuth Main Screen Tweet Settings
Twitter API Phone Boot Receiver Low Battery Receiver Service Notification Alarm Receiver App DB
Twitter API Phone Boot Receiver Low Battery Receiver Service Notification Alarm Receiver App DB
Twitter API Phone Boot Receiver Low Battery Receiver Service Notification Alarm Receiver App DB First Time application loads Enable Alarm Manager
Twitter API Phone Boot Receiver Read Tweets Low Battery Receiver Service Notification Alarm Receiver Write Tweets App DB
Twitter API Phone Boot Receiver Low Battery Receiver Service Notification Alarm Receiver App DB Alarm Triggered, ask Service to fetch new tweets, if new tweets found notify
Twitter API Phone Boot Receiver Low Battery Receiver Service Notification Alarm Receiver App DB When Phone is booted, the Phone Boot Receiver, ensure Alarm Manager is registered and so is Low Battery Receiver
Twitter API Phone Boot Receiver Low Battery Receiver Service Notification Alarm Receiver App DB When Battery is low, lets ensure Alarm Manager is disabled till battery looks good