Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there built in version checking for widgets?



Thank you Claudio.

Doesn't the Dashboard communicate back to apple when it is launched?
http://www.red-sweater.com/blog/153/apple-phones-home-too

Stephen Zinn
email@hidden




On Jul 1, 2008, at 10:06 AM, Claudio Procida wrote:

Stephen Zinn ha scritto:
Is there built in version checking for widgets?

If I submit a widget to the apple widget list, and submit a new version, will a client computer check apple's list for new version?

Or is this something I need to do myself.

Thank you.

Stephen Zinn
email@hidden

AFAIK this functionality is not (yet) provided by Dashboard.

You could get inspiration from the mechanism I use in my WebSMS widget:
<http://websms.origo.ethz.ch/wiki/development>


It consists in a class, VersionChecker, which is able to fetch the latest version number from a customizable URL, and a couple of custom Javascript additions to obtain the bundle identifier and compare version numbers(*).

You just provide your own callback that will be called when the latest version has been detected.



(*) widget.system is used synchronously, which is a deprecated practice. This will probably become unsupported by Apple, and will be changed in WebSMS in the near future. You have been warned.

Best regards,
Claudio Procida
http://www.emeraldion.it

_______________________________________________ Do not post admin requests to the list. They will be ignored. Dashboard-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/dashboard-dev/email@hidden

This email sent to email@hidden
References: 
 >Is there built in version checking for widgets? (From: Stephen Zinn <email@hidden>)
 >Re: Is there built in version checking for widgets? (From: Claudio Procida <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.