Join a global community of Adobe Air users and developers.
Als letztes aktiv
Hi,which hardware acceleration mode is recommended for an Air Android app?I'm building a note taking app with Air 3.6 that is only vector based.Thanks
This Adobe documentation indicates you can use File.userDirectory to save files to the SD card on Android. The documentation doesn't point out that File.userDirectory will simply map to local storage if no SD card is inserted, making it useless for determining if an SD card is present. We are trying to give users of our app the option to save downloaded content to local storage or the SD card but we'd like to be able to verify an SD card exists first; is there any way for AIR to check this?
I have been using compiler conditionals for a while,before I could simply do something liek this:if(CONFIG::myConditional){ //compile this}else{ //Compile this instead}currently this is broken with Air 3.8 and ASC2, I can only do something like thisCONFIG::myConditional{ //compile this}But what about the "else"?
OK, this is not really an AIR issue, but maybe some of you have encountered this.Compiling from command line with ADT used to work, but lately I'm getting this error:Error occurred during initialization of VMCould not reserve enough space for object heapError: Could not create the Java Virtual Machine.My machine is Windows 8 x64, 8 GB RAM, there's plenty of memory available.I tried editing adt.bat and adding -Xmx512m but I still get this error. Tried different values to no avail.Interestingly, it happens only when I compile for iOS.I don't know why is this happening. Any ideas?
See subject!I am trying to read the current country from both iPad and Android tablet.I know that in iOS, it can be obtained here:- (NSString*)getCurrentCountryFromUserLocale{ NSLocale *userLocale = [NSLocale currentLocale]; NSString *countryCode = [userLocale objectForKey:NSLocaleCountryCode]; return countryCode;}But that, surely, will require me to build an ANE? There must be a way to do that without needing custom code?For Android, I'm even more clueless!Any clues greatly appreciated, thanks.GUPDATE:Android may be readable via this:http://stackoverflow.com/questions/11293642/how-can-i-get-my-android-device-country-code-without-using-gpsBut still think there should be something in the Flex / AIR SDK?
I need some guidance in tracking my adwords install for my Adobe Air ios app. From what I've read, the native code looks something like below- (BOOL)application: (UIApplication *)application didFinishLaunchingWithOptions: (NSDictionary *)launchOptions { [GoogleConversionPing pingWithConversionId:@"0123456789" label:@"abCDEFG12hIJk3Lm4nO" value:@"0.99" isRepeatable:NO]; return YES;}I already have a few ANE from Freshplanet in my project. Source code from github here https://github.com/freshplanet/ANE-Facebookand have added a few of my own extensions but in the case to track the AdWords, I'm a bit at a lost as to how/where to include the natice code.If anybody has done it or could provide an example or some guidance, would be most grateful Thanks!
I have a project intended for both deskotp and mobile, and so I began it as a Flex Mobile project. I then imported the source into a Flex Air project and everything has been working great--until I added cut and paste functionality using the NativeApplication/NativeWindow model. On a Mac, because there is a default set of menus, this works just fine, but on a pc, the menu is not present unless you define it. My top level class is a ViewNavigatorApplication, and I can't for the life of me figure out how to get my NativeWindow NativeMenu built. I have tried plugging code into creationComplete, initialize, preinitialize, but nothing works. I also tried putting a WindowedApplication around the ViewNavigatorApplication, but that too failed.So is there a way to make this work? While menu support would be nice, I would settle for just shortcut key support.Thanks in advance,Adrian
Hi AllIs it possible to detect incoming calls without my app deactivate? Is there a way of detecting whether a user answered call or not while app running?ThanksRegardsBala.S
I've got a rather complex video project with lots of submenus (that works as a DVD - so it is "debugged") that I need to be able to export from Encore into an app to upload on the iTunes store and Android Market. So far, I've managed to export the project via Encore's Flash output and test the results using a web browser (it works). Everything got saved in a new folder structure with an index.html file pointing to the flashdvd.swf file pointing to the AuthoredContent.xml file that actually holds all the information on the file structure (there are 99 files in the Sources subfolder) and uses the default generated Theme.xml file. What I need to do is to somehow import all this into Flash Builder as a project so it can become the source for the various "app" platforms. My questions are:1. I've got Flash Builder 4.5 - do I need to upgrade to 4.7 in order to import the project or can this be done in 4.5?2. Is there some intermediate step that I'm missing? 3. Will Flash Builder be able to re
Hi.When I published a update to my quiz app, most of the devices of users stopped saving their score.Some people even report that every time they open the app, they have to start all over again.The reports are from people contacting me on e-mail and twitter.It seems very random, some iPhone 5´s, some iPhone 4s´, and some iPad´s.I am using iPhone 4s and iPad 4 to test my applications, and everything works fine on my devices.It started to happen once I updated my app from v1.5 to v1.6, changing AIR version from 3.4 to 3.6 because of the required iPhone 5 support as of May 1.Any ideas as to how I can debug this error?Regards,Skogemann
Dear developers, I am running into a garbage collection issue only in testing on IPAD 4 retina display (IPAD mini, along with Samsung Tab 10.1......no issues at all). The issue is that when garbage collection triggers, it is causing a lag in gameplay for sometimes up to 4 to 5 seconds. I am trying to avoid GC collection during game play altogether.I know I can fix this but do not know where to begin. Fundamentally, I believe the way I start a level is incorrect. I have gone through all the adobe material and other websites too, but am not sure what I can do to decrease the lag. This is the typical strategy I use when starting a level:1. Declare all arrays using "new" (they typically hold a lot of numbers).....I have a lot of arrays as I have a lot of moving elements that rotate.2. Load up all my bitmaps and mcs, again using the term "new".3. During the level, I do not remove any child.4. My game involves asteroids, but even though I
Hi there,we developed an App and defined <aspectRation>portrait</portrait> in the descriptor xml.We also set:<autoOrients>false</autoOrients> <fullScreen>true</fullScreen> <visible>true</visible> <softKeyboardBehavior>none</softKeyboardBehavior>The Samsung Galaxy Tab 2 7.0 gt-p3110 with Android 4.2.2 seems to ignore this setting and so the app always crashes.We tested it with Android 3.7 and 3.8 beta.Perhaps this is also the issue why the App becomes rejected on Samsung Apps...http://forums.adobe.com/thread/1212455?tstart=0Bestomi
Hi, my first attempt at an OUYA game made in AIR was rejected with several issues that I hope can be addressed:1) Adobe's otherwise excellent "GameInput" class does not seem to recognize their "Home" button, which they would like to be used as pause.2) Upon leaving the program to follow a URL, the app will restart upon returning. I thought this had more to do with OUYA's OS than AIR because I have no such problems on mobiles.3) Accessing textfields does not bring up a virtual keyboard on OUYA. Again, I have no such problems on any mobile.I know several people have got some AIR apps on there already, so it depends which reviewer you get. But this was my experience, and I'd like to address some of these grievances to avoid a battle of wills with each update.
I have tried to contact a developer named Wouter Verweirder regarding my work based on his native extension, but have been unable to reach him. His UDPSocket native extension is found here:https://github.com/wouterverweirder/AIR-Mobile-UDP-ExtensionI hope that someone here can help me regarding this inquiry:I have reasons for writing a native extension like his, but for TCP communication rather than UDP.I am very familiar with both UDP and TCP networking at the packet level, as well as at the source code level in several languages. I have replaced his UDP components with their TCP counterparts as appropriate, but I get no communication at all.To start from square one, I first made sure I was able to build his extension from the source code, and then use the resulting ANE with my Android app for UDP communication as he originally intended.Then, I simply added the following as a test at the end of his UDPSocketAdapter constructor (in red): public UDPSo
If i build my app with 3.7.0.1530 then an RTMPS connection (proxyType = "best") works fine. If I build with 3.8.0.820, on Android I get a NetConnection.Connect.Failed after about 10 seconds. Works fine with 3.8 on iOS & OS X.Any ideas?
Trying to put a build of our game (http://www.facebook.com/MonsterMiniGames) on my recently received Ouya, but after every combination, I'm getting the dreaded "This application is not correctly embedded (wrong wmode value)". Currently I've tried "direct", "gpu" (I even tried "cpu") for "renderMode", and removed it altogether for default in the -app.xml file. I installed the Air apk from labs, tried a non-captive runtime build, and a captive runtime one, all with no luck. Near all of the above settings work fine on my Android phone, Nexus 4, so I thought there wouldn't be any problem with the Ouya, but can't seem to get it work currently.Really would love to see what it comes up with, but am currently left frustrated with not much idea what's wrong, or how to fix it Any help would be greatly appreciated.
hi,My pc has 12 gb.I was developing full scale DESKTOP adobe air app and it started to crash on mousemove. So basically i wanted to see whats available free memory it was showing 50mbthat was too low for my app to process data.So i went back and created simple HTML that shows available free memory...it shows 80mb free....whats going on?.Anyone care to explain? FREE memory should be atleast 50% of allocated memory of processs assuming system uses 50% Here is code and here is HTMLoutput Memory-f-88-t-6452-p-30064HTML <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>PUSH PERFECT</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"><script src="assets/js/frameworks/libs/air/AIRAliases.js"&
Hello. I am still quite green when it comes to the in's and out's of RoboHelp, so please pardon me if my inquiry is out-of-place in any way... I am working on a PC/Mac compatible AIRHelp project in RoboHelp 9, and was wondering if there are any issues with authoring/inserting Actionscript? Essentially what I am looking to do is add two ActionScript source code files... the first is to be added to the project source folder and defines a particular class... the second attempts to validate a function of said class. As these source files are part of a third party purchase, I wanted to verify that this class can be interfaced once the installed .air application is launched.I thank you in advance for your time and information
Hi,I meet a problem that the I can't get GPS info when using Geolocation api. My app is fine when using iOS 5 device, but our customers update their device to iOS 6 today and geo.setRequestedUpdateInterval never response this time. Is this a known bug or I should use a new way to get GPS?It's a very Critical problem for us. Can any one help me? Many thanks
When is the AIR roadmap document going to be updated? It has a roadmap until the "Harrison" release, which seems to be AIR 3.8. I have seen semi-offical references being made by Adobe folks on the web about updating the roadmap. Is an update iminent like in the next week or so ?Thanks,- Abey
Hi Everyone,I have been working hard on trying to remove the air prefix from my app/package id (i.e. air.my.package.name) with the captive runtime featured included in my app at the same time. I have been able to go through all stages except for the creation of a resource.arsc to package inside my.apk . I receive a huge list of errors when using the aapt utility through the terminal to create the .arsc file. They are all say "No resource identifier found for attribute 'property_name' in package 'android'"/Users/CodeMata/Desktop/apkConvert/area/res/layout/ssl_certificate_warning.xml:20: error: No resource identifier found for attribute 'layout_height' in package 'android'/Users/CodeMata/Desktop/apkConvert/area/res/layout/ssl_certificate_warning.xml:20: error: No resource identifier found for attribute 'text' in package 'android'/Users/CodeMata/Desktop/apkConvert/area/res/layout/ssl_certificate_warning.xml:20: error: No resource identifier found for attribute 'layout_below' in pack
Hi everybody,when I open my Air app on an Samsung Galaxy Nexus the soft buttons (back, home, overview) are hidded by default.I have to tap on the black bar to show them. After that they are visible as long as the app is running. Is there a way to make the visible by default?I'm using the air 3.8 SDK.RegardsRobin
Anyone else, started happening on 7-23-13. Not working on any browser or mobile.
adobe air now is v3.8 beta,has not been updated for a long time.adobe ready to give up adobe air?sading...
Hello,Somebody knows if Adobe is preparing an AIR implementation for the WP7 platform?BR,Jesus Bosch
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Sie haben bereits einen Account? Anmelden
Noch kein Konto? Konto erstellen
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.