Android :: Get OnActivityResult To Run In An Adobe Air Native Extension?

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


Similar Posts:


Android :: Air Native Extension - Receive Broadcast In Flex Application?

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

ActionScript 3.0 :: Can't Find This Blog Post - Air Android Music Player Made With Native Extension?

Nov 8, 2011

Recently I came across a long and details blog post or tutorial about creating a music player for air on android, but the audio management was with a native extension.I didn't bookmark it, I have searched quite a bit and I just cant find it again!!!It was only 2 or 3 weeks ago.

View 1 Replies

Android :: Adobe Native Extensions - Voice Recognition

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

Actionscript 3 :: Adobe AIR 3 Native Extensions - Android Res Folder Not Included In The .ane File?

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

Ios :: Integrating AIR Native Extension With FLA Project

Oct 24, 2011

I am trying to use the IOS in-app native extension, which is found at [URL], and I have linked the SWC with my flash project... The problem I am having is that all of the usage code talks about integrating with a Flex project rather then an FLA - does anyone know if it is possible to port this extension for use with a flash project?

View 2 Replies

Ios :: Creating An AIR Native Extension From The Facebook Sdk?

Nov 18, 2011

I'm looking into creating an ANE for the facebook ios SDK, just wanted to find out on here whether anyone has already done this / is close to releasing an ANE already ?

View 1 Replies

Windows :: Use External Dll In Air Native Extension?

Mar 22, 2012

The structure of my ANE file looks like this:

<META-INF>
<ANE>
<Windows-x86>[code]....

If ExtensionDll.dll uses the functions in the other Dll, the extension won't load. DllMain is not called. It seems like DllUsedByExtensionDll. dll is not in the Dll search path when the air application uses the extension is running. How should I make the application find the extra Dlls, if I don't want to put them into some common Dll path?

View 1 Replies

C :: Flash Builder 4.6 Native Extension Error?

Jan 13, 2012

i have an error that i dont understand why appear, the most weird is that happens sometimes but lately happens always, the code that i use is the same and i dont have make any changes to it, in fact i dont execute any code in the start of the application, i use buttons , so i dont get a reason with this error please help me, the error is a dialog that say:Native extension Error: there are packaging errors/warning. Check each native extension in the Flex Build Packaging Page for each target platform. would you like to continue?And when i click yes the program dont start, the debbuger show me the line:

[code]...

View 1 Replies

Actionscript 3 :: Returning A Structure From An Air Native Extension?

Feb 13, 2012

Is it possible to return a struct from your native code? It's relatively straight forward to return an int or a boolean but how do you return a more complex struct back to the actionscript?

View 2 Replies

Objective C :: Failing To Build Air IPhone App (with A IOS Native Extension) With Adt?

Feb 13, 2012

My issue is when I try to compile my .ipa using the adt tool (through Terminal) I get the following error:

ld: absolute addressing (perhaps -mdynamic-no-pic) used in -[MediaCaptureViewController showCamera] from /var/folders/NP/NPNiEhuUEwGiPRg0Bym7Sk+++TI/-Tmp-/97f7f1f9-6d5e-4486-9ba0- 147ff50f7157/libcom.luxson.mediacapture.a(MediaCaptureViewController.o) not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
Compilation failed while executing : ld64

The iOS native extension pops up an instance of the UIImagePickerController and it works apart from the following line of code, which causes the above adt error:

cam.mediaTypes = [NSArray arrayWithObject:(NSString *)kUTTypeMovie];

I have included the MobileCoreServices framework in my project and added the following to my header file:

#import <MobileCoreServices/MobileCoreServices.h>

I'm using Xcode 4.2.Project set to build with the following settings:

iOS Deployment Target: iOS 4.3
Enable Linking With Shared Libraties: No

View 1 Replies

ActionScript 1/2 :: Read Properties From Dictionary Objects In Native Extension?

Aug 29, 2011

I am working on a native extension for Flash. I am going to invoke my native methods from Flash and pass Dictionary objects where those objects have various data members of various data types. These property types are dynamic and might not be known at compile time.So I found that we have a method called FREGetObjectProperty that says it can return the value given the property name. But in this case since we dont know the property name since it is dynamic, how to extract the property names and values from the Dictionary objects?

View 2 Replies

ActionScript 3.0 :: Read Properties From Dictionary Objects In Native Extension?

Aug 29, 2011

i am working on a native extension for Flash. I am going to invoke my native methods from Flash and pass Dictionary objects where those objects have various data members of various data types. These property types are dynamic and might not be known at compile time.

So I found that we have a method called FREGetObjectProperty that says it can return the value given the property name. But in this case since we dont know the property name since it is dynamic, how to extract the property names and values from the Dictionary objects?

View 2 Replies

ActionScript 3.0 :: Adobe.utils.Extension Not Found In Adobe Flash Professional CS5

Dec 23, 2010

In my machine I have installed only  Adobe Flash CS5 proffesional trial version. Now this installation is not supporting adobe.utils.Extension class in this version. I have tried with all latest updates from adobe site. My doubt is does adobe.utils.Extension class is available in licensed version of Adobe Flash CS5 proffesional?

View 12 Replies

