Join a global community of Adobe Air users and developers.
Recently active
Hi, I have successfully sent an apple push notification using a native extension for adobe air by anders-tbl. The notification simply sets the badge count to 1 and has a little message.What confuses me is how do I reset this badge count once a user reopens my application or opens the application by clicking on the notification? The badge count always stays at 1 even if I delete the application and reinstall it, it’s still there!!??I know I can reset the badge count by sending a notification with badge = 0, but I can't dynamically do this by sending an empty APN with badge set to 0 as you only get the device token on first application load? Surely you set this via some kind of AS3 function? I can’t seem to find any help searching google at all.If anyone knows or can nudge me in the right direction on how you are suposed to do this that would be great.Cheers,
I am updating (adding to) the below posting -- it's been 4 days since posting it and I'm puzzled why no one has responded to it. It appears that Chris and/or others have responded to other posts since my posting. Was what I was asking below unclear?I am confused by the reference indicating that AIR is part of the OS and, as such, downloading Air 3.2 is unnecessary. Again -- my basic hypothesis is that since I have an earlier version of AIR installed, and no OS upates have changed that version to AIR 3.2, is the statement that AIR is part of the OS inaccurate? If so, is it logical that I should download and install AIR 3.2 to have the latest version on my system? Finally, are all these other posts about problems installing AIR something I should seriously be concerned with or are they just a minority experience, with most AIR installations successful? (I would think that Chris, as an Adobe employee, would have credible comment on that.)Looking for som
Hello,Apologies if this is the wrong section, although it seemed the most appropriate. I've noticed some others having similar problems, but I'm creating a separate thread since it seems to be these issues normally require individual troubleshooting.I've ran into some troubles trying to install the Adobe Muse beta on my laptop - while it installs just fine on my desktop computer, it returns an error message here. Namely, "This program requires a version of Adobe Air that cannot be found. Please install Adobe Air from [...]". I've tried downloading and installing Adobe Air, but the Adobe Air installer greets me with yet another error message:"An error occurred while installing Adobe AIR. Installation may not be allowed by your administrator. Please contact your administrator."I've tried numerous things suggested in threads I've seen here, and none of them have worked:Running the installer as an administrator - same issue remains.Using a third-part installer such as Ninite - it freezes d
hi guys , i am trying to run an external exe file with the following codevar info:NativeProcessStartupInfo = new NativeProcessStartupInfo()var file = File.applicationDirectory.resolvePath("usbserial.exe")info.executable = filevar process:NativeProcess = new NativeProcess()process.addEventListener(ProgressEvent.STANDARD_OUTPUT_DATA,onOutput)process.start(info)and i get this above error every time i start the process, but this usbserial.exe file runs smoothly without any problems in CLI. So what is really going wrong here ?
I'm trying to compile my project for the app store. It compiles without issue in about five minutes when compiled for ipa-test or ipa-debug. I'm compiling it for ipa-app-store right now but the process has been running for over two hours. I can see the java process running and the memory fluctuating, which tells me it's not frozen, but the temp files that are created aren't changing at all, which makes it seem like nothing is happening. Does anyone have any ideas what could be wrong? I'm using the latest version of the Flex framework with the latest AIR sdk on a machine running Windows 7.
I'm working on an AIR app for an HP Touchscreen... we have a section that loads a webview. The problem is that an HP Touchscreen doesnt use true touch .. its infared touch. Which basically is the same as a mouse except it uses infared to determine where your finger is.The problem this poses is that my webviews contain a scrollbar and you cannot scroll with your finger. Very annoying!Is there any way to use a stage listener or something and scroll the webview window when you user drags up or down ?
Hey All,If anyone has a fix for this it would be greatly appreciated, or just let me know if I'm missing something, but I can't seem to get a port open while running on iOS. I've read a lot of reasons for this is that the port is still in-use from a previous session of the application that failed to close the port properly, but that is simply not there case here. To test this, I've tried looping through a variety of different port ranges on application start, and this error occurs on every port attempted...import flash.net.ServerSocket;import flash.net.Socket;...for (var port:Number = 1000; port <=1020; port++){ var serverSocket:ServerSocket = new ServerSocket(); serverSocket.addEventListener(Event.CONNECT, socketConnectHandler); serverSocket.bind(port); serverSocket.listen(); }it breaks every time on serverSocket.bind(port) with "Error #2002: Operation attempted on invalid socket.";Any help wo
Hello, I'm making a QR scanner application. I'm testing my application on the Motorola Droid 2, which has an auto focus camera. For some reason, no matter what I do, the camera won't re-focus after focusing for the first time. I can force it to focus by doing a Camera.setMode call, but that causes the application to hang for about half a second. I have not had this problem when testing it with an iPhone 4. Does anyone know how I can remedy this situation?Thank you in advance!P.S. I also noticed that when I first initialize the camera/video, the autofocus happens twice. (The camera makes some sort of noise when it autofocuses, and it does it twice when I first open my app.)
I recently tried to update my app in the Android app market and when I uploaded it I got the following message:"The new apk's versionCode (1000000) already exists."In the Flash Adnroid settings I changed the version label but that did not help.So I have two questions:How do I change the Version code in the Flash Android settings? I changed the version number and version label but that did not work.What is the difference between the version number and version label?
Hi guysI have a problem when trying to dispose of a stagewebview object. I would like to be able to trigger events for disposing of stagewebview from outside of the function the stagewebview was invoked.Example:function playIt(event:MouseEvent){ var nowPlaying = new mcPlaying(); nowPlaying.x = 10; nowPlaying.y = 416; nowPlaying.name = "nowPlaying"; stage.addChild(nowPlaying); var idPath = "idPathVars; var webView:StageWebView = new StageWebView(); webView.stage = this.stage; webView.viewPort = new Rectangle(10, 440, 300, 70); webView.loadURL("http://myURL.com/Free.html?id=" + idPath); &n
I'm using Adobe Air 3 for IOS offline app, and I want to implement a download updates (html files + js,css) feature from within the application. The files would be displayed in a StageWebView component.Since Apple doesn't allow saving files inside the installation directory, I must use ApplicationStorageDirectory instead to download files into.I want those download html files to link to .js / .css files already installed within the main application directory (e.g. at myApp.app).The reason for that is I want to minimize the number of the downloaded (shared) files as much as possible. Is this possible?Thank you.
Hello guys!I would like to know your thoughs on something.It's true that we are little more restrained on "social features" compared to the iOS SDK.But i want at least to share highscores, pictures or links on Twitter / Facebook.It's the minimum we can expect from a mobile game today!For that, i tried 2 tests:- with StageWebView- with NavigateToURLThe 2 work well, but it's not very ergonomic...This is the video of the my test:The test is very simple: i have a score in a textfield, with saved with SharedObject.And i pass it all through a URL when i push a button.It's work for Twitter, Facebook and i think all social website!With StageWebView, i can open the link in the app, so cool!BUT after that, to close the webview, you have to put button somewhere...I don't think that Apple will appreciate that... And i can't find a way to stop scrolling!People can start to explore the web! It would be perfect if we can JUST view a part of the page!I also noticed a bug if the page is refreshed (when
I created an app ( a simple scoreboard) but when i publish it... I am not able to see the correct font (i used a LCD-type font TTF)! I know i have to embed it. I have done it but it still don't work. Need some help! INFO: Using Adobe Flash CS5, compiling with AS3, AIR FOR IOS mode.
I'm working on an iOS application using AIR for iOS and am requested now to add support for 360° panorama images.There are a few Flash panorama players available, but they create SWF files which I won't be able to compile into my iOS application (I assume?).What options do I have to get interactive 360° panoramas into my AIR for iOS application?The viewer should support spherical panoramas with proper distortion
Hi,I need to develop an app for mobile... And it looks like the Flex mobile framework is a huge time saver!But I know the adobe dropped Flex to Apache... Should I avoid using it?ThanksGil
When autoOrients is true or manual stage orientation is changed Adobe AIR application looses view surface and goes blackscreen. The problem happens only on Android 4.x devices but with massive upgrade going on the more and more users meet this problem.In Android logs I see continous OverlayLIB SET failed.
Please download the attached file to view this post
How can we add body to sms while sending sms via AIR. I used the following code to send sms to a particular number:var callURL:String="sms:0-123-456-7890";var targetURL:URLRequest = new URLRequest(callURL);navigateToURL(targetURL);But, I want to add a message to the sms but dont know how. Can anyone help me out?And how to add multiple receipient?
Fire DJ has been released for the Kindle Fire using the latest AIR 3.3b for the audio updates. The app was at #1 for new releases in Entertainment for a few hours, is #2 at time of posting (http://www.amazon.com/gp/new-releases/mobile-apps/2478843011).http://www.amazon.com/Fire-DJ-Kindle-Edition/dp/B007XYU87QI love AIR.
I have a project that was designed for iphone. I have been told to make it work "full screen" on the ipad. Most of the backgrounds and art resources have been changed to be 960x720 so that when it scales up on the ipad, it will scale evenly to 1024x768. I do not have any say in this, I have to work with that.The stage is still set to 960x640 with the scale mode being "show all"The stage quality is set to low because of memory concerns. Setting it to anything causes crashes on older devices.Now, for the most part, this works just fine. However, I am having a problem with some of the animated sprites.So the "parent" container sprite is scaled up 1.0666666666666666666666666666667 (1024/960) In my library, I have a spritesheet which is 2730x116 consisting of 21 frames.On the screen, I create a sprite object, and then put a bitmap containing my sprite sheet in that sprite.I then give the bitmap a scrollRect to only show the frame that I want to show. (these values are stored in an arr
In my application I am saving a file to the device using File class and not the CameraRoll as I need to keep track of images saved. But when I save the image file to the device, the app freezes up for 6-7 seconds and sometimes even crashes. Any idea how can this be fixed?
One my AIR3.1 applications is taking > 2 hours to compile to a ipa-app-store packageTotally unworkable. Anyone have any idea where this time may be lost?ThanksLeon
Hello!It is possible to create a typicall push notification message while an app build within AIR 2.6 on iOS device is running in the background? e.g. to create an alarm or a reminder. If this is possible, how do you create something like this? kind regards!
After many hours of coding and trial and error, my app is now in stores for apple and android devices It's not "just another password-manger", its way cooler and all possible thanks to Adobe!It was a blast to work with Actionscript and AIR. I really love AIR!!! I've used Flashbuilder for coding and Flash Professional for publishing.Here's a demo video:
Hi all,I have a question concerning the capabilities of the @media selector.From what I read in the documentation, @media, in AIR, supports these parameters- os-platform (IOS, AND, MAC, WIN)- application-dpi (160 = less than 200; 240=less then 280: 320: more than 280)how does one tell if the device is iPhone 3gs or iPad?both are IOS, both have application-dpi less than 200 (163 for iPhone 3, 132 for iPad)it would be useful to use max-device-width, but I guess it's not supported? it's not working for me...thanx!
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.