Running an AS3 mobile project on Android 4.1

I am using Flash Builder 4.6 on Mac OSX and I am trying to run a mobile actionscript project on Android 4.1 on an A1CS Fusion 5 premium+ tablet. Flash builder run configurations does not find connected device. Tablet is in debug mode with mass storage turned off and says it is USB connected. The Mac Finder sees the tablet when it is in  storage mode, so USB connection is good. How do we fix this?

I've had similar problems with PC and had to install drivers for the relevant devices. Not sure what the Mac equivalent is, but looking at the Android SDK docs is a good place to start as they have helped me to resolve connection to several devices in addition to allowing me to install a number of Google provided drivers.
G

Similar Messages

  • AS2 loaded to AS3 mobile project

    Hello, I have a problem witch I hope someone could shed some light on.
    I have about 100 AS2 swfs that were created long time ago... each is a simple 1 screen animation with few buttons.
    I need to build an AS3 android application using those swfs. So I opened  an air android project and imported the swfs with simple loaders.
    When I run the application in flash cs6 it works fine and the AS2 swfs are fully functional, but when I deploy the app to a tablet the AS2 swfs do not work correctly... the buttons are not clickable and the animation is running in loops ignoring the stop() function and every other code in the swf.
    I figured that the code stored in those swfs cannot be read by the tablet and there for it's not working...
    I am realy trying to avoid rebuilding those swfs in AS3 because it will take me about a month!
    Is there any way to solve this problem?
    Or does anybody know a specific reasone for the problem so I can try to find a solution?
    Any help would be appreciated!

    i don't there's any work-around.  the air player does not include avm1.

  • Flex Mobile Project unable to run on android device

    Hi,
    I Have created basic flex mobile project using flash builder and i could able to run on desk top, but while running the same on device i am getting force close exception also dint get any error log. i am using samsung galaxy pop GT-S5570 as my testing device. i have configured usb driver and enabled usb debugging in  my device too. any help to resolve this process?

    08:20:45.751 Raw device 'sd=sd1,lun=/dev/rdsk/c3t5000CCA03EC50D5Dd0s0' does not exist, or no permissions.
    Looks like either your lun doesnt exist  OR you running vdbnech session not as root.
    (Only a guess )

  • Error when running a newly created mobile project

    Hi,
    Every time I create a new mobile project in Flash Builder and try to run it I get this error message:
    TypeError: Error #1009: Cannot access a property or method of a null object refe
    rence.
              at com.coursevector.flashbug::Profiler/allCompleteHandler()
    [SWF] NoteTakerMob.swf - 2,698,930 bytes after decompression
    I get this when I try compiling against Flex SDK 4.5 and 4.5.1, and whatever type of mobile app I try to build, e.g. view based, tab based or blank view.
    Does anyone know what the problem may be?
    Stephen    

    Found the cause of the problem, its FlashFireBug in Mozilla. When a swf is launched FlashFirebug tries to capture the swf, this messes up mobile apps running on the desktop.
    Found the answer in this post: http://forums.adobe.com/thread/852612

  • Flex Mobile Project only lists "Google Android" in Target Platforms

    I just downloaded the masters colection cs5.5 and im am using FlashBuilder 4.5.  When I create a new Flex  Mobile Project, only Google Android is a target platform.  I don't see  Blackberry or iOS as options.
    I do see Apple iOS when I create a mobile ActionScript project.
    This must be due to a configuration setting.  Can anyone help?
    i have already looked at this peron post and i have tryed all of the sollutions and none of them seem to work http://forums.adobe.com/thread/867857

    That didn't help me either.  Ultimately, here's what I did.
    I uninstalled and reinstalled the software
    After it was reinstalled, I updated to the 4.5.1 SDK PRIOR to doing any other software update.
    Then I updated the Software
    The software update found all new items and installed them properly (which is what I believe the issue is -- if you update prior to using the 4.5.1 SDK it doesn't install the required bits).
    Now it seems to be working for me.
    Not sure if that's the problem, but that's how I fixed it.

  • How to run oracle forms in ipdad or smart mobile using OS android

    please help me
    how to run oracle forms in ipad or smart mobile using OS( android )and connect to application server 10g?????
    Thanks

    If you had looked at data dashboard and some of the other links on Android, you would see that you cannot run a LabVIEW app on Android. Nor can you use a serial port. With Data Dashboard, you have a pc running LabVIEW and it publishes to network shared variables. Data Dashboard on the Android allows you to view those variables.

  • ANE for one platform on Flex mobile project for iOS and Android

    I'm very new at Flex Mobile Projects and native extension.
    I have a big doubt... If I have an ANE that only works on iOS or Android, can I use it into a project for Android AND iOS?
    I mean, if I want to do something and I've only found and ANE that works for iOS and another ANE that works for Android, can I create only one project and depending on the device use one or another? or should I create two different projects?
    Thanks in advance

    You can set them both up and when you publish just comment out the code that does not apply, this way you still keep it as one project but you can use the ANEs as needed, I had to do this with the iAd ANE only for Apple obviously and AdMob ANE which at the time was Android only.
    Example
    //Android ANE Code
    blah blah blah
    //iOS Code
    code code code
    Now when you publish for iOS comment out the Android related stuff
    //Android ANE Code
    blah blah blah
    //iOS Code
    code code code
    Also dont forget to update your included ANEs when you publish and remove the ones that dont apply and update the XML files as needed. Its possible, but annoying, it would be nice if it was automated or could be flagged somehow so the Flash publisher would auto ignore it.

  • Is there a way to use Stage3D in Flex Mobile projects on iPad?

    When I create a project of type "Action Script Mobile Project" the Stage3D works on iPad, Android device and in the AIR desktop simulator.
    But when I create a project of type "Flex Mobile Project" it works in the desktop simulator and on Android device but does not work on iPad.
    When running on iPad the stage.stage3Ds[] collection is empty.
    Is it a sort of limitation made by intent? Or a bug? Or maybe I am doing something wrong?
    What I actually need is an ability to render offscreen bitmaps with GPU in an application that uses Spark UI. This is why I need Flex Mobile project.
    My configuration is the following:
    iPad with retina display
    Sony Xperia Tablet Z
    AIR SDK 3.7 (and I have also tried AIR SDK 3.8 today)

    Hi,
    Check this thread, discussing the similar issue
    Re: What video format that is compatible with Muse

  • Flash Builder 4.6 Mobile Project Using Blazeds & Native Extension

    Hi,
    I'm building a Flex Mobile project in FB, that uses BlazeDS to access data through a Spring Project, and also uses an ANE file to access the device's contacts.  I want to debug the application on a device connected with a USB cable, so had to set my root and output folders in Server Settings  using UNC so it can be found from my device thru my wifi network. I also have added the native extension via the Build Path and Packaging tabs.  When I debug from a desktop emulator, things launch OK and the extension correctly tells me it's not supported on the emulator. However, if I debug on the device, FB throws an exception at launch, complaining of a java null pointer exception.  The Eclipse log, in part, looks like this:
    com.adobe.flexbuilder.project.AbstractXMLModel$FileReadException: org.eclipse.core.internal.resources.ResourceException: Resource '/NewOne-debug/NewOne-app.xml' does not exist.
              at com.adobe.flexbuilder.project.air.internal.xml.ApplicationXMLModel.<init>(ApplicationXMLM odel.java:102)
              at com.adobe.flexbuilder.project.air.AppXMLCreator.init(AppXMLCreator.java:91)
              at com.adobe.flexbuilder.project.air.AppXMLCreator.<init>(AppXMLCreator.java:80)
              at com.adobe.flexbuilder.project.air.AppXMLCreator.<init>(AppXMLCreator.java:73)
              at com.adobe.flexbuilder.project.ui.utils.ANE.AppXMLFileANEExtensionHandler.getAppXMLCreator (AppXMLFileANEExtensionHandler.java:153)
              at com.adobe.flexbuilder.project.ui.utils.ANE.AppXMLFileANEExtensionHandler.retainExtensionI ds(AppXMLFileANEExtensionHandler.java:315)
              at com.adobe.flexbuilder.project.ui.utils.ANE.ANEController.modifyAppXMLforPackaging(ANECont roller.java:371)
              at com.adobe.flexbuilder.project.ui.utils.ANE.ANEController.modifyAppXMLforPackaging(ANECont roller.java:338)
              at com.adobe.flexbuilder.project.ui.utils.ANE.AbstractANEPackageHandler.modifyAppXMLforPacka ging(AbstractANEPackageHandler.java:91)
              at com.adobe.flexide.launching.multiplatform.launchhandlers.AbstractMultiPlatformLaunchHandl er.applyNativeExtensionDetails(AbstractMultiPlatformLaunchHandler.java:164)
              at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.doPackage(ADBLaunchHan dler.java:424)
              at com.adobe.flexide.multiplatform.android.launching.ADBLaunchHandler.launch(ADBLaunchHandle r.java:250)
              at com.adobe.flexide.launching.multiplatform.MultiPlatformLaunchDelegate.launch(MultiPlatfor mLaunchDelegate.java:191)
              at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate. java:244)
              at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate. java:134)
              at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:854)
              at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:703)
              at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:928)
              at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1132)
              at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Caused by: org.eclipse.core.internal.resources.ResourceException: Resource '/NewOne-debug/NewOne-app.xml' does not exist.
              at org.eclipse.core.internal.resources.Resource.checkExists(Resource.java:320)
              at org.eclipse.core.internal.resources.Resource.checkAccessible(Resource.java:194)
              at org.eclipse.core.internal.resources.File.getContents(File.java:287)
              at org.eclipse.core.internal.resources.File.getContents(File.java:278)
              at com.adobe.flexbuilder.project.air.internal.xml.ApplicationXMLModel.<init>(ApplicationXMLM odel.java:100)
              ... 19 more
    I guess the problem is that when the application tries to run on my device, the extension is not finding the application descriptor file.  Is there anything else I need to do?
    I appreciate any help.
    Jay

    Here's the fix in case anyone else runs into this problem.  When Flash Builder is building the deployment during launch, it converts the mapped path to a mangled local path for the ane to find the descriptor to a relative path, which can't be found and throws the null pointer.  Making the Output Folder path actually local to the computer, as opposed to the default that FB creates, resolves the error, and still allows blazeds access from the device.

  • Why am I getting-"The ExternalInterface is not available in this container" in Flex Mobile Project

    I am using StageWebView to show an HTML page. I want to call a function in my flex mobile project to be called from a JS function. Using ExternalInterface, I have 
       in Flex - 
        ExternalInterface.addCallback("myFunction",myFunc);
       in JS -
            function thisMovie(movieName) {
               if (navigator.appName.indexOf("Microsoft") != -1) {
                 return window[movieName];
               } else {
                 return document[movieName];
           function showAlert()
                  alert("Going to call AS function");
                thisMovie("ShowLocalHTML").myFunction("Hello");
                  return false;
    I am getting "Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime." when trying to run the application.
    And my project targets Android platform. And  I have Mozilla, Chrome installed on my desktop - although I am not user if that is relevant to the problem.
    Please help in resolving this issue.

    Is there an alternative?
    I want to display a local HTML file and then allow for JS to Flex communication. I am new to Flex and AS. As per my understanding, StageWebView is the only way to
    show a local HTML file in a mobile project. If the script interface is not available - then I cannot achieve JS-to-Flex communication. So is there any other way to do this??
    Please help ...else I will have to abandon my foray into Flex, AS and go back to Android Java.

  • Getting Error while deploying ADF Mobile App in android Emulator

    Hi All,
    I am getting following error while deploying mobile app into android emulator........i have gone through google search and i hve done with all the steps...as follows
    1. keytool -genkey -v -keystore debug.keystore -alias androiddebugkey -keyalg RSA -keysize 2048 -validity 10000
    i gave password, last name ,organization, state and country
    2. jarsigner -sigalg MD5withRSA -digestalg SHA1 -verbose -keystore /Users/Admin/.android/debug.keystore C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1/generalmobileapp.apk
    3. /platform-tools/adb -e install -r C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1/generalmobileapp.apk
    After the above step...i got SUCCESS message(while running the above step in command prompt ).........
    Even after that.... I am getting same error while deploying my app using jdeveloper into android emulator.....
    ERROR:
    [09:40:02 AM] Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
    [09:40:02 AM]
    [09:40:02 AM] Command-line execution failed (Return code: 0)
    [09:40:02 AM] Command-line executed: "E:\android\adt-bundle-windows-x86_64\sdk\platform-tools\adb" -e install -r "C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\generalmobileapp.apk"
    [09:40:02 AM] Deployment cancelled.
    [09:40:02 AM] ---- Deployment incomplete ----.
    [09:40:02 AM] Deployment failed due to one or more errors returned by 'E:\android\adt-bundle-windows-x86_64\sdk\platform-tools\adb'. The following is a summary of the returned error(s):
    Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
    Regards,
    Nani
    Edited by: 962874 on Jan 12, 2013 6:46 AM

    The emulator can run out of space for applications - so if you have other applications deployed to the emulator remove them and then try again.
    Other options here:
    http://stackoverflow.com/questions/2239330/how-to-increase-storage-for-android-emulator-install-failed-insufficient-stora

  • Flex Mobile project scaling with Retina display iPad (3rd gen).

    Adobe et al,
    With the new iPad 3 we now have a ton more pixels to utilize. I'm familiar with and have already successfully tested the AIR 3.1+ commandline compiler option (-platformsdk) to get Retina display on the new iPad. In ActionScript mobile projects the content is rendered beautifully on the new iPad. But with Flex Mobile projects, something is happening that causes it to render incorrectly. It's retina display alright, but the size is way too small.
    Below is an image WITHOUT the -platformsdk build tag, that causes the app to be pixel doubled to fit on the new iPad:
    Notice that it's scaled proportionally, even though the text and components are slightly pixelated. Not a big deal, but noticeable on the device.
    This image is taken with the app rendering in Retina display (setting the -platformsdk pointing to iOS 5.1 SDK):
    As you can see, the text/components are rendered really clear, but the scale is way off. Obviously it's getting the width of 2048x1536 from the device, but it's way too small.
    How do I fix this? I've tried changing the applicationDPI, but it doesn't fix it. Setting a width/height of 1024x768 does nothing either. It seems we need to overrride a behavior that causes it to fit everything in so small.
    A little help?
    Thanks,
    iBrent

    Alright, kevinkorngut's answer was the right one. It appears that even though AIR 3.x can render high resolution apps, it still returns the incorrect DPI for the new iPad. In a Flex Mobile project you have to override the DPI using the method mentioned above.
    Here are the results I got:
    Using the runtimeDPIProvider property on the TabViewApplication tag (works for any of the three project types) I created a class that extends RuntimeDPIProvider. To detect which iPad I was on, I used the following code:
    override public function get runtimeDPI():Number
         var os:String = Capabilities.os;
         if(os.indexOf("iPad") != -1)
              if(Capabilities.screenResolutionX > 2000 || Capabilities.screenResolutionY > 2000)
                   return DPIClassification.DPI_320;
              } else {
                   return DPIClassification.DPI_160;
         } else {
              return Capabilities.screenDPI;
    I'm returning a DPI of 320 as this gives the best result that matches the proportions of the device. In other words, even though the iPad DPI is 264, setting the app to 320 gives the correct size at the new Retina display.
    In order for this to work, you must compile the app with the -platformsdk flag pointing to iOS 5.1 SDK, and currently that means you need a Mac running Lion with Xcode 4.3.1. Here's the adt command I used:
    adt -package -target ipa-test -storetype pkcs12 -keystore ~/Desktop/iOS_DevCert.p12 -provisioning-profile ~/Desktop/iOS_DevProfile.mobileprovision newiPadTest.ipa newiPadTest-app.xml newiPadTest.swf -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPh oneOS5.1.sdk
    Also, the -app.xml descriptor file must have the <requestedDisplayResolution>high</requestedDisplayResolution> within the <iPhone> tags.
    Thanks everyone for their replies!
    iBrent

  • FLEX mobile project SDK?

    I've built my air/android apps using "Flex Mobile projects" in Flash Builder 4.5. I really need to test front camera support in an app im about to release. Will there be a Flex version of the Beta SDK so I can test this in my flex mobile projects? is it possible to use the "AIR 3 SDK Beta 2" SDK with a flex mobile project somehow?

    Yes follow the instructions here to change out the AIR version under Flex SDK 4.5.1
    http://blogs.adobe.com/cantrell/archives/2011/08/how-to-use-the-air-3-beta-sdk.html

  • Flex mobile project standalone flex server resets to J2EE and can not change

    Developing an Android mobile project with FB 4.5. Set original project-->properties-->flex server to standalone with coldfusion as server.  After setting web root, Root URL and Coldfusion root folder app works fine with CF. Sometime during development, flex server gets set to J2EE and CF access halts.  Go back into project-->properties-->flex server and reset server to 'standalone' with original settings.  click Apply or OK and assume that it is reset but it does not.  Go back into flex server settings and it is still J2EE.  I have seen this issue before and can not resolve it or find any other threads where there is a resolution to this.  My only way to continue is to start a new mobile project, import the files and continue.  This is not an acceptable way to design any mobile project!!  HELP!!

    Developing an Android mobile project with FB 4.5. Set original project-->properties-->flex server to standalone with coldfusion as server.  After setting web root, Root URL and Coldfusion root folder app works fine with CF. Sometime during development, flex server gets set to J2EE and CF access halts.  Go back into project-->properties-->flex server and reset server to 'standalone' with original settings.  click Apply or OK and assume that it is reset but it does not.  Go back into flex server settings and it is still J2EE.  I have seen this issue before and can not resolve it or find any other threads where there is a resolution to this.  My only way to continue is to start a new mobile project, import the files and continue.  This is not an acceptable way to design any mobile project!!  HELP!!

  • Possible to obtain phone IMEI number with flex mobile project?

    Just like the title says, is it possible to obtain phone IMEI number with flex mobile project? If not, does anyone know of another method to get a unique number to identify the phone being used (on android and iphone)? I'm asking because I'm building a chat application, and I need a way to potentially ban users based on something other than an IP address.
    edit: now that I think about it, an IMEI number might not be the best way, since wifi tablets may not hav an IMEI number, anyone have any other idea how I could get a number to identify a device that would already be present, because i'm afraid if its something generated by me, a simple uninstall and re-install could circumvent a ban.

    If this is an Android project, you can use this ANE:
    http://blog.snowflax.com/native-imei-action-script-extension-for-android/
    I have verified that it does work and provides the IMEI.  For cases where there is no IMEI ( bc the device is not a mobile phone, or it uses IMSI instead ), you can just bypass the device id check with your database, and enable full functionality.
    Although this is not full-proof, it will nevertheless screen a lot of devices.  With this, you can keep track of the number of app installs / resets, and add a 'banned' flag if you want to in your DB -- if you see unusal activity ( like:  unsually high number of re-installs ).
    ----->  UPDATE:
    I just found this ANE which  includes a class called 'SystemProperties', to find the IMEI/IMSI/serial/phone number on Android, and the MAC address on iOS:
    https://github.com/mateuszmackowiak/NativeAlert
    I have verified that the iOS part works, but haven't tried the Android side, yet.  Note: for iOS, it will also give you a UUID ( even though the object tag claims it is the UDID -- it's not ), which is worthless as a persistent means of identifying the device. since it gets reset on each app re-install.  So, for iOS, you have to use the MAC address, unless you are willing to store/restore the UUID into EncryptedLocalStore, as suggested by a user in:
    http://stackoverflow.com/questions/6794493/get-unique-identifier-mac-address-udid-etc-in-a dobe-air-for-ios

Maybe you are looking for

  • HT204053 Apple ID on multiple devices

    I have made a big step up to a iMac, because i have 2 iPhones, 2iPads and a ipod for my daughter.  I am having issues with the iMac message portion seeing ecery text being sent from every device using my apple ID. What should I do or how do I allow a

  • Need suggestion on the entire hardware specs for running Oracle VM 2.2.2

    Hi, I need some suggestion on the preffered hardware specs which can be given to a customer, he wants to run Oracle VM 2.2.2 or Oracle VM 2.2.1. He has already used Cisco UCS with NetApp storage for OVM 2.2.2/2.2.1 and has being unsucessful with lots

  • Is there any ways how to retrieve this folder: /var/db/volinfo.database. Luckily the files in the trash are not deleted yet. But what shall I do now?

    Hi, I am using Mavericks and my MacBook is MacBook Pro with Retina Mid 2012. And I made a little silly mistake, I deleted db folder, which is this: /var/db/volinfo.database Luckily, the files in Trash have not been deleted (I am not sure). because th

  • Session management in JSF

    Hi all I am confused with how to manage users session when logged to my web app (jsf 2.0 primefaces 3.3.4 and glassfish server 3) I actually use a UserBean class that has the following: * To change this template, choose Tools | Templates * and open t

  • Oracle 9i SID

    hi all, i have the following question : a) I am using windows XP professional and oracle 9.0.1 enterprise edition. Under the windows environment, how do i set the environment variable of the oracle SID ? In UNIX (SUN SOLARIS), the oracle_sid can be s