android.appwidget
Class AppWidgetHost

java.lang.Object
  extended by android.appwidget.AppWidgetHost

public class AppWidgetHost
extends Object


Constructor Summary
AppWidgetHost(Context context, int hostId)
           
 
Method Summary
 int allocateAppWidgetId()
           
protected  void clearViews()
           
 AppWidgetHostView createView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget)
           
static void deleteAllHosts()
           
 void deleteAppWidgetId(int appWidgetId)
           
 void deleteHost()
           
protected  AppWidgetHostView onCreateView(Context context, int appWidgetId, AppWidgetProviderInfo appWidget)
           
protected  void onProviderChanged(int appWidgetId, AppWidgetProviderInfo appWidget)
           
 void startListening()
           
 void stopListening()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AppWidgetHost

public AppWidgetHost(Context context,
                     int hostId)
Method Detail

startListening

public void startListening()

stopListening

public void stopListening()

allocateAppWidgetId

public int allocateAppWidgetId()

deleteAppWidgetId

public void deleteAppWidgetId(int appWidgetId)

deleteHost

public void deleteHost()

deleteAllHosts

public static void deleteAllHosts()

createView

public final AppWidgetHostView createView(Context context,
                                          int appWidgetId,
                                          AppWidgetProviderInfo appWidget)

onCreateView

protected AppWidgetHostView onCreateView(Context context,
                                         int appWidgetId,
                                         AppWidgetProviderInfo appWidget)

onProviderChanged

protected void onProviderChanged(int appWidgetId,
                                 AppWidgetProviderInfo appWidget)

clearViews

protected void clearViews()


Copyright © 2008-2012. All Rights Reserved.