Our GCM extension and tutorial have been available for a while now and people have requested a number of updates. Some items on the list include adding a sound flag, incorporating notification icons into the extension init, and more. Don’t worry, these are coming! For now, here is a new extension we created that will help fellow AIR developers improve their apps and games.
Until recently, our app “Sketch Guess” utilized Web View for logging people in with Facebook credentials. It works well and looks decent. However, it can be cumbersome to users who are accustomed to seamless entry into FB integrated apps and games when they are already logged into Facebook mobile. That’s where SSO comes in. It allows your app to automatically use the login token from the Facebook application if your app was authorized by the user.
While it is quite easy to implement in native Android apps, we were not able to find a ready-to-go dedicated solution on the web. Therefore we had to create our own extension.
It was written for Adobe Flex SDK 4.6 + AIR SDK 3.5. Although, I’m sure it will probably work with the earlier versions of AIR (but not too early). My weapon of choice in developing AIR apps is Intellij 10 to 12. Therefore, I won’t be providing exact procedures to link to “.ane” when you setup the project since that varies from environment to environment.
Note: Facebook requires SSO for apps in their App Center. In other words, you cannot be listed in their marketplace unless your application implements SSO.
Download the ANE and example here and let’s begin…
The all new shiny and powerful iOS 6 arrived recently, allowing developers to add even more cool features to their applications. But what does it mean for those who develop iOS apps using Adobe AIR?
Well, we found out it the hard way. Our app that was built using Adobe 3.1 SDK just stopped working for those users who upgraded their devices. Unfortunately there is no way to limit the app distribution to older iOS versions (4 and 5) so we had to scramble to see what can be done.
Good thing that the new Adobe AIR 3.4 SDK recently arrived and it does support iOS6. They also added a number of awesome features and finally bundled AIR SDK with Flex SDK, so you don’t have to download them from separate sources and do all the manual work to merge. That bundled version can be downloaded here.
The upgrade is pretty simple. You need to reference the new SDK in project dependencies, update you app descriptor.xml with this line (replacing the old one):
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. 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 only way to proceed was to create our own extension which I’m going to provide here for download along with a fully functional example application and a set of instructions below.
The extension is made for Adobe SDK 4.6 + AIR SDK 3.1 . Although, I’m sure it’ll work with 4.5 and 3.0 or newer versions. My weapon of choice in developing Air things is Intellij 10 or 11, so I won’t be providing exact procedures to link to “.ane” when you setup the project since that varies from environment to environment.