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
Similar Posts:
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
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
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
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
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
Dec 13, 2011
Is it possible to develop a mobile application for Android. ?Is there a tutorial or any resource about this ?
View 0 Replies
Aug 7, 2011
What is the best way to create artwork for cross platform mobile application that is made using Adobe air. This application runs on iphone,iphone4,ipad,ipod,android,blackberry,desktop.
View 1 Replies
Aug 27, 2011
I am currently developing a mobile application using the latest version of Flash Builder and I need to create a Global ArrayCollection to store information in that is pulled from a local DB. I can pull back the data from the DB fine however I cannot seem to access the Global variable when I try. I have the follng .as file called "Model.as" which is located in a folder called valueObjects and that file contains the following code:
package valueObjects
{
import flash.data.SQLConnection;
[Code]....
Then in a private function I try to access the ids ArrayCollection and populate it however I get the following error:
-1120: Access of undefined property ids.
-Access of undefined property ids
View 2 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
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
May 26, 2011
I have a AIR for mobile pure AS3 project that saves a file on the device the first time it runs into the file.applicationStorage directory. The second and subsequent times the application launches I need it to look at that file I've saved.
My problem is that when I debug the application from Flex Builder 4.5 it wipes the application and application storage. So the application always behaves like it is running for the first time. I can't get into a debug session and step through my code as I read in that file.
Does anyone know how to connect to a debug session running on the device? My device in this case is an Android Samsung Galaxy S.
View 1 Replies
Jun 5, 2011
I am going to make an Arabic application using Flex builder 4.5. I have two questions that need to be answered What is the difference between ActionScript Mobile Project and Flex Mobile Project. (AS Mobile Project supports iOS and Android but I doubt about it!!)
Is Arabic support available in Flex Mobile Projects or AS Mobile Projects? I know TLF supports Desktop and web apps but does it support mobile platforms?
View 1 Replies
Oct 24, 2011
I'm trying to debug an issue on a Flex Mobile project. Specifically, in order to debug this I need to be using a release build for iOS (it is the only way the problem appears). I am having difficulty finding a way to view log messages on a release build. Has anybody been able to successfully see log messages in the Organizer console?
View 1 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
Nov 10, 2011
I have just converted a native Android app to Flex 4.5 AIR, and I now need to sign it.
Does anyone know if it is possible to use the keystore that I used to sign the original Android app?
If so, how do I get a P12 out of it to use in Flex.
View 1 Replies
Mar 14, 2012
I am building an Adobe Air Mobile application currently targeting Android (and eventually iOS). I'm using Flash Builder 4.6 (which is Flex).I have a requirement to download a zip file from a url, save it to local storage and unzip the contents.There seem to be a few example on how to do a download in Flex/Air, but not many in Flex/Air/Mobile. Additionally, the mix of examples seem to be all over the place with namespace versions, etc. Edit: What I've tried:So, from the examples on the web, the first thing I did was add namespace in Flex declarations: xmlns:net="flash.net.*" Then I added the following component: <net:URLLoader id="urlLoader" /> Then, in the button click event, I called it: urlLoader.load(new URLRequest(downloadUrl)); I get a run time error: Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: http://...
View 1 Replies
Mar 1, 2010
I will be releasing my Air/Flex application soon, but I am pretty sure there are a couple of bugs that may pop up on the various platforms that Air is available for. So I was wondering if there is a way to implement a mechanism, that would send an error report, logging where the error happened, to a remote server each time an app crashes? This way I might catch errors that otherwise would go unnoticed.
View 1 Replies
Apr 8, 2012
In a typical as3 or flex project, after loading xml file, i load jpg files (thumbnails etc) manually, so i can use them in sprites / movie clips etc..currently i am working on air mobile project. and i am attempting to load some thumnails(pg) file to list view (spark) and using custom item renderer.itemrenderer has an spark image componnt in it. and its data property is set to Image object.i can check that image files do exists in file application directory.do i need to load all those thumbnails in memory. then use them?
View 1 Replies
Apr 7, 2011
I'm trying to implement the 1.6 Mobile Facebook API [URL]into an Air for Android application. I've succesfully used the Web and Desktop API's however with the mobile app it's expecting an extra parameter to a stageReference, see:
login(callback:Function, stageRef:Stage, extendedPermissions:Array, webView:StageWebView = null)
But, using i'm using Flex and not Flash CS5, i can't just pass in this.stage or this or anything like that.What exactly would you guys think I need to pass into that using Flash builder Flex? I can't seem to find any examples for the mobile actionscript API ?
Here's the login information from the Mobile API Docs:
login () method
public static function login(callback:Function, stageRef:Stage, extendedPermissions:Array, webView:StageWebView = null):void
Opens a new login window so the current user can log in to Facebook.
Parameters
callback:Function — The method to call when login is successful. The handler must have the signature of callback(success:Object, fail:Object); Success will be a FacebookSession if successful, or null if not.
stageRef:Stage — A reference to the stageextendedPermissions:Array — (Optional) Array of extended permissions to ask the user for once they are logged in.webView:StageWebView (default = null) — (Optional) The instance of StageWebView to use for the login window For the most current list of extended permissions[URL].
View 1 Replies
Apr 25, 2011
I have been working on developing an application for the android market thta firstly requires the users to login to a account. I have put the code together below, along with a data link to a database in order to check the credentials. However the application does not switch to the second view on the first click of the "Login" button however it seems to take 2 or more clicks sometimes. I presume as it is fetching data from a database that it takes time to be verifies, could someeone tell me how to solve this and maybe implement a BusyIndicator along with it?
[Code]...
View 1 Replies
May 5, 2011
I'm currently working with Flex Hero mobile 4.5 to develop a mobile program.I have searched some forums allready but nobody can help me with this.How do you change the backgroundcolor of your mobile program.I have allready tried to use:
this.setStyle("backgroundColor","0x00FFFF");
View 3 Replies
Jun 14, 2011
Adobe AIR is pretty heavy. So is it necessary to be installed on my phone? Are there any alternatives to it..something lightweight.
View 2 Replies
Jun 20, 2011
I want to download a video on mobile device through flex framework. For that reason I need to have support of multithreading so that I can download video in background. Unfortunately, Flex doesn't have multithreading support. I am quite new with flex environment.
View 1 Replies
Sep 6, 2011
I wanted to develop a flex based mobile project. I have Eclipse plugin for Adobe Flash Builder. But I cannot see any option in the "Create Project" list for Mobile project.I have seen Mobile Project is available in Flash Builder Standalone version, but I wanted it in eclipse plugin.
View 2 Replies
Mar 6, 2012
Can I import files from other apps into my app? If I for instance on iOS, I email myself a xml-file, I click the attachment in the mail-app. Now I want the "open in" option to show up, send that file to my app, and process that data there. Is this possible in flex/as3?
View 1 Replies
Feb 12, 2008
I've logged this bug but wanted to post it to the boards in case anyone else is having this same problem. It's been going on since I purchased Flash CS3 pro and has been really crippling my development workflow because I can only get the debugger to work maybe 1 in 4 times.
[Code]...
View 2 Replies
Aug 10, 2011
I have an AIR application which uses RemoteObject to comunicate with remote services in PHP (using Zend AMF). The application works great, but I can't debug the PHP side (the Flex debugger works fine, the PHP side is the problem). I'm using Flash Builder 4.5 for PHP, when I write a Web Application (not AIR), I can choose to debug the application as "Web (PHP) Application", and the breakpoints in the PHP side are working as expected. But I can't see any similar option for Desktop Applications (AIR). Does somebody know if it's possible (and how) to debug the PHP side in an AIR application?
View 2 Replies
Jul 15, 2011
I try to use spark DropDownList Controller for flex mobile project but its not working properly. Is there any alternative solution available?
View 2 Replies
Aug 6, 2011
Can we develop flex mobile project that runs in both android and iphone.Also I want to know , can we use all the device capabilities of both android and iphone in same project
View 2 Replies