JSCompressor or a GIU for the YUI Compressor



1 Comment

Share




jscompressor

While the whole world is on fire, i made a small air app which actually is a GUI for the yahoo’s YUI Compressor util.

About the YUI Compressor tool:

The YUI Compressor is written in Java (requires Java >= 1.4) and relies on Rhino to tokenize the source JavaScript file. It starts by analyzing the source JavaScript file to understand how it is structured. It then prints out the token stream, omitting as many white space characters as possible, and replacing all local symbols by a 1 (or 2, or 3) letter symbol wherever such a substitution is appropriate (in the face of evil features such as eval or with, the YUI Compressor takes a defensive approach by not obfuscating any of the scopes containing the evil statement) The CSS compression algorithm uses a set of finely tuned regular expressions to compress the source CSS file. The YUI Compressor is open-source, so don’t hesitate to look at the code to understand exactly how it works.



In short, YUI Compressor is a jar tool which compresses *.js files. Sure, u can use it through the command line as described here, however just give JSCompressor a try :)

Requirements:
AIR: 2.0 run-time installed (in case u don’t have it click here)
OS: win
Download: jscompressor.exe

ps: i just love making small apps is my spare time ^_^

Adobe + Android = friends



2 Comments

Share




Yes! Adobe officially announced Flash Player 10.1 and Adobe AIR for Android.
Kevin Hoyt recorded a great video showing some air apps demos running on Motorola’s Droid device.

Read more at Lee Brimelow’s blog

UPD: Thibault Imbert and Michael tryed out the flash player 10.1 on the Google Nexus One phone. They tested out some flash web sites, games which weren’t actually optimized for the mobile platform i.e. those r typical web sites from the fwa. And the nexus one managed to get that content work nice and smoth.

Flash Player 10.1 on Google Nexus One from michael chaize on Vimeo.

ps: don’t forget that cs5 (which will improve dev for the mobile devices including iphone) is about to release soon :)

Building air2beta2 apps howto



9 Comments

Share




Greetings 2 all.

As some of you probably now, adobe has released the air2beta2 at their labs, which brings new ablities like:

  • Enhanced support for interacting with printers (beta 2)
  • Support for TLS/SSL socket communication (beta 2)
  • Support for the detection of mass storage devices.
  • Advanced networking capabilities like secure sockets, UDP support, and the ability to listen on sockets.
  • Support for native code integration.
  • The ability to open a file with its default application.
  • Multi-touch and gesture support.
  • New APIs for access to raw microphone data.
  • Webkit update with HTML5/CSS3 support.
  • Global error handling.
  • Improved cross-platform printing
  • Improved security and support for enterprise and government standards.
  • Native process support

I’ve spend the whole day yesturday playing with the new api and in order that you not waste your time adjusting the sdk’s, figuring out how to build an exe/dmg file with full sdk support i’ve decided to post a little tutorial here.

Read more

AirPackager, easy air-to-exe/dmg/rpm [updated]



15 Comments

Share




UPD: now works with air 2 runtime

AirPackager is a small app that will help you generate exe/dmg/rpm files out of your air package in other words – it’s just a GUI for the adt.
To install the app you need the AIR2 beta2 runtime AIR2 runtime
Again, works only on windows.

Download AirPackager.exe

PowerOff app – testing air2beta2 api



1 Comment

Share






UPD: now works with air 2 runtime

PowerOff is a simple shutdown timer, which i created just to reveal (test) some of the new features of AIR2 beta2 api.
To install the app you need the AIR2 beta2 runtime AIR2 runtime
And, btw, it works only on windows.

Download PowerOff.exe

Download PowerOff source files

PrintScreener or how to make screenshots with air



No Comments

Share






PrintScreener (project home: http://code.google.com/p/printscreener) is an app, extending the PrintScreen function. Now you can select the area you want to PrintScreen and save the selected Area into a JPG file.

Read more