Samples Updated for AIR Beta 3

Every new update to Adobe AIR means one thing for me - a lot of additional work. When I first started putting together samples for the AIR Pocket Guide, it never occurred to me that I’d have to revisit them time and again. What started as a couple dozen examples has also now grown to be over forty (40) AIR samples, to include a number of full applications. That being said, I’m happy to announce that the samples update for AIR Beta 3 is complete, and are available for download.

Accessing data in the embedded SQLite database Updating data in the SQLite database Asynchronously reading text from a local file Creating basic custom chrome Connecting to the SQLite database Adding custom window controls to custom chrome Encoding a PNG using a Flash library Full SQLite database example (create, read, update, delete) Selecting a directory Encoding a PNG using a JavaScript encoder Selecting a file from the local disk Dragging files into an AIR application Applying Flash filters to HTML content Creating a full screen window Getting a list of files from the system clipboard Testing connectivity to an HTTP endpoint Save images of Yahoo! Maps to local disk as PNG Custom chrome example using assets from Meebo Selecting multiple files from disk Creating a new native window Drag complex content from AIR to native resource Putting files on the system clipboard Remembering user login with AIR encrypted local store Using Flash Remoting from JavaScript Scaling down a selected image Determining the dimensions of an image Capturing web cam images for a slideshow Testing connection to any socket endpoint Playing a sound file Simple stopwatch application with custom chrome Storing data in a SQLite database Synchronously reading a text file from disk Creating database tables in a SQLite database Creating a temporary file Dragging text from the system into an AIR application Extracting the EXIF thumbnail from a JPEG image Uploading a file in the background Creating a basic popup window Writing text content to a local file Reading XML data using XMLHttpRequest (XHR)

59 Responses to “Samples Updated for AIR Beta 3”

Keeto O. Says:

One of the things that I really haven’t resolved in Beta 3 is dragging files into an AIR app that contains a classic sandbox. I’ve posted on the forums but I really didn’t find (or get) any answers.

With your example, it seems that dragging files from the desktop to the app seems pretty straightforward. But when you couple it with the classic sandbox–urgh! Just plain urgh.

In the previous beta, I could set up my app inside the classic sandbox like how you setup yours in you sample. When a ondrop event is fired from within the classic sandbox, the handler function (also inside the classic sandbox) will be able to get the filelist (through event.dataTransfer.getData) and process each file. But because of the new security implementations, this doesn’t work anymore and fires a FilePathAccess error.

Sorry if this is getting long, but I find it stupid that I can’t access the file list or even pass it to a function inside through the parentSandboxBridge for processing. Yeah, I know that the classic sandbox should be able to access the API directly–but how are we going to handle drag events if we have a classic sandbox iframe set to 100% width and 100% height? It seems impossible and stupid.

Sorry again.. But I’m just so frustrated.. >.

Folkert Says:

Thanks a lot for all those examples and the updates with every beta release.

liuzq Says:

very good!

Thomas Says:

hello,

big thumbs up for this great adobe AIR overview!

grtz and happy new year

CD Says:

Kevin,

Thanks for the plethora of samples. I just started working with Flex and was very excited by AIR as I am working on small desktop apps. In particular I am very interested in the built-in SQLite and how it works as I have never used it. I really look forward to combing through all your samples.

Thanks again for helping out a Flex noob.

Adam McCrossan Says:

Hi,

Thanks for all the samples you have put together here :) I found them to be really helpful in the app. I’m currently working on.

I do have one question that maybe you could help me with though, I didn’t know where else to ask so I thought maybe you could help?

I have a large amount of jpeg URL’s stored as strings in my SQLite database, I need to populate the source’s of 10 image components in my mxml code with the string value of the first 10 URL’s stored in my db table.

Can you please help?

Many Thanks
Adam

Chirag Says:

Thanks alot for this resource .

Adel Says:

Thank you for this samples, really it is great resource.

mogs Says:

Excellent resource mate - thanks so much!

Mike Says:

With your example, it seems that dragging files from the desktop to the app seems pretty straightforward. But when you couple it with the classic sandbox–urgh! Just plain urgh.

steve lee Says:

kevin, big thumbs up for this great adobe AIR overview!

thank you.

Axel B. Says:

Your samples much appreciated! Thanks!

Venturi Says:

Thanks a lot for the tutorial, the outcome is really beautiful.

Nico Says:

It’s samples of Aptana Studio …

sohni Says:

Excellent Resource with very good comments already made thank you

Cody Says:

Again, thanks for the resource. Excellent info as usual…

MissDanni Says:

Kevin, another great update! Appreciate you being on top of things and sharing with the rest of us.

Tony Says:

