Android :: Make Dynamic List Component In Flex 4.6 Mobile Project?
Jan 4, 2012
how can i change my list component in Flex 4.6 mobile project with that when an item is pressed it would dynamicly resize and show an article description and a button [URL]
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?
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.
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.
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
How can i maintain DPI resolution calculation for various device and UI management for eg,iPhone having action bar at top/bottom , iPad app has control bar component instead.Is it possible to maintain application in SINGLE CODE BASE.
How do? Edit the field with numeric keypad, not a full keyboard my code: <s:TextInput text="{TransactionObject.cartao}" id="item" restrict="0123456789" /> app for Android and playbook
In Flex Mobile Project, Text Input shows blocks instead of showing arabic text. Labels are working fine with Arabic.
Is there any way to show Arabic text inside text input?
My code sample is
<fx:Script> <![CDATA[ /* Import all the easing classes so its
[Code]....
Since, it is for flex mobile project, when I input any text in arabic, it shows separate characters. Arabic is a language that doesn't have separate characters. It should combine letters to form specific word.
I have a project that was written using ACtionScript 3 in the Flash Builder Burrito preview IDE, with Adobe AIR 2.5 SDK. The way I was closing down the application was with....
stage.nativeWindow.close();
Now I've taken this same project and I'm using Adobe Flash Builder 4.5 for PHP with the Adobe AIR 2.6 SDK and I've turned it into an ActionScript Mobile Project and this line no longer works when running on an Android device because the nativeWindow never gets set, it's null. I've tried researching online how to replace this line of code and all I have been able to find is code for closing it down if I deploy it on iOS, which I'm not as of right now, or how to close it down if it's a projector project, or the stage.nativeWindow.close().
I am currently developing an application in the latest version of FlashBuilder and I cant seem to find out how I can incorporate AdMob ads or any other Ads into my application.There seen to be a few tutorials online focused on Flash however im not sure how to get those to work in the Flex environment.
I am developing an ActionScript for Mobile project in which i want to read a .txt file from my sdcard and do some stuff with its data. I am aware of how to read a file from sdcard in native android java, but i cant seem to find my way around this problem since there is no emulator in Flash Builder 4.6 like the one in Eclipse.
I´am trying to create my own custom list component in a Flex mobile Project which fires an Event when the user touches a listitem and holds the finger down for a given time.Some kind of "longTouch"-Event like its implemented on native android listitems to edit the entry for example.
I tried to listen for the MOUSE_DOWN Event to start a timer and dispatch an event when the timer finished. But this approach failed because i cant get the listitem that was pressed by the user because the List component updates the "selectedItem"-property only after the user lifts his finger from the list.
I'm building a top view 2D map, that it's objects are stored on the server.The kind of objects are 10 and might be a photo, label, button, lists, mix of them or labels with tooltips.The component must request the "areas" that are missing on screen.An area is 1000x1000 px and is cached in flex.To move in the map, will be like in google maps (drag-and-drop).I should be able to have another list and move objects from one to another using drag-an-drop on objects. Ex.: I grab an objects from a list and I move it on this map, I release the mouse button and the item is placed there.Now the problem is: I build a custom component for this trying to emulate the item renderer for performance and recyclage, implement drag-and-drop on objects and request the areas that are missing?
or
I extend the List component from spark and I add some features as multiple kind of itemrenderers and use recycle on them. Of course it must be able to request the missing areas on the screen and cache it's data.Maybe create a custom layout is needed too.What I need is something that must be really fluid, so the lighter this component is, the better.
UPDATE: *There will be not any object over another.
*I will not use hitTest on bitmaps because all bitmaps are wrapped in another component,as they,for now are itemrenderers.
Anyway I already begin to do this using a class that extends the SkinnableDataContainer and a custom layout. As the layout is not like a grid, is sparse, random items at diferent points(x, y).How to get the localX and localY, relative to item renderer and not to the Spark List, from a DragEvent in Flex 4?
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?
I'm developing an ActionScript 3.0 project for Blackberry Playbook, Android and iOS. I have some custom UI classes, like buttons, that I want to use it in another projects. How can I make an actionscript mobile library project? I'm using Flash Builder 4.5, and I'm not using Flex in my code.
I have a list component and I have an item editor for the items in the list. I would like to have a button that the user clicks once they are done with their changes because I am having them edit multiple pieces of data in the editor and I would also like to validate the data before closing the editor as well. I just don't know what to do on the button's click event to make the item editor close and commit it's changes to the data provider.
The window for Flash Builder's mobile device emulator (in AIR) seems to be a bit too tall for a resolution running 1280x800. Is there a way to make it run smaller? 1280x800 is the highest resolution set-able on the laptop being used to develop for it.
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?
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://...
Adobe states that Charts are supported in mobile projects but when I try to change the following working files (created project with File - New - Flex Mobile Project - Google Nexus One):
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?
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:
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].
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?
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:
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.