How can I put my main Application class in a package?

Hello,
I would like to put my main Application class for my air app inside a package. If I create a regular FLX application, this works fine. In that case I just move the application file created into a packade and change the run/debug settings. This does not work for an Air app however, when I try I first get the error:
Adobe AIR application is missing the corresponding MyApp-app.xml
So I move the MyApp-app.xml into the same package, then I get:
Unknown error generating output application.xml files. Check the Eclipse error log for more details.
Is it possible to have the man Application class reside inside a package for air applications?
Regards,
Mikael

Hi Mikael,
I ran into the same result as you so I asked around and it sounds like this might not be supported.  However, I'd recommend reposting this question over on the Flash Builder forums to see if anyone has found a workaround.
Please let me know if you're able to resolve this.
Thanks,
Chris

Similar Messages

  • Flex mobile:how can view listen to main application events?

    I used to use "this.parentApplication.addEventListener" to listen to main application's events in AIR for desktop. But this seems not working in AIR for Android.
    What is the trick? Or what's the new event mechanism?

    It's now FlexGlobals.topLevelApplication. parentApplication may or may not point to the same thing depending on it's context.

  • How can I put an image/s in Java Application?

    Hi to all.
    How can I put an image/s in Java Application?
    I can put some images in Java applet but when i try to put it in Java application there was an error.

    hey u can easily do it with JLabels...i found a Code Snippet for u
    public class MyPanel extends JPanel
    {private JLabel imageLabel; public MyPanel() {     Image image = Toolkit.getDefaultToolkit().getImage("myimage.gif"); // Could be jpg or png too     imageLabel = new JLabel(new ImageIcon(image));     this.add(imageLabel);  }}
    hope it helps
    Cheers,
    Manja

  • How can I make server use single class loader for several applications

    I have several web/ejb applications. These applications use some common libraries and should share instances of classes from those libraries.
    But applications are being deployed independently thus packaging all them to EAR is not acceptable.
    I suppose the problem is that each application uses separate class loader.
    How can I make AS use single class loader for a set of applications?
    Different applications depend on different libraries so I need a way that will not share library for all applications on the domain but only for some exact applications.
    When I placed common jar to *%domain%/lib* - all works. But that jar is shared between all applications on the domain.
    When I tried to place common jar to *%domain%/lib/applibs* and specified --libraries* attribute on deploying I got exception
    java.lang.ClassCastException: a.FirstDao cannot be cast to a.FirstDaoHere http://download.oracle.com/docs/cd/E19879-01/820-4336/6nfqd2b1t/index.html I read:
    If multiple applications or modules refer to the same libraries, classes in those libraries are automatically shared.
    This can reduce the memory footprint and allow sharing of static information.Does it mean that classes should be able to be casted ?

    You didn't specify which version of the application server you are using, but the config is similar as long as you know what to look for. Basically, you need to change the classloader delegation. Here's how it is done in 8.2
    http://download.oracle.com/docs/cd/E19830-01/819-4721/beagb/index.html

  • How can i put my apps onto my main screen

    I have just updated my iphone, wish i didnt. but all my apps arent on my main screens, how can i put them on the screen?

    Press and hold your finger on any app icon until they start 'jiggling'. Then move them to wherever you like. Then press the home button to lock them in place.

  • How can I put iTunes app on my main page where all my apps are located

    How can I put an iTunes app on the page
    That I hit to go to an app.

    The manual covers how to move icons:
    iPhone User Guide (For iOS 4.2 and 4.3 Software)

  • How can I test servelt with application at Tomcat?

    how can I test servelt with application at Tomcat?

    Assuming u have coded the servlet already there are certain things u need to do for exceuting the servlet in Tomcat,
    1) Assuming u r putting the servlet inside the directory named 'Mywebapp' under webapps directory, u need to create directory named Web-inf under Mywebapp and classes under Web-inf.
    Copy web.xml file from any of the webapps (like the example webapp) into mywebapp.
    Copy any one of the sample servlet specification in the web.xml and customise for ur servelt.
    then save the web.xml file and start the Tomcat.Am assuming u have included the mywebapp entry in the server.xml file.
    then invoke the servlet like http://machinename:8080/mywebapp/servletname

  • How can i put some file (xml) in root apk?

    how can i put some file (xml) in root apk?
    I put fileA in flash builder mobile project.
    build apk.
    fileA  →  "main.apk/assets/fileA" . 
    expect → "main.apk/fileA" .
    PS: view apk by Winrar.
    I have a Demo Android java project.
    It uses armeabi/libcasdkjni.so .
    build apk

    +assets
    +lib
    +META-INF
    +res
    -AndroidManifest.xml
    -classes.dex
    -CopyrightDeclaration.xml
    -mmiap.xml                                                       ←   fileA
    -resources.arsc
    -VERSION
    i build an ANE include armeabi/libcasdkjni.so.
    apk is missing mmiap.xml

    all files will be embed in "assests"(floder in apk ,which includes swf file) in that way.
    build apk

    +assets                                ←         "assets"
    +lib
    +META-INF
    +res
    -AndroidManifest.xml
    -classes.dex
    -CopyrightDeclaration.xml
    -mmiap.xml                                                       ←   fileA
    -resources.arsc
    -VERSION

  • How can I put my icloud photos to camera roll or photo stream?

    I got a nee iphone, i backed up everything and restored it into mu new iphone, but the pictures didn't restore so i did it manually but now on my phone i got different albums icloud photo stream and camera roll. How can i put the icloud picture into camera roll or photo stream. Any ideas?? On my old iphone ive deleted everything.

    Hello Ozzie94,
    Thanks for the additional information. The camera roll is designed for photos taken on your device, or saved images from Mail and other applications. Photos synced from a computer are organized into their own album(s):
    View photos and videos - iPhone
    http://help.apple.com/iphone/7/#/iph3d267610
    - Camera Roll—photos and videos you took on iPhone, or saved from an email, text message, webpage, or screenshot
    - Shared photos and videos—Photos and videos that you’ve shared with iCloud Photo Sharing or that others have shared with you (see iCloud Photo Sharing)
    - Photos and videos synced from your computer (see Sync with iTunes)
    Additionally, you may find more information by using another one of Apple's support resources - https://getsupport.apple.com
    Thanks,
    Matt M.

  • How can I run a java-application on starting of Windows 2000

    How can I run a java-application without any user on starting of Windows 2000?
    For example, if the computer is restarted and nobody enter into it yet, my java-application should run anyway.
    How can I do that?

    Hi, you have to put it in a Windows service.
    To do this you have a program, Srvany.exe that allow to insert a .exe or .bat program in a Windows service.
    For example, i develop a program, TomcatGuardian and i put it in a service because i need to run it in a server without Administrator logged in.
    Regards,
    Ivan.

  • How can I put different clips in the "DropZone"

    Hey,
    Just wondering how can I put different scenes in dropzones of a customized template in Idvd....
    I imported my film from IMOVIE its' not saved as a movie format such as .mov or .avi it's saved as a project file... so I dont know how I would be able to do have different scenes in different drop zones.. I can only import the whole thing in a dropzone...
    Cuz on customized template there is like 3 dropzones is there a way i can delete the other 2?
    Please help me out,
    JOey Dee

    Hello Joey,
    the dropzone is actually not meant to contain your main movie. If you want to import your iMovie project by drag'n drop, drop it just above the bottom of the preview window. Alternatively choose File > Import > Video from the menu and select your iMovie project.
    If you have 3 dropzones, you should create 3 short (30-45 sec) movies and/or slideshows to place in the dropzones.
    Have a look at this little tutorial:
    http://www.kenstone.net/fcphomepage/idvd_5stone.html
    hope this helps
    mish

  • How can I put a "esc" character in the command line of the Iinstrument I/O Assistant?

    Hello
    I'm trying to prepare a VI for a device (Ultrasonic detector) connected to my RS-232 serial port, and which requires commands and enquires in the format
    The problem is very simple....since is a non printable character, how can I put it in the command line of the Instrument I/O Assistant???
    Best regards
    Massimiliano

    Hello Massimiliano,
    Thanks for contacting National Instruments.
    To answer you question, the best way to do what you are looking to do is to use the instrument I/O Assistant to generate whatever you want the code to do without the non-displayable characters, then once the Instrument I/O Assistant block is on the block diagram, then right click on the Assistant block and select to open the front panel. You will want to choose to convert it to a standard VI, which will allow you to change the code that has been auto generated. In order to add non-displayable characters to this code you follow the knowledgebase link below.
    http://digital.ni.com/public.nsf/websearch/77c8f61d36f5a23086256634005acb38
    Hope this helps!
    Regards,
    Steven B.
    Applications
    Engineering
    National Instruments

  • How can i put text across a photo?

    how can i put text across a photo?

    You'll need an external editor for that:
    In order of price here are some suggestions:
    Seashore (free)
    The Gimp (free)
    Graphic Coverter ($45 approx)
    Acorn ($50 approx)
    Pixelmator ($50 approx)
    Photoshop Elements ($75 approx)
    There are many, many other options. Search on MacUpdate. You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically. This is the only way that edits made in another application will be displayed in iPhoto.

  • How can i put FPM Buttons in custom FPM Views.

    Hi,
      How can i put FPM Buttons in custom FPM Views.
      Couldn't locate them in web dynpro layout or FPM Views and application in Portal Content.
    Thanks,

    Hi,
    you should describe a little bit more what you want to do (e.g. navigation buttons or buttons in containers like e.g. in ESS Address). FPM usually has a quite high reusability so button components are often reused. In case there is already a button component that has everything you need you can just use the self-service administrator to add this view to the right perspective in your FPM application. In case you talk about those buttons that are in the Overview screens than those buttons are dynamically generated.
    In case you just want to have your own button then create this button and fire an FPM event from it. You need to add this event to the FPM view configuration in the self-service administrator. Alternatively you can create a button component and reuse it later.

  • How can I deploy the WAR application in the Tomcat

    How can I deploy the WAR application in the Tomcat. Do I have to do any manifest file.
    Thanks
    S. Nikov

    First of all, which version of Tomcat are you using?
    Deploying a WAR file in Tomcat is very easy. Just put the WAR file in the %TOMCAT_HOME%\webapps directory and start Tomcat. It will automatically find the WAR.
    Please read the Tomcat documentation: start Tomcat and point your browser to http://localhost:8080
    Jesper

Maybe you are looking for