Widgets vs. Apps: The programmatic difference

General topics about the Android-Platform itself.
Coding issues please to the subforum right below.

Widgets vs. Apps: The programmatic difference

Postby kraftydevil » Tue Dec 07, 2010 8:00 pm

So what's the difference between apps and widgets from a programming perspective?

My understanding is that an app is standalone...ie you don't another component to make an app.

But what about widgets?

Obviously you need a host app to house the widget...

But the definition of a widget found on http://developer.android.com/guide/topics/appwidgets/index.html makes me question what a widget needs to live:

"App Widgets are miniature application views that can be embedded in other applications"

So that makes me wonder...is a widget just another view of some other application besides the host? Does all widget code exist in one place or is it split somehow?

I ask because when something is called a "view" in software development, it means it's usually just an interface to the model.

So my question is, where is the model located for an app widget? Is there like a main application or is it standalone like an app?
kraftydevil
Freshman
Freshman
 
Posts: 3
Joined: Fri Nov 26, 2010 6:24 am

Top

Return to General

Who is online

Users browsing this forum: Exabot [Bot] and 3 guests