Flex mobile? should I avoid it?

Hi,
I need to develop an app for mobile... And it looks like the Flex mobile framework is a huge time saver!
But I know the adobe dropped Flex to Apache... Should I avoid using it?
Thanks
Gil

The AIR SDK and Flex SDK are different. For example you probably have AIR inside your flash environment but try loading something from the Flex SDK like something a spark component would use:
e.g. Flex:
import mx.collections.ArrayCollection;
Does that work for you? Probably not. It's only part of a modern Flex install.
Flex mobile introduces the spark components which are all mobile optimized. Adobe AIR is the runtime (VM) that gets exported captive and compiled down to ARM. You don't need to have a single Flex component in your AIR for Mobile project. AIR for Mobile does not require Flex.

Similar Messages

  • Can't convert Flex Mobile project to desktop project

    I'm using the Flash Builder 4.6 trial, and I'm very new to flex development. I've been asked to convert an existing Flex Mobile project (appears to have been developed in Flash Builder 4.5) into an AIR desktop app.
    The project imported without complaint. However, the Add/Change Project Type > Convert to Flex Desktop Project menu item is disabled.
    I created a blank Flex Mobile project, then a blank Flex web project, then a blank ActionScript project. It's greyed out for those, too. I checked with the projects closed and open; the rest of the items on that submenu are enabled for all projects when closed.
    Is this feature disabled in the trial version?  Is something else going on?

    Clearly the device from verizon works, I would try to contact a computer tech to repair your computer
    Really it should be as simple as turn on, connect, go. If it isn't there is a break down somewhere in that computer
    What error msg?

  • Flex mobile project: web root and root path for a remote web service?

    Hi all,
    i'm trying to set up the testdrive tutorial for flex mobile project, with flash builder 4.5
    and php data.
    I've uploaded the files on my remote web space (e.g. http://mywebsite.org, and the
    test file is http://mywebsite.org/TestDrive/test/test.php... and it works
    correctly)... But when i'm setting properties of the project, i don't know what
    to write into the web root and root path fields... I thing root path is simply
    http://mywebsite.org... and whatever i write in the other fields (output folder
    too) i have errors when i click on "validate configuration"...
    What should i put into those fields? is zend framework (and gateway.php)
    strictly necessary?
    As you can see... i'm a bit confused....
    Many thanks for any help
    Bye
    Alex

    I thought it was a simple question...
    No advice?

  • Flex Mobile, URLLoader and Sessions

    I have created a Flex Mobile Project that I've been testing so far on a Motorola Xoom and uses the URLLoader object to query some JSP pages and return the output. These JSP pages require user authentication which depend on sessions.
    If my URLLoader requests are made sequentially (the second request is not made until the first is completed) session information functions normally. If multiple URLLoader requests are made at the same time there is a chance that one or more of the request's session information will fail. I've used a packet sniffer and found that the "Cookie: JSESSION=..." header value is not being set or sent to the server.
    I've actually been able to solve this problem by fetching my session ID when I login, storing it locally and setting the "Cookie: JSESSION=..." value manually in the header of all my URLLoader requests. Most of the time the browser will overwrite this value that I've set with the session ID that it has, and that's fine. But in the case where it doesn't set this value then my manually set value is passed to the server and it is able to find the appropriate session.
    The solution I've come up with seems to work so far, but I was still wondering if anybody knows what's causing this or knows a better solution?

    That sounds like everything's working the way it should. Until the "first" request is authenticated successfully and the response comes back to the browser/device, your app doesn't have session credentials. Sending multiple simultaneous unauthenticated requests will thus all need to authenticate individually -- and making matters worse, may create multiple sessions on the server, so as they come back your session info (as represented by your JSESSION ids) will rapidly run through all the new sessions until settling on the last one.
    I would suggest changing your application flow to let your first request go by itself first and not submit any other requests until that (authenticated) response is received.
    -- Tom
    Flex SDK engineer

  • Flex Mobile Best Practies

    Hi to every one!!!
    I'm try to building an app for mobile with a flex mobile project.
    The UI is gonna be something like in the picture:
    I would like to know witch is the best practies to put all the grafics element into my views.
    For example, for the bricks (that comes from an xml) i created a component, inside the component i put my fxg file in a group with a gap:
    My View:
    <s:VGroup gap="10">
            <customComponents:BrickComponent/>
            <customComponents:BrickComponent/>
            <customComponents:BrickComponent/>
        </s:VGroup>
    BrickComponent:
    <?xml version="1.0" encoding="utf-8"?>
    <s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
             xmlns:s="library://ns.adobe.com/flex/spark" xmlns:assets="assets.*">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <assets:Brick/>
    </s:Group>
    The same for the tshirt.
    It is a good way like this?
    And draw and import from flash catalyst?
    Thanks a lot

    You might want to look into using .FXG files for your graphics.
    These blog posts should be useful for tips on improving performance in your mobile Flex applications:
    http://flexponential.com/2011/10/05/performance-tuning-mobile-flex-applications/
    http://flexponential.com/2011/04/20/flex-performance-tips-tricks/

  • Flex Mobile - Moving up for keyboard

    Not sure if this is where i should post this question about Flex Mobile, but don't see any forums for Flex Mobile.
    My question should be simple enough. I create a Android app and it works perfect. About ready to put it in the market, but one odd thing I can't find on google is how to move the app (or at least the onFocus TextInput) up so the phone's keyboard doesn't cover it.
    Does anyone know what event (if any) is fired off when the phones keyboard is summoned and how to keep your text area above it.
    Thanks!
    Also..where can I find the new api info on things like using the phone's camera, gps, accelerometer,etc?

    maybe http://swfhead.com/blog/?p=904 will be helpful

  • Flex Mobile Images

    Hi, I am unable to see my Images in the adobe flex mobile project. I am able to see the picture before load but once the program is run the image disappears? I have tried changing the picture. The source path and the source path in source code. I really do not see what the problem is the path must be correct because the picture would not appear. I also have tried embedding the picture which still does not work. Can anyone suggest any options for me please?
    The image is Source I have tried: -
    <s:Image id="pic" x="48" y="53" smooth="true" source="@Embed('Assets\cat.jpg')"/>
    Also attempted: -
    <s:Image id="pic" x="48" y="53" smooth="true" source="('Assets\cat.jpg')"/>
    In design the source: -
    Assets/cat.jpg
    Also: -
    @Embed('Assets\cat.jpg')
    Can anyone please help me as I am really struggling to find a soloution.
    The images are saved in the Assets folder

    Thanks. So size of the file really doesn't matter much when it comes to loading/performance because it's basically a local file (embedded with the apk) is it.
    Also, if my source image is a jpg file, should I convert it to a PNG?

  • Flex Mobile - frameRate

    Hello,
    What is the default frameRate for a Flex Mobile app?
    Is there a problem in setting it to 60 (if default is lower)?
    Thank you.

    I wouldn't advise that.
    The framerate changes according to how many resources the application is using and how heavy is the current processing.
    See this useful app as reference:
    http://www.roguish.com/blog/?p=214
    Try to run it and you'll see that fps change as you modify the complexity of the animation.
    If you consider that the human eye can't appreciate the difference between frame rates higher that a certain level, you should just make sure that your app's frame rate is smooth enough for your animations.
    If you specify too elevate a frame rate for your app you could incour in a number of performance issues.
    For more info, google the Flash Player Elastic Racetrack, or:
    http://help.adobe.com/en_US/as3/mobile/WS948100b6829bd5a61a52657a1274ff66899-8000.html
    If you really want to set fps to 60, first check this out and notice that the default is 24:
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/spark/components/Applic ation.html#frameRate

  • Test Flex Mobile Project On Iphone

    Hi,
    Can i test The flex Mobile Project in Iphone Simulator Like Xcode? in Flex debug i can select the Iphone device, but this Device haven't accelerometer for example.
    Can i Test in Another Debug Device, or can i enable Accelerometer in Debug Device in Flex?

    Adrian, flash/flex as a development tool is mostly platform independent so much development testing can be performed on any mobile platform. It may simply be a matter of convenience to use an android tablet in place of an iPad. That's not the same as an endorsement to buy an android tablet for testing iPad apps. You should always have the target platform available.
    The iPhone/iPad development works. Perhaps it could work better, but plenty of people use it now.
    Why use Flash? The reasons are plain to see - Flash developers can use their existing skillset and they can develop for multiple platforms with the same technology, rather than differrent technologies for each platform.
    Flash/Flex development for mobile isn't perfect, but neither is anything else.

  • Windowed Application for Flex Mobile Project

    I have a project intended for both deskotp and mobile, and so I began it as a Flex Mobile project.  I then imported the source into a Flex Air project and everything has been working great--until I added cut and paste functionality using the NativeApplication/NativeWindow model.  On a Mac, because there is a default set of menus, this works just fine, but on a pc, the menu is not present unless you define it.  My top level class is a ViewNavigatorApplication, and I can't for the life of me figure out how to get my NativeWindow NativeMenu built.  I have tried plugging code into creationComplete, initialize, preinitialize, but nothing works.  I also tried putting a WindowedApplication around the ViewNavigatorApplication, but that too failed.
    So is there a way to make this work?  While menu support would be nice, I would settle for just shortcut key support.
    Thanks in advance,
    Adrian

    Umm, overall it's doable but you may come up against two or three hurdles:
    The program may have to run for hoursThat may require keeping the phone handset connected to a charger, especially if the display backlight is configured to be on continuously.
    a sample rate of 20Hz from the sensor.You'll have to cross that bridge when you get there, but I suspect that many handsets won't be able to handle receiving, processing and displaying of data every 50 ms.
    log the data and produce simple statistics from a session.Keeping all data in memory probably won't be feasible; writing it to the record store may make the program still slower, further limiting the sampling frequency that can be handled.
    In future all Java ME related questions should be posted on the [CLDC and MIDP forum|http://forum.java.sun.com/forum.jspa?forumID=76].
    any pointers as to how to beginIf you have never programmed in Java, go through [The Java&#8482; Tutorials|http://java.sun.com/docs/books/tutorial/index.html]. If you have some experience in Java but none in Java ME, [this tutorial|http://today.java.net/pub/a/today/2005/02/09/j2me1.html] will get you through the basics.
    luck, db

  • Open PDF with Flex Mobile Project

    I want to be able to read PDFs inside a Flex Mobile Project (I'm working with Flash Builder 4.6 and Android and iPad).
    I've tried successfully stagewebview to load a pdf from a web server with this:
    webView = new StageWebView();  webView.loadURL("http://<url>/Paper.pdf");  webView.viewPort = new Rectangle(0, 100,this.stage.stageWidth, this.stage.stageHeight); webView.stage = this.stage;
    But what I really want it's something more visual. I mean, where you can create a flip book, go to page X, or similar. Something like this: http://devaldi.com/zine/NZ_Tourism_2007.php?ro=flash,html
    I've already tried FlexPaper, but Zine doesn't work on Flex Mobile Project.
    Do you know if there is something to do this? or how can I do this?
    Is there any native-extension or something?
    Thanks in advance

    Thanks Keith, I'll have a look at that. In addition to opening a PDF, I want to be able to encode an anchor id in to the open command to jump a specific anchor; I'd concluded that on iOS, until Adobe add decent url-scheme support, that was a no go - so I've been staring down the barrel of converting the .pdf to HTML and tidying up the inevitable issues manually. Here's hoping Print2Flash will help avoid that!

  • Best practices for "designer - developer" interaction in Flex Mobile

    Hi,
    I'm starting development of a mobile software application and Flex Mobile is the platform I've chosen for that.
    What is the best practice / recommended workflow for designer-developer interaction? For example in web application the designer provides HTML/CSS templates to the developer which integrates them in the Web Application. What is the analogue in Flex Mobile? What should I request as input from the designer?
    I'll appreciate any hints, links, advises or previous experience on the topic.
    Thanks!
    Best Regards,
    Dinko

    If you're using Adaptive Web Design (CSS3 media queries), you can maintain one site with CSS Layouts optimized for different device widths.
    http://www.adobe.com/devnet/dreamweaver/articles/introducing-media-queries.html
    jQuery Mobile
    http://jquerymobile.com/
    If you're actually running separate web sites for mobile and non-mobile devices, have a look at this recent discussion:
    http://forums.adobe.com/message/4177360#4177360
    IMO, there is nothing wrong with providing links for mobile and non-mobile users to choose which site they would prefer to use -- especially for tablets who may have an interest in both.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/
    http://twitter.com/altweb

  • ANE for one platform on Flex mobile project for iOS and Android

    I'm very new at Flex Mobile Projects and native extension.
    I have a big doubt... If I have an ANE that only works on iOS or Android, can I use it into a project for Android AND iOS?
    I mean, if I want to do something and I've only found and ANE that works for iOS and another ANE that works for Android, can I create only one project and depending on the device use one or another? or should I create two different projects?
    Thanks in advance

    You can set them both up and when you publish just comment out the code that does not apply, this way you still keep it as one project but you can use the ANEs as needed, I had to do this with the iAd ANE only for Apple obviously and AdMob ANE which at the time was Android only.
    Example
    //Android ANE Code
    blah blah blah
    //iOS Code
    code code code
    Now when you publish for iOS comment out the Android related stuff
    //Android ANE Code
    blah blah blah
    //iOS Code
    code code code
    Also dont forget to update your included ANEs when you publish and remove the ones that dont apply and update the XML files as needed. Its possible, but annoying, it would be nice if it was automated or could be flagged somehow so the Flash publisher would auto ignore it.

  • Streaming live videos on flex mobile

    Hi I have a flex mobile application targeting the mobile tablets and I was wondering if you guys know of any tutorial
    about putting live feed videos on flex, I have this code that I'm using on my flex 3 to target mac and pc that uses on adobe air, the services of ustream.tv
    here it is.
    But when I try to use it on flex mobile, nothing happens..
    import tv.ustream.viewer.logic.*;
              import tv.ustream.viewer.logic.Display;
              import tv.ustream.viewer.logic.Logic;
              import tv.ustream.net.Connection;
    private var viewer:Logic = new Logic();
    public function videoViewer():void{
               viewer.display.width=800;
               viewer.display.height=400;
               holder.addChild(viewer.display);
               viewer.createChannel("4705238", true, null);
    this one works flawlesly on flex 3 and spark, but no in flex mobile, there is another way to read an rmtp on flex mobile?
    Gus

    OSMF (Spark VideoDisplay) works. It has a few garbage collecting issues, but they can be avoided somehwat.
    See my following post for a kludgy work around on the garbage collection:
    http://forums.adobe.com/thread/904638
    I have also seen a few home-brewed NetStream solutions, but you will need to implement a lot of functionality found in OSMF if you're going to need it.

  • Datagrid for flex mobile apps

    Hello,
    Since in-built Datagrid component is not optimized to be used in flex mobile apps, what is the best alternative we can go ahead with?
    I have seen some of the posts which says that we can use List. But I'm still unable to find how List can be used. As we would need multiple columns, should we be using multiple Lists for each column?
    Kindly let me know if any of have have got this working and how.
    Appreciate your help..
    -Deepak

    Anyone please?:) Flex HarUI ??

Maybe you are looking for

  • Examples of 'calling a web dynpro application with parameters'

    Hi!! I'm I have been watching manual 'Web dynpro for abap: advanced concepts' in the sections 'url parameters' and 'calling a web dynpro application with parameters'. Is there some example where these terms are seen. Thanks in advance.

  • How I can do when I install Oracle 8.1.7.0 & Oracle9i core for Windows 2000?

    I downloaded Oracle8.1.7 standard Edition and Oracle9iAS Core for Windows NT. I installed them on Windows 2000 Server. I checked that Oracle HTTP server was working. But how can I get more information from Internet about Oracle Application Server? I

  • Adobe Camera Raw 6.7 Installation Failure

    From Adobe Bridge CS5, I enter Help, then Updates. Adobe Application Manager informs me that I can update Adobe Camera Raw to 6.7. I click to install, the software is downloaded tha I get an Installation Failure message. When I click on 'Customer Sup

  • Display problem

    Product name-15-p001TX Operating systems-Windows 8.1  Respected to whom so ever is concern,      In my notebook pc i have an display problem, some times while working on it, it blinks automatically. sometimes it is bright and some times it is lite. T

  • Backup sms contact and call history to pc

    Hello , I got the nokia 920 based on the camera hype at the time of it’s first unveiling. To my surprised it turned out my old Galaxy S2 took better pictures in my opinion. Here is my question, I am trying to backup my entire phone (has to be sent in