Android Widget implementation

后端 未结 3 1951
名媛妹妹
名媛妹妹 2021-01-26 02:22

Hi I apologise in advance if this question is daft. I am fairly new to Android programming and I learn fast.

Any ways I have just created a Task Reminder application an

相关标签:
3条回答
  • 2021-01-26 03:06

    Without more information about what your app does all I can really do is point you to the documentation on widgets which would be a good place to start anyway. One thing I can tell you though is to make sure that your application is a good fit for a widget. Widgets were purposefully designed to be very limited in Android. There are only a handful of views that can be used and you can't update them very frequently without it being a major headache. You may just want to make a part of your app into a widget. Widgets aren't just apps on the launcher. Best of luck.

    0 讨论(0)
  • 2021-01-26 03:13

    I think you like to create an "App Widget". A manual about doing so is here.

    0 讨论(0)
  • 2021-01-26 03:16

    Yes, it's probably possible. Take a look at http://programmerbruce.blogspot.com/2011/04/simple-complete-app-widget-part-1.html for a decent example.

    0 讨论(0)
提交回复
热议问题