Reputation: 14066
how can i do that? is there a way to do it without a context: (getSystemService(Context.WINDOW_SERVICE)).getDefaultDisplay().getWidth())
Upvotes: 1
Views: 629
Reputation: 1006574
App widgets have access to a Context
-- it is passed into the AppWidgetProvider
.
Upvotes: 1