Quantcast
Channel: xda-developers - Android Q&A, Help & Troubleshooting
Viewing all articles
Browse latest Browse all 18891

[Q] How to use AppWidgetProvider in my application?

$
0
0
Im now developing a simple widget.. Its really new for me, Im not really understand on how to use the AppWidgetProvider

My current widget is only displaying image which it will directly link to a website when user click it..

So, my question is, which of these should I use in AppWidgetProvider ?

As we know there are 4 of them..

onDeleted(context)
onDisabled(context)
onUpdated(context)
onReceived(context)

can u explain a bit more about it? and the steps for me to make the code for linking the image to website.

thanks friends

Viewing all articles
Browse latest Browse all 18891

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>