Android Widget RemoteView ImageButton setImageSource -


would use image button in widget layout. want image clickable, clicking on image change image. not sure how set in widgetprovider remoteview. know how this? how change image within onreceive in widget provider? thanks

thanks

specifically how change image within onreceive in widget provider?

call setimageviewbitmap(), setimageviewresource(), or setimageviewresource() on remoteviews in onupdate() method, or in intentservice invoke onupdate() method, or anywhere else using appwidgetmanager update app widget.


Comments

Popular posts from this blog

delphi - TJvHidDeviceController "DevicePath" always showing "\" -

web applications - Making Python scripts work on MAMP -

cocoa - Converting NSString to keyCode+modifiers for AXUIElementPostKeyboardEvent -