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


Similar Posts:


Flex :: Launch A Separate Air Application Through My Current Air Application?

Sep 1, 2010

I've been trying to launch a separate Air Application through my current Air Application.Both apps are compiled using the Adobe Air 2.0 SDK. The methods I have found so far involve passing the Publisher ID in addition to the Application ID, but I believe the Publisher ID became redundant past Air 1.5.3? Below is my current implementation whic seems to correctly ascertain the Air Application's version number, but when I try to launch it, nothing seems to happen.

private static var _air:Object;
private static var _loader:Loader;
private static var appID:String = "someOtherAirApplication";[code].....

I have changed the app-config.xml (app descriptor) on the application I am trying to load to allow browser invocation.The version number of the app descriptor of my application I am trying to load is "V1" which the versionDetectCallback seems to pickup. If this is the case I would expect to be able to launch it but this doesn't seem the case.

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

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

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 :: 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

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

Android :: Running Flex 4.5.1 Mobile Application In Internet Browser?

Jul 23, 2011

I read that using Flash Builder 4.5.1 you can create one application and run it on a mobile device, in Internet browser and in Desktop AIR. However, I created a mobile application and the only option to run it is 'Run as mobile application'. Is it really possible to run the same Flex application in browser and on mobile?

View 1 Replies

Android :: Upgrading And Existing Flex Application Using The Mx Library To Work?

Aug 12, 2011

I am trying to make my flex app work on Android, and that involves making an AIR app to run on Android. Seeing as the flex app needs the mic, an AIR app is required. I am using flash builder 4.5 on win7 with air 2.6. The trouble seems to be that most of it is now not available. For example mx.containers is there, but not mx.containers.viewStack. I notice that there are obvious equivalents in spark for some components but not others. VBox, HBox, Canvas VDividedBox, AdvancedDataGrid and associated custom renderers are the components my application uses the most. What is the fastest way to make this work on Android, I am under time pressure. Is there a site somewhere that recommends the best way to do this, and what components can be replaced with which?

[URL]

View 1 Replies

Android :: Hide The Running Flex Mobile Application Or Change Its Name?

Dec 4, 2011

I am working on a try-out app targeting ios and adroid mobile devices and I use flex 4.6. I want to hide the app in the list of running applications. Is it possible?

If not, is there a way to change the name and icon of the app in run-time after installation?

View 1 Replies

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

Android :: Flex - Embed YouTube Video Player Into Mobile Application?

Apr 20, 2011

Is there any way to embed YouTube video/video player into Android Flex AIR Mobile application?

I tried to use SWFLoader(...) but since its MX library class only works on the desktop runtime environment, but fails to work on actual Android device when debugging the application.

Maybe it's possible to embed HTML that contain YouTube video into some Flex media container like TextArea or something?

View 1 Replies

Android :: Flash - Back Button Unloads Application After Changes CurrentState Of Application AIR?

Sep 20, 2011

I am creating an application. At one view I have three states. If I changes state and than back button pressed it unloads the application.I am developing it in Adobe AIR.

View 1 Replies

Actionscript 3 :: Flash/AIR Application Going Fullscreen On Launch (on MAC)?

Dec 17, 2011

I've created an AIR application in Flash CS4 with AS3, and the application needs to start up as fullscreen. I put a slight delay on the fullscreen call to get around the fact that flash won't let you start an application in fullscreen. This works fine on windows. However, on Mac, my application has an issue...

It uses this code to go fullscreen on startup: var fullscreen_delay:Timer=new Timer(10,1);// delay to bypass flash's non-fullscreen-on-startup feature

[Code]...

Putting a ridiculously long delay on the fullscreen call (5000 milliseconds) seems to do the trick. I realized this when I launched the application and immediately started mashing the space bar (my fullscreen toggle key), which kept presenting me with the same issue until after 3 or 4 seconds, at which point the fullscreen began working properly.

View 1 Replies

Flash :: Launch An Adobe Air Application From Browser?

Feb 10, 2012

Is there a way to launch an Adobe Air Application from the browser? I am developing an application that uses webcam, and when the user enter on my site, I need to start this adobe air application installed on the user computer.

