Android :: Can A Flex AIR App Start-up As A Service On Boot
Feb 9, 2011
I understand you can create a service in Android and start it up on boot, which can then be used to get location updates, communicate with a server, etc.However what I wanted to find out is if this possible to do in AIR. AIR runs on Android, but can it be set a 'service' and start up on boot (sitting in the background)?
View 1 Replies
Similar Posts:
Jul 17, 2011
I'm trying to start develop an Adobe Air app for Android.
I have Adobe Flash Builder 4.5 standard and when I choose new project I see two options:
Flex mobile project ActionScript mobile project
What are the differents between these two options?
View 1 Replies
Dec 6, 2011
I made a program in Eclipse that is supposed to run on an Android device. I got excited when it worked on the virtual device, but when I deployed it, it doesn't properly consume the web service that lets you authenticate. I'm using Flex to create the program, and the service is written in C# and hosted on IIS 7.0. Also, we've had trouble here with Androids and DNS, so I've changed all of the references that I could find to the domain name of the server to the IP address of the server.
View 2 Replies
Nov 8, 2010
I have Flash Media Server installed on Windows Server 2007. I configured the Flash Media Server service to Automatic (Delayed Start), using a network logon instead of the local system account. In case you are curious, I use the network logon for the service because I need Flash Media Server to be able to access media stored on a network share. My problem is that, despite the Automatic start, the service does not seem to start automatically. Also, if I log out of that network account, the service seems to stop. what I can do to make sure that Flash Media Server will always start, as well as keep it running even if no accounts are logged in?
View 1 Replies
Feb 2, 2011
I am experiencing a strange problem when I want to bind a service to a button or something else:
[Code]...
I can add the services to the Data Services panel but I have two strange things:
1) when I want to configure the return type he doesn't let me create a new ValueObject type, I only get the bottom datagrid which states: Properties returned by the operation: Property: country_Id, provence_Id, city_Id, id_cdpc, district_Id with the related values on the right side. Why can't I create a new data type on the top?
2) When I accept this and want to add the service call to a button (drag&drop) I get the following error: Error occurred while generating code. Make sure that there are no compiler eroors and try again after reopening the file. Componentn type services.cdpc.CDPC not found... (ps: When I perform a Test Operation everything seems to be ok, I get the expected output values)
View 1 Replies
Feb 8, 2010
I use a dual-boot computer, with one partition for Linux (Debian) and one for Windows XP. I can't use Flash on Linux as Adobe has never ported it to that platform. So I put my Flash on the Windows partition.Unfortunately, while I have no trouble with Flash 8 on the Windows partition, when I attempt to open Flash 9 on it it crashes the entire system.
My husband found an article in the Winter 2009-2010 issue of 2600, the Hacker Quarterly magazine; it seems that in CS3, which Flash 9 is part of, Adobe has written its copy protection code in such a way as to cause a dual-boot machine to become unbootable after one uses Adobe software.I don't understand all the technical issues, but as the article states, "even though you have paid Adobe real money for their software, they will still potentially ruin your dual-boot system."
I realize Adobe doesn't consider Linux users numerous enough to accommodate,but by taking my money for their product,the company has an obligation to give me value in return.The value I expect is to be able to use the software I paid for - it's not up to Adobe to decide which OS I should use.At least they could warn people that you can't use CS3(and probably not CS4) on a dual-boot system.I will now start learning to use Inkscape immediately.
View 1 Replies
May 17, 2011
There are samples to show how to access front camera of android devices using android sdk.
View 1 Replies
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
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
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
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
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
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
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
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
Nov 29, 2011
I have a ActionScript 3.0 project and I have a timer that is running on 1000 millisecond intervals. I would like to delay this timer for 1500 milliseconds perform an action and start the timer again after the delay. I thought I could do this easily, but I'm having trouble, would it be better to stop the timer and perform the action and then listen for the action to be completed to start the timer again?
View 1 Replies
Apr 7, 2011
How can i settings crossdomain.xml my flex project.* this is my crossdomain.xml.
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<site-control permitted-cross-domain-policies="all"/>
[code].....
I've tried lots of different methods but my project send error message "Security error accessing url Unable to load WSDL. If currently online, please verify the URI and/or format of the WSDL [URL]"
put the file in different places
C:wampwwwMYPROJECTin-debugcrossdomain.xml
(my swf url : http://localhost/bin-debug/test.html checked http://localhost/bin-debug/crossdomain.xml its ok)
C:wampwwwcrossdomain.xml
I added the load line of the project
protected function application1_initializeHandler(event:FlexEvent):void
{
Security.loadPolicyFile("http://localhost/MYPROJECT/bin-debug/crossdomain.xml");
}
if flex server type select none everythings ok. but server type select PHP need crossdomain.xml how can i fix.
View 1 Replies
Sep 6, 2010
I am trying to access a .Net service which requires an authentication header. If WebService is used it works fine. But when it is accessed using HTTPService it throws error. The project is already done by somebody else using HTTPService. Now changing to webService requires some time since there needs to be modification in a lot of files.
Below is the SOAP envelop required by the service.
[Code]...
View 1 Replies
Sep 28, 2011
Is there some sort of configuration settings in FlashBuilder 4.5 where you can easily switch between webservice urls? Right now I have to delete and recreate the web service every time I switch from local to production and vice versa.
View 2 Replies
Jun 20, 2009
I have a grails application that will be rendering an html page into a pdf file and I have a flex application sitting on a server that is going to accept REST parameters and construct a graph based on the parameters (which will be formatted in JSON). What I want to do is make a call to the flex app with my parameters and have the flex app create the graph, render a JPEG of the graph, then send an image back to grails. In other words, I want to put an HTML img src=that will render the image directly to the page so that my PDF Plugin in grails will render it into the PDF.
View 1 Replies
Jan 28, 2011
Is it possible to develop flex/Air application as a service. The application doesn't require any GUI it should run as service in embedded Linux/Linux/Windows.
View 1 Replies
Feb 4, 2010
I have an iterator service that works fine already and returns a correctly structured values to my flex application through my Zend Amf server
$contacts = array();
mysql_connect( 'localhost', 'root', 'test' );
mysql_select_db( 'test' );
[code].....
View 2 Replies
Dec 1, 2011
determine what is preventing my web service from being called. We have a working application in production and the developer who wrote it has left. am trying to build it on my machine and I can see a web service call in fiddler being made with the URL "/Services.asmx/MethodName" (as a GET request).I have set my break point in the asmx web service and it is not being hit. All I get in the flex front end is a pop up with " The remote server failed to respond and may be offline. he web service is in the same application as the web app that hosts the SWF file.I have the cross domain policy file in place.
View 1 Replies
Jan 12, 2010
is it possible to stop a web service from executing?
I have a flex web application that searches clients with both full name and client id, when searching by name sometimes the usuer just types the last name and it takes a long time.
Since the app is used when clients are waiting in line, I would like to be able to stop the search and use their full name or id instead, and avoid waiting for the results and then having to search the user manually within the results.
I meant "web service" I actually meant mx.rpc.soap.mxml.WebService, I want to stop it from waiting for the result event and the fault event.
View 2 Replies
Feb 3, 2010
How can I use a .NET service object in an Adobe Flex application? Is it even possible? Do I have to use some third-party tool?
View 3 Replies
Apr 28, 2010
I am bussy with a Flex Project with a data services. Flash builder installed Zend Framework with Zend_Amf.
When i run the project i get the error NetConnection.Call.Failed: HTTP: Failed. With chalers i say that Zend_Amf give the error: AMF data is incomplete (0 bytes of 0 bytes). Please check the recording limits in the Recording Settings.
I don't know what the problem means. I have searched on google, but i haven't found a good result. The Flex project code is:
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
[code]...
View 2 Replies
Jun 1, 2010
I am new to Flex and needed some help setting up Web service client.I have a web service of method: public String printEchoStr(String str);I am facing problem while creating action script to call this service.I am getting error1067 : Implicit coercion of a value of type String to an unrelated ty generated. webservices:PrintEcho.I am not sure if this is the correct way.
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
xmlns:srv="generated.webservices.*"[code]...........
View 1 Replies
Jul 1, 2010
I've been reading about WebORB, and am wondering: if I just need to call methods on a .NET web service from my Flex app, does it add any value?
View 3 Replies
Jul 6, 2010
My flex 3.5 application has an audio player whose content is accessed by calling an AMF service to get the mp3 data. As far as I can tell, flash.media.Sound is initialized with a URLRequest, so it's not clear to me how I can provide it with data using my RemoteObject.
I want to do one of the following things:
Provide data to the Sound object's load method from a RemoteObject service call.
Create a URLRequest object that will perform the requisite AMF wrapping so that my service implementation will look exactly like any other service call if at all possible. Any alternative that allows me to invoke a PHP4 AMF service and play the audio it returns in a Flash audio player.
View 3 Replies
Sep 10, 2010
Does adobe flex supports sychronous web service calls justify your answer???
View 1 Replies