Building a Mobile Employee Directory – Step 7: Create an App Widget with it’s own ContentProvider & Service.
Continuing with the mobile employee directory example, I’ve added three App Widgets to embed information on the phone’s main screen. Create EmployeeWidgetProvider (Changes every 30 minutes, with a random selection. Click to view Employee in DetailActivity.) Create EmployeeWidgetProvider2 & EmployeeWidgetService2 (Changes when clicked, with a random selection) Create EmployeeStackWidgetProvider & EmployeeStackWidgetService (Changes when scrolled. Click [...]