View 3 Replies

Access Front Camera In Android Devices Using Flex-android?

May 17, 2011

There are samples to show how to access front camera of android devices using android sdk.

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

Android :: Flex - App Requires Android.permission.BROADCAST_STICKY?

Jan 26, 2012

I've recompiled my app with Flex 4.6 / AIR 3.1 and now when I upload to the Android market it says my app is using a "android.permission.BROADCAST_STICKY" permission. In it's simplest terms what is it and can or should I turn it off (it's not in the app descriptor file)?

BTW I used captive runtime for the first time in this upload. Would that have anything to do with it?

View 1 Replies

Android :: Android - Flex Mobile Project Option?

Mar 12, 2012

I have a problem with Flash builder, I can't find the "Flex mobile project option in the list" How can I install it?

View 1 Replies

Android :: Flex - Android AIR App Call An NDK Library?

Oct 14, 2010

Using AIR for Android, is it possible to call from Flex into an NDK library? If so, how can this be done? I have a large C library that I need to use. I know that I can do this from an Android Java app (through JNI), but I have a large Flex codebase that I'd like to reuse.

View 2 Replies

Android :: Flex Access Android Compass?

Apr 8, 2011

Is it possible to use Air on android and access the compass? I saw there is some acceleration support[URL]..If it is NOT accessible, would it be possible to do some communication between a native android-app listening for compass update and an air application?

View 2 Replies

Android :: Flex - Run AIR Desktop App On Android (Galaxy Tab 10.1)?

Dec 6, 2011

I have a problem - How to run AIR (really big desktop application) on my Galaxy Tab 10.1? It's possible convert .air to .apk?

EDIT:

1. I set up a new desktop project (File -> New -> Flex Project)

2. Project name is "simpleTest", Application type is Desktop (runs in Adobe AIR), Flex SDK version 4.6.0 and click to Finish

3. I go to Design mode, then set the width to 500 and height to 250. I add one button by drawing and name it btnOne and make Generate Event Handler

4.Then I go to Project -> Export Release Build (Export as Signed AIR package) -> Next (I apply the certificate) -> Finish

5. I find the project file (...Adobe Flash Builder 4.6simpleTest) and copy simpleTest.air into a new file (simpleTestAPK - which contains my certificate > andCert.p12)

6. I rename "simpleTest.air" to "simpleTest.zip" and from this .zip I unpack just "simpleTest.swf" and "application.xml"

7. I create a "create.txt" containing as follows:

adt -package -target apk-debug -storetype pkcs12 -keystore andCert.p12
myHope.apk application.xml simpleTest.swf

8. I rename "create.txt" to "create.cmd" and launch it (Shift + RMB -> Open cmd here)

9. "myHope.apk" is created

10. I copy this to Galaxy Tab 10.1 (with drag&drop)

11. I launch "myHope.apk" but all I see is blank, white screen, no colors, no buttons, nothing.

View 3 Replies

Android :: Flex Mobile : Different Filenames For Android/iOS?

Mar 28, 2012

I'm creating an app to deploy for iOS and Android and I'd like to give them slightly different filenames (need to add a space so that name displays on two lines on Android). Is there a way for me to define this in the app.xml without having to change it each time I export?

View 1 Replies

Android :: Which Version Of AIR Should Be Used To Port Application

May 9, 2011

We have an AIR application which is running in client-server mode as a desktop application. Our application runs on AIR version-1.5;Flex version 3.5. We want this application to be ported to android. Will AIR 1.5 work with Android? if not which version of AIR should be used with Android? And also, Can I configure my Flex Builder to partucular version of AIR SDK? I am getting confused with AIR 2.0, 2.5 and recently released flex Hero SDK for mobile platforms.

View 1 Replies

Flash :: Swf File To Run As An Application On Android

Nov 22, 2011

I have a flash application(.swf format). I wanted to package the entire swf file and other content(related images, xml files) into a single file and access in a tablet. So basically i need to make it into a single .apk file to access in my tablet.

View 3 Replies







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