Android ApplicationsAll the information you could ever want about Android Applications. Learn about apps and get help with them... all here! New apps can be found and announced in the Applications Announcements forum linked below.
I have a widget but when I have un-installed my app, the widget still exist in the home screen with "Problem loading widget".
How do I programmatically remove the widget? It seems that many widget on Android Market also have similar problem, but really hope to get this eye sore fixed.
Device(s): Unrooted Samsung Captivate...and Proud of it!
Thanks: 58
Thanked 114 Times in 101 Posts
Some folks don't use widgets, but rather shortcuts to the apps themselves for theming and to save battery and not all apps have widgets. Add to that that people use different launchers and you are asking devs to write a lot of extra code for little benefit as well as potentially introducing errors into their programs to account for all that variability. Unrealistic.
Device(s): Unrooted Samsung Captivate...and Proud of it!
Thanks: 58
Thanked 114 Times in 101 Posts
I completely disagree. Not an embarassment, but simple ROI. Would you pay for the feature? If yes, then contact the programmers and tell them you'd be willing to pay them to do this little thing for you.
You have to be practical. Unless you've done programming yourself, you probably won't understand.
You can't expect a dev to add in lines and lines of new code for every new home screen app that comes out to fix this when the solution is to drag and drop an inch or so.
I'll take a smaller file size in exchange for something that literally takes a second to remedy on my own.
The idea is simple: "Uninstalling the app should also uninstall its associated widget".
I think this is common sense rather than any technical complication involved.
You still aren't getting it. Different people code differently. A widget might uninstall fine on one home app while it'll leave something like what you've seen on another. Now that may be an issue on the widget app side, or it might be an issue with the way the home app works.
The point is, you can't expect every widget and every home app dev to write it code to make it compatible with every other android app dev's coding. Especially when the fix takes so little time to deal with and is simple as hell to figure out.
The Following User Says Thank You to lennyjew For This Useful Post:
The idea is simple: "Uninstalling the app should also uninstall its associated widget".
Everything seems simple when you aren't aware of the details involved...
The idea may be simple but ideas don't implement themselves. Ideas don't debug themselves or QA themselves.
Quote:
Originally Posted by yenpei
I'd think if this issue cannot be solved, it's an embarrassment to Android as this is such a visible bug, at least from developer's perspective.
It's not any more embarrassing than Windows apps not deleting shortcuts that I create. Granted, a widget isn't a shortcut but the solution to the "embarrassment" is the same: drag it to the trash and be done with it.
As stated above, if it really bothers you then contact the developers of your apps rather than post here.
Last edited by takeshi; December 1st, 2010 at 08:39 AM.
i'm a .net & android developer myself. i agree with your developer's point of view, but i also think yenpei has raised a valid request. valid, but maybe be worth to solve. however simply denying users requests by saying not practical or unrealistic makes developers look bad. who drives the requirements after all? yes if possible i'd like windows to prompt me to remove my shortcuts after uninstalling an application. if it's too difficult then it could be a framework problem, not mine as a user. if developers decide everything then monitors would still be 16-color i guess.
Device(s): Unrooted Samsung Captivate...and Proud of it!
Thanks: 58
Thanked 114 Times in 101 Posts
If I were to ask a developer to spend their time doing something for me, I would guarantee I would ask them to do something I have no clue how to do myself. Dragging an inactive widget to the trash, I can do easily. Sure people can ask, but I really don't see an ROI.
The Following User Says Thank You to BookLover For This Useful Post:
Apps don't get notified when they are being uninstalled so from a technical/practical standpoint "cleaning up" isn't even possible.
This is something at the OS level, and I'm sure it will get done at some point. But as features go, I would guess this isn't high on the Android team's priority list.
This is something at the OS level, and I'm sure it will get done at some point. But as features go, I would guess this isn't high on the Android team's priority list.
I believe if there are enough developers asking for it, Google will consider add new API to their SDK in their next release.
Just tell Google end users want it and we developers want to implement provided they expose API for us :P
The idea is simple: "Uninstalling the app should also uninstall its associated widget".
I think this is common sense.
I agree with this, but..........
Quote:
Originally Posted by lennyjew
You can't expect a dev to add in lines and lines of new code for every new home screen app that comes out to fix this when the solution is to drag and drop an inch or so.
I'll take a smaller file size in exchange for something that literally takes a second to remedy on my own.
I also agree with this. It's really not that big a deal.