Join a global community of Adobe Air users and developers.
Recently active
Hi,Air for Android supports intents, right?I would like to open Instagram with a specific image. (like it would be invoked through the Share/Send menu)How can I launch an action like this from Air?Intent shareIntent = new Intent();shareIntent.setAction(Intent.ACTION_SEND);shareIntent.putExtra(Intent.EXTRA_STREAM, Uri.parse(MediaStore.Images.Media.insertImage(getContentResolver(), source, title, description)));shareIntent.setType("image/jpeg");startActivity(Intent.createChooser(shareIntent,getResources().getString(R.string.send_to)));Thanks
I have an AIR desktop application that needs to get information from a website that uses cURL examples in the docs. Using some examples I've found, I think I'm getting close to mimicing the commands in ActionScript but my understanding of AIR security is terrible. I've read everything I can get my hands on (big mistake, with all the changes during the last few years on the security model). Can someone confirm my understanding?If my application is going to request info from an API, because it's a SWF file, there should be a URL policy file and a Master Policy file on their server, preferably hosted on port 843.All of the examples I see related to SWF files coming from FLEX (i.e., within an HTML page). Does this mean AIR doesn't need a policy file?If it does, what is the format for an application policy, rather than a domain. Adobe's example is:<?xml version="1.0"?> <cross-domain-policy> <allow-access-from domain="*.example.com" />
Hi,I'm sure I'm missing something simple. I'm developing an application that will need to have content periodically updated. I wrote some code to download a FLV from the web as a test. But when I try to play it by giving it a source path that equals the native path of the FLV that was downloaded, nothig happens. I noticed that if I manually copied the downloaded file, pasted it to a new location and tried to play it, it worked fine. Also if I copy and paste the file using code, I can play it. Here's the code.var urlString:String = "http://www.website/test.flv";var urlReq:URLRequest = new URLRequest(urlString);var urlStream:URLStream = new URLStream();var fileData:ByteArray = new ByteArray();urlStream.addEventListener(Event.COMPLETE, loaded);urlStream.load(urlReq);function loaded(event:Event):void{ urlStream.readBytes(fileData, 0, urlStream.bytesAvailable); writeAirFile();}var mediaPath:String;function writeAirFile():voi
Is there a way to just compact/vacuum a single table as opposed to the entire database a la SQLConnection.compact()? This option is available with the vacuum command in SQLite. Thanks.
Got a really cryptic error with the following dump:MESSAGE: com.gbs.commands::PublishGameCommand - Compile Game Process | [java] 0 compile-abc 0x0095d728 PrintStackTrace(void*) + 40 [java] 1 compile-abc 0x0095dba1 SignalHandler(int) + 449 [java] 2 libsystem_c.dylib 0x98aae8cb _sigtramp + 43 [java] 3 libsystem_c.dylib 0xffffffff _sigtramp + 1733629791 [java] 4 compile-abc 0x0017053d avmplus::TraitsBindings::findBindingAndDeclarer(avmplus::Multiname const&, avmplus::Traits*&) const + 77 [java] 5 compile-abc 0x00055de4 halfmoon::AbcBuilder::initStmt(unsigned int) + 180 [java] 6 compile-abc 0x00052209 halfmoon::AbcBuilder::visitInstr(unsigned char const*, avmplus::ActionBlockConstants::AbcOpcode, unsigned int, unsigned int, int) + 9017 [java] 7 compile-abc 0x0004f595 halfmoon::AbcBuilder::visitBlock(halfmoon::AbcBlock*) + 469 [java] 8 compile-abc
Hi,I'd planning a new app for Desktop (Windows and Mac). In the Mac version I need to setup a osx menubar icon with its menus and items. I think this is not supported right now on Adobe AIR 13 so I'd want to ask here if there's an ANE mac extension that I could use that provides a hook to create the menubar osx icon and the menu with the options.If there's no such ANE, could you let me know if this is something that could be done in such way? or let me know if there's no option right now unless I go to native osx development.Thanks in advance.Carlos
I use the AIR SDK is 4.0.0.1628, mobile phone is The new HTC One with Android 4.4.2 in Taiwan.When the application installed on the The new HTC One with Android 4.4.2, chinese characters in TextField displayed as blank.Hope it can be fixed as soon as possible.The test code:package{ import flash.display.Sprite; import flash.display.StageAlign; import flash.display.StageScaleMode; import flash.text.Font; import flash.text.TextField; import flash.text.TextFieldAutoSize; import flash.text.TextFormat; public class TestFont extends Sprite
I cannot install Adobe Air to my Tabs 3 error"-24"
I cannot install Adobe Air to my Samsung tabs 3 error "-24"
So this code works flawlesly on Air for Android, it even works fine when I test the movie in Flash, but once I export it, I'm getting a blank screen. I made an swf with a square and withotu any code, and flash still fails to load it. It's weird cause everything works fine when I use the interpreter debugging option, but when I switch to standard debugging the blank screen appears on my ipad. I've read somewhere that it's caused by the way flash saves the link to external files. Thus after the file is compiled Flash fails to find the prefiously added files, which results in a blank screen. There's clearly something wrong with how the process of compiling the application.Tried this:var Xpos:Number = 0;var Ypos:Number = 0;var loader:Loader = new Loader();var link:URLRequest = new URLRequest("Untitled-1.swf");loader.load(link);addChild(loader);And this:var ldr:Loader = new Loader();ldr.load(new URLRequest("Untitled-1.swf"));ldr.contentLoaderInfo.addEventListener(Event.COMPLETE, loaded, fal
All of our apps created with Air now request microphone access for audio recording on first launch in iOS 7. Anyone know what's triggering this? We don't use the microphone in our apps.Thanks,Matt
Hi, We've noticed that the certain versions of air are not automatically updated when our application is installed. An "installer is damaged" message is displayed for a few versions of air (e.g. 2.0.4 and 2.5):AIR 1.5: app install dialog with option to download AIR 3.6 is shown. INSTALL OKAIR 2.04.: app install dialog with option to download AIR 3.6 IS NOT shown. INSTALL FAILSAIR 2.5.: app install dialog with option to download AIR 3.6 IS NOT shown. INSTALL FAILSAIR 2.6: app install dialog with option to download AIR 3.6 is shown. INSTALL OKAIR 2.7: app install dialog with option to download AIR 3.6 is shown. APP INSTALL OKIn these cases we've asked customers to manually upgrade air and then install our application. This works OK, but what I'd like to do is check the version of the air runtime installed on the customer's machine when they download our install file from a web site.I looked into air.swf and I'm able to determine if air is installed. What I'd really like to do is ch
The QA team on an AIR for iOS project I am on has encountered a very strange bug. Unfortunately, I cannot share the app itself but I can share as much of the technical details as I need to without exposing the app itselfThe basics of it are this:The App requires a user log in. The login credentials are validated by a remote server. Once the user successfully logs in, I store a local value to save that they are logged in.Once they are logged in everything is fine. The user can explore the app & all the content within fine. They can kill the app process & reboot the iPad and the app continues to work fine.If the user logs out & logs back in without powering the iPad down, the app works fine.However, if the user logs out, reboots the iPad then logs in after the iPad is rebooted, the app freezes up. This occurs when it loading a swf packaged inside the app. This is the only time the app freezes up & I am at a loss how to figur
I just made app for Android to be able to play HTML5 videos. But the video is showing blank and only voice playing. If I make the video full screen it will show. The youtube video embed in the page has same problem. I also have the app in IOS version. That one doesn't have such issue. I guest the air sdk have some problem to show the video.
I need Adobe Air on my Samsung Tab3 tablet to run vital programs. I cannot install the app -- I get error code "-24". Many others are reporting the same issue. Is there a fix for this, or is one coming? I will have to change devices if not
Dear developers, I am testing out a new app today and noticed that the app crashed when it was saving information to memory. The information is not larger then a kilobyte and the Ipad had over 50 megabytes left, but I continuously got the crash.When I removed some things on the Ipad and increased the memory to a gig, the crash disappeared and I no longer had problems. A few weeks ago, I remember reading about this from another developer post but cannot recall if there was a solution and cannot find the post now. Was there any solution to this? Is there a way to detect low memory on the Ipad and hence prevent the crash.Thank you,Justin
We’re happy to announce the launch of Bardbarian on Google Play!https://play.google.com/store/apps/details?id=air.com.treefortress.BardbarianWe’re trying a new FREE TO PLAY model so there’s no excuses not to download it! Please let us know what you think!TECHNOLOGYAIR 4.0Starling SoundAS SpriterAS4k ATF TexturesNative Extensions from Distriqt, Milkman Games and many more.
When I tried to upload a game on the App Store I got this error:---------------------------------------------ERROR ITMS-9000: "Invalid Code Signing. The executable'Payload/game_file.app/game_file' must be signed withthe certificate that is contained in the provisioning profile."at SoftwareAssets/ SoftwareAssets (MZItmspSoftwareAssetPackage)------------------------------------------------I searched tons of information.For example: someone had a similar problembut he used the wrong distribution cert,from what I can see I'm using good, unless I missed something.My profile is clean, it is not possible for me to select wrong file. I tried a lot of combinations and still the same error withprovisioning profiles, several times I made everything new.I'm using: Action Script 3.0 in Adobe Flash Professional CS6 and AIR 13.0.0.42.I've tried many things, many times the whole process over again.I've added all things for the OS 7 standard , but it may also require some trick?I don'
My mobile app is stuck. I need to know if we're ever going to be able to select a video from the camera roll for iOS and Android. Seems a simple matter but it has languished for over a year on the Adobe feature requests. ANE's don't work. Lose context and flash the screen.
Not sure what's happened but I now can't use any of my air apps - I tried to install the latest version and it fails with the following info:An error occurred while installing Adobe AIR. Installation may not be allowed by your administrator. Please contact your administrator.I've tried cleanign out the registry, using an advanced install tool, updating windows fully - everything. No joy at all. I also tried installing under a different user with no luck.NB: The microsoft fix it tool is broken and will not run!My logs:[2014-03-13:13:45:54] Runtime Installer begin with version 4.0.0.1390 on Windows Vista x86[2014-03-13:13:45:54] Commandline is: [2014-03-13:13:45:54] No installed runtime detected[2014-03-13:13:45:57] Relaunching with elevation[2014-03-13:13:45:57] Launching subprocess with commandline c:\users\mike~1.mou\appdata\local\temp\airfc88.tmp\adobe air installer.exe -ei[2014-03-13:13:45:58] Runtime Installer begin with version 4.0.0.1390 on Windows Vista x86[2014-03-13:13:45:58]
Actually suprising smooth!I've made about 40 full screen animated vector animations and they all run at my target 15 frames per second (which is fine for cartoons). I have not had to make very many compromises. It works really well. And it runs great on the iPad 1, my slowest iOS device.Thanks Adobe!
I had a lot of trouble getting this to work, and I'm hoping this post saves someone time. Some of the information that's been posted in other locations is either wrong, incomplete, or might only work on Android. By the time you read this message the information here may no longer be accurate, so here's the testing environment:Window 7Flash CS 5.5.0AIR 2.7.0.19530, which was compiled on June 28, 2011iPad 1, version 4.3.5 of iOSLet's get started.On iOS, you load external PDF and HTML files using the StageWebView class. On Windows, StageWebView works but the HTMLLoader class is a better choice if you're creating a desktop app.You can also load HTML files by reading in the file's text. The information in this post is only for loading external HTML files.StageWebView will not load a file that's in File.applicationDirectory. All files bundled in your app are placed in File.applicationDirectory, which means you'll have to copy any external file you wish to load with StageWebView to another di
HiI have an app in play store which is crashing on boot to some users.The error posted is:java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{air.appname/air.appname.AppEntry}: java.lang.ClassNotFoundException: Didn't find class "air.appname.AppEntry" on path: DexPathList[[zip file "/mnt/asec/air.appname-1/pkg.apk"],nativeLibraryDirectories=[/mnt/asec/air.appname-1/lib, /vendor/lib, /system/lib]]at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2232)at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2358)at android.app.ActivityThread.access$600(ActivityThread.java:156)at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1340)at android.os.Handler.dispatchMessage(Handler.java:99)at android.os.Looper.loop(Looper.java:153)at android.app.ActivityThread.main(ActivityThread.java:5299)at java.lang.reflect.Method.invokeNative(Native Method)at java.lang.reflect.Method.invoke(Method.java:511)at com.android.internal.os.Zy
anyone knows how to zoom a camera when shooting a live stream?I am using Galaxy EK-GC100, Android camera.It has a zoom button, but it is used as volumn adjust.
Hi,I'm developing a game and I save the state to a file as recommended in this article:http://www.adobe.com/devnet/flash/articles/saving_state_air_apps.htmlWhich saves it here:var f:File = File.applicationStorageDirectory.resolvePath("myApp.dat");Everytime I compile the app gets uninstalled and the file is deleted. My concern is what happens when I release an update through the app store. Will the player data get lost? Where's the best place to save the player data so it doesnt get lost?Other areas could be: File.applicationDirectoryFile.cacheDirectoryFile.desktopDirectoryFile.documentsDirectoryFile.userDirectoryHas anyone had experience with this?
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.