background preloader

AIR

Facebook Twitter

Device appears to be offline. Restarting the device may fix the problem. Ok.

Device appears to be offline. Restarting the device may fix the problem.

I'm running into the same exact problem. I cannot get it to work with the fix above. I'm running windows 7, Flash Builder 4.7, and did a fresh install of the Android SDK. I'm trying to use my Samsung Galaxy 3 as the debugging device. It has Android 4.3 as well as Air installed. I copied the following files. From C:\Program Files (x86)\Android\android-sdk\platform-tools adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll From C:\Program Files (x86)\Android\android-sdk\build-tools\19.0.1 aapt.exe From C:\Program Files (x86)\Android\android-sdk\build-tools\19.0.1\lib dx.jar. Extending LabelItemRenderer to look like iTunes on the iPad. Mobile ItemRenderer in ActionScript (Part 1) - AsFusion. If you are starting to do mobile development and are used to create all your ItemRenderers in MXML, you may notice that the small devices like phones and tablets do not perform as well as the desktop does and you need to start looking closely to different ways to optimize you app.

Mobile ItemRenderer in ActionScript (Part 1) - AsFusion

One of the ways to optimize your mobile app is to create your ItemRenderers in ActionScript. Narciso Jaramillo wrote a good article for Devnet with great tips for mobile development and one of the items was exactly that, to keep your ItemRenderers in pure ActionScript. Narciso mentions the Flex Framework comes with two ItemRenderers one is LabelItemRenderer that extends UIComponent and the other is IconItemRenderer that extends LabelItemRenderer. Those classes are great, but sometimes you have a different use case that needs a different set of classes. So in my examples I will not use those renderers. Basic Example Let's start with the most simple renderer, a TextField that displays some text. Application Styles. Pull down to refresh. [Code updated at the end of the article] I visited a Flex developer last week who’s developing an amazing Flex 4.5 application for tablet devices.

Pull down to refresh

We were talking about the classic mobile gestures on lists and the “pull down to refresh” behavior came up in the discussion. If you use the Twitter client on Android and on iOS, you can refresh the list of tweets by pulling down on the list. To reproduce this classic mobile behavior, I used a few tricks. Android's CalendarContract Content Provider. Android developers have been longing for an official Calendar app and content provider since Android has been released.

Android's CalendarContract Content Provider

With the release of Ice Cream Sandwich Google has finally added this feature to our tools list. Now we developers can use the Calendar app from within our Activities using Intents or we can access the data by making use of the new CalendarContract content provider. CalendarContracts entities Before I explain how to use the calendar I first present the calendar’s data model. It consists of calendars, events, event instances, event attendees and reminders. Calendar Provider. The Calendar Provider is a repository for a user's calendar events.

Calendar Provider

The Calendar Provider API allows you to perform query, insert, update, and delete operations on calendars, events, attendees, reminders, and so on. The only free and fully functional Android GCM native extension for Adobe AIR « Priorisk. Overview This tutorial is about native extension for Adobe AIR and GCM (Google Cloud Messaging) which is a free service provided by Google that allows messages to be pushed to devices of your app users.

The only free and fully functional Android GCM native extension for Adobe AIR « Priorisk

If anyone is interested in more information on how to create an Android app capable of reception of GCM messages please check out this article on Google dev portal: GCM Tutorial. In the course of development of a new social drawing app “Sketch Guess”, we wanted to add an ability for the server to notify players when important events occur in the game and display the appropriate view when the application resumes or restarts (the “fetch message payload after app just launched” capability is only implemented in our own solution so far).

While there is an abundance of Adobe AIR native extensions for iOS, there was definitely a gap to be filled for Android applications. The extension is made for Adobe SDK 4.6 + AIR SDK 3.1 . Anyway, first things first. OAuth in Adobe AIR Applications built with Flash or Flex. Community Translation Your transcript request has been submitted.

OAuth in Adobe AIR Applications built with Flash or Flex

Adobe TV does its best to accommodate transcript requests. It can take a few weeks for the transcript to become available in the Community Translation Project, so keep checking back. Join the Community Translation Project Thanks for your interest in translating this episode! Please Confirm Your Interest Thanks for your interest in adding translations to this episode! AIR 3 MapView Native Extension on iOS. For quite some time I’ve had my Radar application out on the Android Market, but one of the major annoyances was that the Google Maps component didn’t work on iOS.

AIR 3 MapView Native Extension on iOS

So I could never release the application for that platform, despite many “attempts” to get it working. With AIR 3 we have new feature called Native Extensions, so I asked one of our great Engineering team called Meet Shah to look at this problem and see if we could expose native UI components within an AIR application. It turns out that Native Extensions don’t just give us the capability to access APIs like Notifications and Bluetooth, but to actually present native UI within our apps. The goal is to finish the Native Extension for Android, iOS, Playbook and Desktop platforms and then release the code. Meet decided to follow the current (deprecated) AS3 API for Flash so that your existing applications will continue to work ongoing, great idea! AIR3, Flash Map API, Flash Maps, Native Extensions. APIReference - air-maps-ane - Native Extension for using Maps in Adobe AIR applications.