Android :: What Versions Of Android And IOS Is Adobe AIR 3.0 Captive Runtime Compatible With?

Nov 16, 2011

I can't find this information online or in the documentation, does anyone know what versions of Android and iOS the AIR 3.0 captive runtime is compatible with? I'm assuming there is some restriction there, but short of actually compiling a program and trying it on iPhone for example, which I don't have, how can I tell which OS versions are supported?

I know that you can compile an Adobe AIR 2.7(?) application to target say Android 2.2, but what about the captive runtime with AIR 3.0? Also I don't see anywhere to find out the iOS version restriction with AIR, as you have to pay $100 to Apple to even get the SDK which would allow me to make an iOS project in the first place.

View 2 Replies

Android :: Adobe Flash Application Is Not Working On Android Tablet

Dec 2, 2011

I gone thorough the adobe flash builder video tutorials and did the same thing to create an application for android device, but when i run the application it is showing Sorry dialog box saying that, The application Test1-debug(process air.Test1.debug) has stopped unexpectedly. Please try again. I tried many times but it is not working. Initially i thought no Adobe-AIR in my device, but it is there. I am using Reliance 3G Tab. I don't why it is not working, if anybody know this please reply me.

One more thing, i downloaded one APK (which is designed with adobe flash or flex) file from [URL]..and installed on my android device. When i run that application only blank screen is appearing, but in video they shown, it is working. Why it is happening like this?? Is any problem with my tablet ?? or application ?? or adobe AIR not installed properly on device ?? Like this i am getting too many doubts.

View 1 Replies

Android :: Install Adobe Flash On The Android Emulator?

Sep 14, 2010

I want to use Adobe Flash in the development of Android applications. But how do I install flash on the emulator so that I can test my software with flash?

View 5 Replies

Android :: Recording Audio With Adobe Flex On Android And IOS

Dec 1, 2011

is it possible to record Audio on iOS and Android with Adobe Flex Mobile? I can't find anything about that feature on Adobe's website.

View 1 Replies

IDE :: Set File Extension With Adobe Air?

May 14, 2008

Is there way to set the extension of a file using Adobe Air's flash.filesystem? Using the browseForOpen function you can set the FileFilter, limiting the files types available. However when using browseForSave you can not set a fileFilter or fileExtension. The file extension has to be entered manually in the SaveFileDialog. The File.extension property associated with the selected file is read-only. Does anyone know of a work around or anything that I could do to not enter the file Extension manually.

View 2 Replies

Android :: Adobe AIR IOS/Android Best Event To Listen?

Jan 12, 2012

So I'm having this issue where I need an event to fire at the very beginning of my application

public function Main() {
this.addEventListener(Event.ACTIVATE, onInit);
}

I've also tried Event.ADDED_TO_STAGE, but both seem to not be firing onInit at the right time... they fire too early. For example, on testing for IPhone it's firing when I still see the Default.png icon... I want it to fire when that "loading" phase is over.

View 2 Replies

Android :: Flash Content Breaks WebView Boundings And Overlaps Native Layout Elements

Dec 11, 2010

I'm using a WebView to display a web page which contains some Flash content which basically works pretty well.
The big problem is, that the Flash content seems not to consider the WebView's boundings: The Flash content is displayed even if the WebView is too small to show the complete page and the Flash content is not inside the WebView's boundings. Moreover this Flash content overlays other (native) layout elements that are displayed next to the WebView.To me, it seems, that the Flash content is rendered in (special) z-Layer, that overlays all other layout elements.

Tested with: Android 2.2 and Flash 10.1.Is this a known bug in Adobes Flash player 10.1?

View 2 Replies

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

Flash :: Iphone - Adobe Builder IOS App Vs Native IOS App

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

Flex :: Adobe Air - Get OS Open A File In Their Native Applications?

Sep 9, 2009

In adobe air, is there anyway to get OS open a file, in their native applications?

View 3 Replies

Flex - Adobe Native Air App Works On Windows7 But Not On WindowsXP?

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

ActionScript 3.0 :: Compile A Droid App That Uses The Adobe Air3'sNative Extension For Mobile Devices?

Oct 29, 2011

I'm trying to compile a droid app that uses the adobe air3'sNative extension for mobile devices. The trouble is that you have to compile it in the command line and the tutorial I was going from gave me a compile script for mac..

Code:
# path to YOUR Android SDK
export AIR_ANDROID_SDK_HOME="/Users/leebrimelow/Documents/SDKs/android-sdk/"[code]...........

View 3 Replies

Flex :: Running A Java Program With A .dll From Adobe AIR's Native Process

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

Windows :: Flex - Adobe Air Start Native Window Hidden?

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

Html :: Handling JavaScript Calls To Window.open()- Not Using Native Windows - Adobe AIR

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

Flash :: Adobe 10 GPU And Adobe AIR For Android

Jan 27, 2011

How can i make the Augmented Reality applcation on Android mobile phone (HTC Nexus One) that i have developed using the flash platform faster, since flash doesnt support OpenGL for 3D graphics. Can I make it faster using GPU Acceleration? Or there is any way to combine Flash and OpenGL? Any online sources talking about this subject will be very useful..

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved