News for hackers. Stuff that matters.
Re:Google's mismanagement of the Android Market by Groxx on Monday June 28, 2010 @12:14AM (#1467037)
the ability for an app to initiate a self-update, in which case, I'd love to know how to do this.

Seen Sparkle[1]? It's all the rage in the OSX world. Thousands of applications use it. It'd be a good place to start. Beyond that, there's also Google's Update Engine[2], also for OSX, which does updates file by file, and I believe can even work with just changesets (Sparkle replaces the whole .app bundle). At least, I think Update Engine was started by Google...

Or, if you want to go for "epic" in-place self-updating, something could be done which mimics how some Linux kernel upgrades can be swapped while the OS is running. That's a neat trick. I believe Nginx can do the same, it'd probably be an easier start. Unless the binary is locked when downloaded, I don't see why that at least shouldn't be possible.

Though, all that said, IANA Android developer, and don't know what limitations are in place. Could be it's just flat out impossible, I honestly don't know.

[1]: http://sparkle.andymatuschak.org/ [2]: http://code.google.com/p/update-engine/

Re:Google's mismanagement of the Android Market by masklinn on Monday June 28, 2010 @02:04AM (#1467226)
> Seen Sparkle[1]? It's all the rage in the OSX world.

Sparkle doesn't exist to upgrade your app from e.g. paid to free.

Re:Google's mismanagement of the Android Market by Groxx on Monday June 28, 2010 @05:44AM (#1467487)
Minor nitpick, compared to it not being open source, so it's not an ideal one to begin with. There's no reason a nearly-identical system couldn't be used as a paid-upgrade tool; just download the license file that was purchased in-app, and have the newly-updated application read it in.

It was chosen for conceptual design of something which has radically changed the application-updating playing field by being so successful. Normal people update regularly with Sparkle; how many have you seen ignore a Java / Windows / Adobe update for the thousandth time?

Re:Google's mismanagement of the Android Market by masklinn on Monday June 28, 2010 @06:09AM (#1467510)
> Minor nitpick

Uh no it's pretty major.

> compared to it not being open source, so it's not an ideal one to begin with

Sparkle is not open source? Are you high? http://github.com/andymatuschak/Sparkle

Re:Google's mismanagement of the Android Market by Groxx on Monday June 28, 2010 @08:19AM (#1467665)
gah, my mistake. Must've been thinking about something else.