ActionScript 3 :: Adobe AIR Native Application Menu
Mar 8, 2011
I'm trying to add some menuItems to an AIR app application menu in the mac, I know that is possible to add to the standard one the application have instead of replace the whole menu, but I can't found any example on adding not replacing the whole the menu.
View 1 Replies
Similar Posts:
Oct 8, 2010
I'm trying to develop a simple mxml Flex application to start Skype from the AIR/Flashplayer runtime. Is it possible to get back events from a native Windows application? In the simple example of Skype, the OS returns control to the Flex app when Skype exits. But what about native applications which have their own event model and wants to communicate with the Flex event model. For example, a Face detection system which shows "Hello" on a Flex app when the camera detects a face. Can this be done in the current Flex framework?
View 1 Replies
Sep 7, 2011
I recently came to know about the adobe flash builder with flex in latest release it supports to achieve the benefits of flash for iOS apps.As i am looking for a calendar based app,before taking the Adobe flash builder as a solution, i would like to be clear on the following queries.
What limitation is there of the ipa file generated from FB 4.5 as opposed to a core COCOA touch based solution What are the performance differences between the FlashBuilder app and natively built iPhone app. Is there any limitation of building a HTML5 based app given the calendar functionality apart from look and Feel.
View 1 Replies
Jan 7, 2012
I am writing an extension that will allow a Flex application to access Android's native image picker. I am able to launch the image picker activity without issue, but after it returns to the caller, which is an FREFunction object, onActivityResult is not called. Because of this, I am unable to figure out what image the user has chosen.
When I use the exact same contents of the FREFunction in a native Android app, The app works fine, and I am able to retrieve the URI of the chosen image in onActivityResult. How can I get onActivityResult to fire, or at least retrieve the information returned by the image picker activity?
View 1 Replies
Sep 9, 2009
In adobe air, is there anyway to get OS open a file, in their native applications?
View 3 Replies
Aug 26, 2010
i have an adobe air app that captures screen and saves image on desktop. The App works fine on windows 7 but it just does not work on windowsXp. The App use native windows exe that was built in C# using Visual Studio 2010. Its video tutorial and code is given at [URL]...
The app just does not work on windows and gives no compile time or runtime time error and offcourse it does not save image on desktop.
View 2 Replies
Dec 12, 2011
currently I am coding a android mobile app in Flex with the Flash Builder. I am tring to get the Voice Recognition of the Android Platform working but it seems to be complicated. I managed to write a Native Extension that at least displays the Android style voice recognition that asks for speech input. I found out that for the android system the speech input dialog represents an activity where you can wait for the activity's response and overwrite the onActivityResult function. And there is the problem. Since I have to call the Activity "Voice Recognition" in the FREContext the response of the Voice Recognition Activity gets lost.
[Code]...
View 1 Replies
Jun 18, 2010
I would like to be able to operate a scanner from my AIR application. Since there's no support for this natively, I'm trying to use the NativeProcess class to start a jar file that can run the scanner. The Java code is using the JTwain library to operate the scanner. The Java application runs fine by itself, and the AIR application can start and communicate with the Java application. The problem seems to be that any time I attempt to use a function from JTwain (which relies on the JTwain.dll), the application dies IF AIR STARTED IT.[code]
View 2 Replies
Feb 16, 2011
How do I open a new window as hidden? (note the visible="false")
<s:Window xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx"
showStatusBar="false"
resizable="false"
visible="false">
If I declare a window this way, and then call this.open(false);, the window will quickly open and then hide, and then be reshown when I actually display it, I want to do this to be able to load content and fit the window to that size before showing it.
View 1 Replies
Apr 9, 2009
1. Is there any way to send events from one native window of an application to another native window of the same application? For ex. a login window pops up when the app starts in the main window. Once the login is successful, an event should be posted to the main window, so that it starts displaying other things. Right now, I am posting an event, but it is not reaching the main window (nothing shows up in trace and breakpoint is not hit in the main window).
2. Is there a way for any window to grab focus? For ex. the login window above grabs the focus till the creds are keyed in. I mean, the user should not be able to select the main window at all till this window is active.
View 3 Replies
Nov 9, 2011
I am trying to develop an android extension for air, but I have a problem with resources.According to this : Official adobe doc - FREContext and this Extending AIR by Oliver Goldman We simply have to add the resources we need in the res file of the Native part, then they are added inside the .ane file and passed to the final apk. In order to access them though we have to use getResourceId( "drawable.background_image" ) instead of R.drawable.background_image
But when I generate my extension, the res file is actually not even included anywhere inside the .ane file and also not inside the final apk. And I have found not a single extension on the net using resources (not even in the adobe samples)For this test I simply use the basic Hello world Vibrate test, but I added a new png in the drawable folder.As you can see while unziping the .ane file, then going to META-INF/ANE/Android-ARM the res file is absent.As a result, the program crashes when I try to access my resource FREContext.getResourceId("drawable.ppy_accessory_manage.png")
PS, here is my batch to compile the ANE :
set adt_directory=C:Program FilesAdobeAdobe Flash Builder 4.6sdks4.6.0in
set root_directory=C:UsershugoAdobe Flash Builder 4.6
set library_directory=%root_directory%HelloANELibrary
[code]....
View 1 Replies
Jul 26, 2010
I am developing an Adobe AIR application which uses both native windows and floating panels. Is is possible to enable the creation of a floating window instead of a native window when a JavaScript window.open() function is called?
It is required that all of the floating windows are contained within one native window, therefore the creation of more native windows is not suitable.
I have used a Custom HTMLHost class in order to enable the creation of a native window but I can't work out a way of creating a MDI window instead. I am using the flexMDI framework for my floating panel interface.
View 1 Replies
Nov 16, 2011
I am writing an AIR application through which I want to open a native process 'wordpad.exe' and write data generated in the AIR application to a document.
My code is as follows:
import flash.desktop.*;
import flash.errors.*;
import flash.events.*;
[Code].....
The wordpad application opens with a blank document but it generates an error Error#2044: Unhandled IOErrorEvent:.text=Error #3128: Error while writing data to NativeProcess.standardInput.
View 1 Replies
Jan 31, 2012
I am developing application with Adobe Flex on AIR platform. Using native extension for Android, it is possible to send SMS from my Flex application. Would it also be possible to receive SMS with my application (receive Broadcast carrying information about incoming SMS)? More generally, is it possible to receive Android Broadcasts in my Flex application?
View 1 Replies
Jul 30, 2011
I've been trying to use ffmpeg with an air app that I made in flash cs5.5. I have it so that ffmpeg.exe needs to be located in the directory where the air app is installed (File.applicationDirectory.nativePath). For some reason this only works when I run the program through the flash dev environment. But when I actually deploy the app, I get error #3219:The NativeProcess could not be started. ffmpeg.exe is located in the same folder.
I actually don't know the full message that it gives...not sure what the property of the error that will give me that message when I catch it. All I know is that it's error 3219. Would this be a profile issue? If i didn't have the extended desktop desktop profile, I don't think I would be able to get this error, I'd get a profiling error wouldn't I? I've disabled user access control as well...I'm using windows 7.
View 2 Replies
Dec 20, 2011
I am looking for utility/helper classes for Adobe AIR/actionscript 3.0 file system and native process utilization. Could someone point me to opensource library projects specific to Adobe AIR..
View 2 Replies
Mar 4, 2011
I am working on an Adobe AIR Application. The size on Application window is 800X600 and is contains border container and border container contains many controls. What I want is to if user re-sizes the application then that container should also be re-sized according to scale. i.e If user maximizes or minimizes the window then that border container should also be maximized or minimized respectively.
View 3 Replies
Aug 29, 2011
I have a native (Obj-C, standard Xcode project) application and I'd like to integrate a partners iOS application (or specifically, it's functionality) into it as just another view in my application. The problem is that their application is a Flex/Air app. I really don't understand the Adobe compilation process on how it gets from a bunch of flex code down to an IPA. I don't see intermediate projects, shared objects, etc on the disk to produce that IPA. It looks like it doesn't rely on the Apple tool chain... as I understand it, you can produce the IPA on Windows as well. Is there any way to build that Flex app in such a way that I can import it into Xcode so I can link against it and use it as a library from within my application? While I specifically used iOS as an example since that is the most important platform, we'll want to apply this solution to our respective Android and Blackberry 6 apps as well.
View 1 Replies
Feb 20, 2012
I have some files in my src directory, some are .class files (Java class files) and some are .properties files, when I create the Adobe air native installer these files are not included. Why is that? How can I work around that?
Also it excludes .mxml files, but that's good. I'm sure that's related, how to change what it includes or excludes?
View 1 Replies
Sep 21, 2011
How create Context menu in AIR application plus how add sub menu against any parent item in Flex?
View 2 Replies
Aug 25, 2011
develop apps for Android (creating .apk's using the bunddled Air).
I'd like to know how can I use the "native" Android menu on my app.
View 1 Replies
Feb 11, 2010
I've already built a flash 10 flex application which use the p2p feature (I'm using a developer key to connect to stratus), currently everything works fine. Now I want my application to run on Adoble Air Runtime, but it seems that p2p does not work for Air. I can successfully connect to stratus server in Air application, but after that, when I try to use NetConnection.nearID, an error occurs saying:"ReferenceError: Error #1069: Property nearID not found on flash.net.NetConnection and there is no default value."I've tried flex sdk 3.2 and 3.4, and neither of them works. Does anyone ever developed an Air Application that use p2p and can provide some hints?
View 2 Replies
Jun 26, 2009
How to update air application after install in system . updated not be reinstall will be automatically?
View 2 Replies
May 19, 2010
How to determine if an application (e.g. Adobe AIR) is running on a 64-bit OS? What function could one use to check this?
View 2 Replies
Sep 20, 2010
We have a Adobe AIR desktop client which talks to a WAMP server. How can i convert this AIR app to a Flex app to be used in the browser.
View 2 Replies
Oct 21, 2010
Does anyone know how I would load up a flex application and on load the application would open on a different tab within the application. The only thing I can think of is sending a parameter into the application to tell it where to go, but how does the app load that tab then?
View 1 Replies
Nov 2, 2010
Is it possible to use sFIR fonts in an Adobe Flex Web Application (I mean I want to use the sFIR font to apply it to some text on spark controls)?
View 1 Replies
Nov 16, 2011
I am trying to create my own certificate for a adobe air application, I created one already based on this link[url]...
But when I install my application the publisher field is still set with unknown, which is at the end what I am trying to do, I need to set the publisher with one specific value.
View 1 Replies
Nov 21, 2011
I am developing an Adobe Air app. I need to set an icon to the app so it is shown on the task bar. I added the icon tag to the descriptor file but it is not working and I really don't know why
View 2 Replies
Jun 28, 2011
I'm going to be swift and concise.The other day my ApplicationUppdater worked just fine but now it wont run in flash IDE. Note that it works in FDT. When I compile, I get no errors, but also the app isn't initiated.However, when i force-quit it i get this error,Error: Error #1503: A script failed to exit after 30 seconds and was terminated.at air.update::ApplicationUpdater/stateReady()[C:wwwperforceApolloMainuildwinintFramewor ksApplicationUpdateruiairupdateApplicationUpd ater.as:153][code]...
View 1 Replies