As other have said thanks for the work you have put into this!

Alex Says:

One of the things that I really haven’t resolved in Beta 3 is dragging files into an AIR app that contains a classic sandbox. I’ve posted on the forums but I really didn’t find (or get) any answers.

Zoe Says:

This may not be the best place to post this inquiry, but i know it sprung up on a client app when Air Beta 2 was introduced. Air no longer allows for writing files to the applicationResourceDirectory (relative to the AIR app), but it does allow writing to the applicationStorageDirectory. Problem is, I’m downloading FLVs to play in a flex VideoPlayer component and the component only seems to support playing *relative* files. If I were able to write to applicationResourceDirectory, I’d be fine, but neither an absolute Windows file path (â€C:\docs and settings\Application data…â€) nor a “file:///C:\…†path will play in the VideoPlayer. Is there a way to make this work??

Ambit Says:

Kevin
Thank you so much for the list of updates!! I have been looking everywhere.
I agree with Keeto O it has been really frustrating. Though now using your example dragging files from the desktop to the app is really easy.
Thanks again for taking the time to make this updated post!
Thank Ambit

Kamran Says:

awesome resource Kevin, totally great info, can’t wait for latest news.

Cody Says:

Dragging files or dragging text?

Travis Says:

@Cody, I think it means dragging text.

These look like some great updates, thanks for keeping up posted.

Steve Says:

Awesome review and a really useable resource. Its kind of you putting all of this info out here for the rest of us.

Matt Says:

Alex: I think that question was already asked above and no one knew the answer.
Why would ask the same again?

Elektro Says:

Thanks for great sample Kevin.

Date Says:

Another great post! Thats the way to go Kevin ;)

Kadın Says:

Thanks for the article. Very clear and good brief.

arama motoru Says:

thanks nice text

arama motoru Says:

awesome resource Kevin, totally great info, can’t wait for latest news.. thanks

Tomelloso Says:

Great compilation Kevin, now that AIR has been updated, for when a new post with new applications? Sure that you write new and useful post with an excellent compilation. Thanks.

Ismail Says:

Amazing help kevin, thanks for the great posts ;)

Max Says:

Thanks for your review! Your articles are always very useful!

Hampton Roads Says:

Thanks for the samples!

Russian Says:

Excellent info as usual.
Thanks a lot for the tutorial and for all the samples you have put together here.

donne russe Says:

Thank Kevin so much for the list of updates! Very clear and good brief. I have been looking everywhere.

samsung Says:

This kind of examples are very usefull to learn new features. Thank you Kevin we are waiting same kind of definitions everytime the program updated.

Ealtamira Says:

This is good enough to digg, thanks for this great post !!

Free Onilne Dating Says:

Fantastic update! Can’t wait for more good stuff to come out.

Compers Says:

Thanks Kevin, I especially liked the “dragging” samples. It adds so much to the user interface.

Chesterfield Sofas Says:

Kevin,
awesome resource as always.
roll on 1.0!

thanks.

Simon G. Says:

Very nice samples updated for AIR beta 3 also i liked this article to read, Good Luck!

Thank,
Simon G.

Internet Tomelloso Says:

Excellent and useful compilation. Really there are great examples to learn and see what people make with AIR. Thanks.

Croatia Says:

Great post Kevin.

Thanks,
Denis

Carl Says:

great article kevin, thanks alot

Carl

RubyFam Says:

Thanks for the samples. Most useful!

J'aide Says:

Thank you for taking the time to publish this information very useful!

Sağlık Says:

thanks for this useful information kevin

secretboy08 Says:

These samples were very usefull for me.thanx for these.i liked the samples.hoping to hear full soon.

Jan Ferme Says:

The work is always worth it because the adobe air music samples are so good and the same goes with this pack of samples.I am glad that you put it online on your.I was searching for them from sometime.

Tomelloso Says:

The samples are really nice.thank you for posting them here.Can u tell me where can i get these now??if you know where to get these then please mail me.Thank you.

Görsel Dersler Says:

thanks for this useful information kevin

ilaçlar Says:

thanks

Kitap özetleri Says:

Kevin,
awesome resource as always.
roll on 1.0!

thanks.

Diseño web Says:

Really there are great examples to learn

Ealtamira Says:

Amazing help kevin, thanks for the great posts and realy nice samples.

Zurvita Says:

Hi Kevin
I have not visited your blog in while. This is great stuff. My God how long have you been learning this stuff. The information on this blog is always amazing. Thanks for sharing with the rest of us!!

Lauren Says:

Thanks a lot for all those examples and the updates with every beta release.

Leave a Reply



You are viewing a mobilized version of this site...
View original page here

Mobilized by Mowser Mowser