May 21, 2012

Weewar Status Notifier for Adobe Air

satellite dish 128 Weewar Status Notifier for Adobe Air

I’m pleased to announce the release of my first Adobe AIR application. This is a simple little desktop (not browser) app which checks your status on Weewar to see if you have any games waiting for your attention.

Revision 2.2 feature list:

  • Checks your status using the Weewar API
  • User settable interval between checks
  • You can force an update by clicking on the “games waiting” message.
  • Semitransparent, draggable window
  • Built with HTML, not Flash.
  • (New in version 1.1) If you have waiting games and you click on the message, you’ll open a new browser window and go to your headquarters.
  • (New in version 1.2) Works on Windows.
  • (New in version 1.3) Turns red when you have games waiting. Resizes to fit contents.
  • (New in version 1.4) Lists the games waiting for your attention
  • (New in version 1.5) Added the option to have the window always stay on top
  • (New in version 1.5) Changed the last checked display to show “xx minutes ago”
  • (New in version 1.7) Compatible with AIR Beta 2
  • (New in version 1.7) The window floats to the top automatically if you have waiting games. That way it doesn’t get buried but you don’t have to have it always floating on top of the other windows.
  • (New in version 2.0) Updated for Adobe Air 1.1
  • (New in version 2.2) You can now click on the “checked x minutes ago” status line to do an immediate status check.

Installation

  • Install the AIR Runtime. It is very small and fast.
  • Download Weewarify 2.2
  • Install the app by double-clicking on the downloaded installer.
  • The first time you run it, it should detect that you haven’t configured, and show you the configuration window. Put in your username and your “token” from your Weewar account page.
  • Click the icon on the top right to save and flip back to the status page.
  • That’s it, the program will now check Weewar every few minutes for you.
  • Important! If you let the installer run the app after install (which is the default), it doesn’t work. I have no idea why. Just quit and restart it. It will work when launched normally.
  • WARNING: Doesn’t work on Windows at the moment. I’ll fix very soon.

Open Source

Feel free to contribute, browse the source, report bugs, or request enhancements at Weewarify’s home on Launchpad

Related posts

Technorati Tags: , , ,

Updated Weewarify for Adobe AIR

Using the free AIR code signing certificates offered by Adobe AIR Marketplace I’ve signed Weewarify 2.1 so that it doesn’t give nasty “UNKNOWN PUBLISHER” warnings when one goes to install it. Evidently, I’ll now be able to publish updates as well, and have them be automatically offered as available, so long as I use the same cert.

I’ve got some big AIR plans, especially now that my Flash skills are growing exponentially. I think I’m going to make a store monitor app for Satchmo to allow admins to know when they’ve made sales or the site is down.

[tags]air,weewar,satchmo[/tags]

Technorati Tags: , ,

Free Code Signing Certificate from Adobe

Score! I just got a free Adobe AIR code signing certificate from Thawte. Adobe is giving out 125 of these to the first people who upload to the new Adobe Air Marketplace.

This is a $300 value, and it is good thinking by Adobe, because while I enjoy making free apps for AIR, I wouldn’t have spent the money on the cert otherwise.

Warning, this only works if you have a company to associate the cert with. You can’t get one without a company. That’s why everyone should have at least a solo company set up at all times. It gives you freedom to do a lot of stuff closed to the rank-and-file.

[tags]adobe air,developer certificate,free[/tags]

Updated my AIR apps to version 1.1

I finally got around to updating my Adobe AIR apps to the latest version of the runtime. Argh.

They keep changing the sandbox! It is incredibly annoying to have to work around the sandbox, and then to have to go make seemingly arbitrary tweaks on every version update.

Regardless, I’ve now updated Bluegrid and Weewarify to work with the latest AIR.

Mostly, I did it so that I could get a free Thawte AIR developer cert from the Adobe Air Marketplace. Those things cost $300, and Adobe is giving away 125 of them to AIR developers who post apps there.

[tags]air,adobe air,bluegrid,weewar[/tags]

Mootools beats jQuery and Ext for AIR

When I recently updated an Adobe AIR app I’d written for AIR Beta 1, I found that I had to go to enormous lengths to continue being able to use ExtJs as a selection & effects library for it. This is due to “eval()” being prohibited in the base Javascript on any AIR app.

[Read more...]

Blueprint CSS Grid Tool for Adobe Air

I’m a big fan of the Blueprint CSS framework. In the process of using it to develop the base template for Banjo, the blog app I'm writing, I realized I need a tool to help me keep page elements lined up on the grid, both vertically and horizontally.

Blueprint comes with a background grid image to use for this, but it only works as a background, and it is not that useful when you are working with colors and final tweaks. So, I made a little (tiny) AIR app which will show a floating grid, sized at 18px and with Blueprint-sized columns.

[Read more...]

Related posts

Technorati Tags: , ,

Updated Weewarify AIR app to Beta 2

After more work than I expected, I’ve updated my Weewar status notifier to work with the Adobe Air Beta 2 SDK.

There were two tricky parts to the update. The first, separating the AJAX/UI logic out into a separate sandbox. The second challenge was getting rid of the pesky scrollbars AIR seemed to insist upon putting on my window.

[Read more...]

Adding AIR mimetype to Lighttpd

If you tell Lighttpd about the mimetype for your AIR apps, then your users will be properly prompted when they click on the files to download/install. If not, then their browsers will complain about unknown file types. Happily, like so much else with Lighttpd, adding the mimetype is extremely simple.

In your lighttpd.conf file, under “mimetype.assign”, set up the new mime type. Like so:


mimetype.assign = (
".air" => "application/vnd.adobe.air-application-installer-package+zip",
[...]
)