Best code examples for Android AppWidgetHost class (android.appwidget.AppWidgetHost)

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Android AppWidgetHost class.
You can now enable Codota on your own code to easily search and navigate your Java codebase.

Android AppWidgetHost examples from Open Source projects
This code example shows how to use the following methods: createView, deleteAppWidgetId
174:	mAppWidgetHost.createView(getBaseContext(), appWidgetId, providerInfo); 
-
190:	mAppWidgetHost.deleteAppWidgetId(mAppWidgetId); 
Full Snippet Info
6
CodeRank
This code example shows how to use the following methods: deleteHost
299:	mAppWidgetHost.deleteHost(); 
Full Snippet Info
2
CodeRank
This code example shows how to use the following methods: startListening
145:	mAppWidgetHost.startListening(); 
Full Snippet Info
5
CodeRank
This code example shows how to use the following methods: deleteHost
293:	mAppWidgetHost.deleteHost(); 
Full Snippet Info
2
CodeRank
This code example shows how to use the following methods: deleteHost
237:	mAppWidgetHost.deleteHost(); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: deleteHost
297:	mAppWidgetHost.deleteHost(); 
Full Snippet Info
2
CodeRank
This code example shows how to use the following methods: allocateAppWidgetId, createView
43:	id = host.allocateAppWidgetId(); 
-
49:	AppWidgetHostView hostView = host.createView( 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: deleteHost
238:	mAppWidgetHost.deleteHost(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: startListening
37:	mAppWidgetHost = new AppWidgetHost(getApplicationContext(), APPWIDGET_HOST_ID); 
-
39:	mAppWidgetHost.startListening(); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: deleteAppWidgetId
110:	AppWidgetHost host = new AppWidgetHost(this, 1); 
111:	host.deleteAppWidgetId(appWidgetId); 
112:	host.deleteAppWidgetId(appWidgetId); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: deleteHost
270:	mAppWidgetHost.deleteHost(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: createView
143:	AppWidgetHostView hv = host.createView(this, id, info); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: deleteHost
241:	mAppWidgetHost.deleteHost(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: allocateAppWidgetId
89:	AppWidgetHost host = new AppWidgetHost(packageContext, 1024); 
-
91:	return host.allocateAppWidgetId(); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: deleteHost
243:	mAppWidgetHost.deleteHost(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: createView
136:	AppWidgetHostView hostView = host.createView(WidgetShowActivity1.this, 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: startListening
522:	mAppWidgetHost.startListening(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: deleteHost
243:	mAppWidgetHost.deleteHost(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: deleteAppWidgetId
487:	AppWidgetHost host = new AppWidgetHost(context, 1); 
488:	host.deleteAppWidgetId(appWidgetId); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: startListening
519:	mAppWidgetHost.startListening(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: startListening
364:	if (mAppWidgetHost != null) mAppWidgetHost.startListening(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: deleteHost
252:	mAppWidgetHost.deleteHost(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: deleteHost
265:	mAppWidgetHost.deleteHost(); 
Full Snippet Info
3
CodeRank
This code example shows how to use the following methods: deleteHost
243:	mAppWidgetHost.deleteHost(); 
Full Snippet Info
4
CodeRank
This code example shows how to use the following methods: deleteHost
245:	mAppWidgetHost.deleteHost(); 
Full Snippet Info
3
CodeRank
Related Android AppWidgetHost Questions & Answers:
See Code Examples for Android AppWidgetHost Methods: