title: How can you create a widget inside an android application? (Use App Widget Host class?)
body: <p>I need to create an application that <strong>contains</strong> multiple widgets.  These are not desktop widgets.  I need to be able to interact with these widgets as if they were desktop widgets, but they need to be encased inside a larger application.  (Each widget has it's own functionality and behavior when clicked.)</p>
  
  <p>Is this possible in android?  Or do I need to create an application and create each object that I'd like to behave like a widget actually as a view?</p>
  
  <p>Ex. The parent app is for a car.  Example of "in app" widgets are: oil change history (list of last three oil change dates visible, clicking on a date will open a scan of the receipt, etc.), tire pressure monitor, lap speed history (shows last four laps, pinching and expanding will show more than four), etc.</p>
  
  <p>Can I make each of these objects widgets?  Or do they have to be views inside the app?</p>
  
  <p><strong>Edit:</strong> The Android developer's <a href="https://developer.android.com/guide/topics/appwidgets/host.html" rel="nofollow">App Widget Host page</a> mentions: "The AppWidgetHost provides the interaction with the AppWidget service for apps, like the home screen, that want to embed app widgets in their UI."<br>
  Has anyone created their own App Widget Host or worked directly with this class?</p>