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


Similar Posts:


Flex :: Adobe AIR Application To Receive Back Events From Native Windows Application?

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

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

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

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

Flex :: How To Attach File Extension With AIR Application

Feb 23, 2012

I made an AIR application that parses some specific files. I am using flex builder 4.5 and SDK 3.6. I want to attach Icons with those files and when I double click those files they should open with my application. How can I do this?

View 2 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

Android :: How To Make Application Of Flex For Android

May 17, 2011

Actually i have created one dashboard in flex. But now i want to integrate this dashboard or make same dashboard for Android.

How i can achieve this? I want to make dashboard for Android.

View 2 Replies

Rails Best Way To Receive Xml Data From Flex Application?

Feb 2, 2010

i'm able to display xml content on my swf file but how can I send the changed xml file back to my rails Server?

View 2 Replies

Android :: Load Flex Application In Mobile Application?

Mar 7, 2012

I want to load a flex application in mobile flex application and also i want it to interact with the parent application. Right now I am trying to load the swf with swfLoader in mobile app, but it gives me security error. And also should I want the parent application to be generic in terms of child application as in down the line if someone wants he can have another child application with same name run.

[Code]...

View 1 Replies

ActionScript 3.0 :: Develop Application Through Going To Broadcast A Video

Oct 6, 2009

I am new in action script. I want to develop a application through that i am going to broadcast a video. It will be done by stored file. I have installed the FMS for this purpose but don't know how to configure it. Please help me to implement the video player.

View 0 Replies

Actionscript 3 :: Receive Sms Within Adobe AIR App On Android

Dec 20, 2010

What would be the best way to build a sms application with adobe AIR and AS3? An application that send and receive sms. I found how to send using the uri but can't find any explanations about how to receive and display it.

View 2 Replies

Flex :: Air App On Android To Launch Another Application?

Jul 20, 2011

I have an Android AIR application (developed with Flex SDK 4.5.1) for which I need to block the Home Button, as the app is used by patients in a hospital without supervision, i.e. it is crucial that they cannot leave the app.

It seems that the only way to hijack the Home Button is to be registered as the default launcher, so that your own app gets the focus when home is pressed. This is easily achieved in the manifest, such as:

[Code]...

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

Android :: Flex - Loading Module On An Air Application?

Dec 13, 2010

I'm building an Air for Android App and I'm having problems loading a flex module. Does anyone know if loading modules is possible???

I built a simple app with just a ModuleLoader in it, which loads a mx:module. The module has only a simple mx:Label with a "Hello World" text.I build a .air with this. Then I build a .apk with the followin adt command.

adt -package -target apk-emulator -storetype pkcs12 -keystore certificate.p12 hello.apk hello.air

The application works just fine when running it on the PC, but when I do it on the apk-emulator it just goes blank and throws error #2032.

View 1 Replies

Android :: Do Adobe Air Apps Receive System Events

Mar 3, 2011

I'm considering using Adobe Air to write an application for the android marketplace.I was wondering if anyone could tell me what (if any) the limitations are with regard to getting / handling system events.For instance can you pause the app if the user receives a text message?Or detect if they have their music playing and mute your app's sounds?It would seem a real pity if Air cannot do this.

View 1 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 :: Debug A Crash With A Flex/AIR Mobile Application?

Sep 12, 2011

I have a flex app using the 4.5.1 sdk and AIR 2.7 running on an Android 3.2 tablet. During use, I can get it to crash fairly regularly. It's usually when I'm rapidly scrolling around in a List control. I can't seem to find the cause.

The application will just suddenly close. It happens in both debug and release builds.

When in debug mode, it just disconnects from the debugger and doesn't give me any useful information.

I'm at a loss on how to debug this. What are some techniques I can use?

I found the "adb logcat" command. Relevant info from the log below, unfortunately it doesn't mean much to me.

[Code].....

View 2 Replies

Android :: Display A Lot Of Text In Flex Mobile Application?

Feb 7, 2012

What is the best way to display a large amount of text (5000-10000 words) in a Flex mobile app?

I have been loading text in through an xml file using itemrenderer. It works totally fine when I run the application on my PC but when I load it onto my Android phone it crashes. Looks like my phone can only handle loading in about 3000 words using this method without crashing.

Anyone have a suggestion? Also, HTML isn't going to work for me. I want the text built into the application, which is why I have been trying to use the xml file.

View 1 Replies

Android :: Adobe Air / Flex - How To Delete All Application Data

Feb 24, 2012

I need to delete all the application data directories on the exit of an application:
/data/data/air.<appID>/cache/.AIR
/data/data/air.<appID>/cache/webviewCache
/data/data/air.<appID>/databases

But I get each time the "directory not found error"

This is from my application descriptor:
<id>test01</id>
<filename>test01</filename>
<name>test01</name>

I know also this is not a best practice, but for security reasons I need to delete all the stagewebview cache and autofill form data.

View 3 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

Java :: Embed A Flex Component In A Pure Android Application?

Sep 7, 2010

I know it is possible to develop a full flex application using AIR for android but what I need is to embed a flex component into an already existing classic java android application.

I found some flash players in java but they all either require a JFrame or include of specific windows dlls.

View 2 Replies

Android :: Error Occured While Installing AIR Application Using Flex Builder

Nov 8, 2010

when tried to build a AIR application for android using flex builder I did the following steps to do that .plz tell me where the error happened

1.Created Air application using flex builder that produced two type of files .swf and .xml files and cetification file

2.Created apk file from the above files using "Package assisstant pro"

3.then i installed AIR 2.5 run time in my emulator

4.after that i tried to install the apk file that Created from the 'package assisstant pro' then i tried to install the apk file by using command prompt then it show this error "INSTATTION FAILED INVALLID APK" .And also i cann't install other apk file (Sample air for android application apk file that downloaded from the site) that shows the same error,I succeed to install other application's(Say for printing hello world) apk file.[code]

View 1 Replies

Android :: Missing On-screen Keyboard For Flash/Flex Web Application?

Jan 5, 2011

I have an enterprise Flex web application, served up over https, that runs fine on Flash player 10.0 and beyond on a desktop computer/browser.

However, when I run it from my HTC Incredible with Android 2.2 the app loads fine, but there is no on-screen keyboard and so I cannot log in. I can see the blinking cursor inside the username and password text fields. I can switch between them. I can even hit the login button and see an authentication error!

View 6 Replies







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