getting imageview from appwidget

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

getting imageview from appwidget

Postby fakeSchwiz » Wed May 27, 2009 2:41 am

Ok I am extremely new to android so please bare with me. I am working on a picture frame like widget that loads pics from the net and shows them in the widget, but I can't access the imageview in my layout. The way I understand it is you call Dialog.this.findViewById(id) but for some reason I get the error 'No enclosing instance of the type Dialog is accessible in scope' in my appwidgetprovider class. How do I access my imageview and other view resources from within a widget?
fakeSchwiz
Freshman
Freshman
 
Posts: 7
Joined: Tue Mar 10, 2009 5:48 pm

Top

Return to View, Layout & Resource Problems

Who is online

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