开发者

Change Android widget size on upgrade

开发者 https://www.devze.com 2023-01-10 13:10 出处:网络
I have written a widget with size 74x74 in version 1. In version 2 I want to change the size to 148x74. I want this to happen during upgrade, is this 开发者_Go百科possible? or does the user have to re

I have written a widget with size 74x74 in version 1. In version 2 I want to change the size to 148x74. I want this to happen during upgrade, is this 开发者_Go百科possible? or does the user have to remove and add the widget again?


User will have to remove and install widget again. Actually, widget placed on home screen is detached from your application - it just sends update events to it and home screen reacts on them. And possible updates are pretty limited.

0

精彩评论

暂无评论...
验证码 换一张
取 消