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

Similar Messages

  • Two styles for a native look (Flex Mobile App)?

    Hello,
    is it possible to use two styles/looks for the same App, that this one will look native on iOS AND on Android?
    Or will I have to build the same App twice to get this?
    - BB

    Check out Jason San Jose's blog posting here: http://blogs.adobe.com/jasonsj/2011/06/ios-theme-for-flex-mobile-projects-proof-of-concept .html

  • Flex mobile app - which data grid control to use?

    Hi,
    Trying to build my first Flex mobile app in FlashBuilder 4.6 and I need a grid control to display a 2 dimmensional array of 6 columns x 50 rows.
    The user doesn't don't need to have any interraction with the grid except for scrolling the rows.
    I was looking at using dataGrid component but adobe doesn't recommend it for mobile apps.
    Is there a grid component that is recommended for mobile apps?
    Thanks

    Here it is.
    // Show empty grid to start
    private function initGrid():void
        const dataArray:Array = new Array(1);
        var values:Array = new Array(1);
        values[0] = "";
        dataArray[0] = values;
        grid.dataProvider = new ArrayCollection(dataArray);
    // Build array and feed it to the grid - 50 rows x 9 columns dataGrid (grid)
    protected function FillGrid():void
    var rows:int = 50;
    var columns:int = 9;
    // rows array
    const dataArray:Array = new Array(rows);
    // Get rows
    for(var row:int=0; row<rows; row++)
      const arrLine:Array = [columns+1];
      arrLine[0] = row+1;
      for(var col:int=1; col<columns+1; col++)
       // columns array
       arrLine[col] = Math.floor(Math.random()*10);
      dataArray[row] = arrLine;
    // At this point the multi dimensional array is assembled, now we connect it to the dataGrid
    grid.dataProvider = new ArrayCollection(dataArray);
    <!-- The DataGrid's dataProvider and typicalItem are set at initialize time by the initializeDataProvider method. -->
    <s:Panel id="tablePanel" x="519" top="91" width="470" height="400" color="#827259" fontSize="18" title=".">
    <s:DataGrid id="grid" left="5" right="5" top="5" bottom="5" selectionMode="singleRow" initialize="initGrid()" fontSize="17" >
      <!-- The default item renderer is used by the first 6 columns to display
      the dataProvider item's array element value at col. -->
      <s:itemRenderer>
       <fx:Component>
        <s:DefaultGridItemRenderer>
         <fx:Script>
          <![CDATA[
           override public function prepare(hasBeenRecycled:Boolean):void
            label = data[columnIndex];
          ]]>
         </fx:Script>
        </s:DefaultGridItemRenderer>
       </fx:Component>
      </s:itemRenderer>
      <s:columns>
       <s:ArrayList>
        <!-- Columns inherit the DataGrid's itemRenderer. -->
        <s:GridColumn id="zero"    headerText="N0" width="65" resizable="false"/>
        <s:GridColumn id="one"     headerText="N1" width="45" resizable="false"/>
        <s:GridColumn id="two"     headerText="N2" width="45" resizable="false"/>   
        <s:GridColumn id="three"   headerText="N3" width="45" resizable="false"/>   
        <s:GridColumn id="four"    headerText="N4" width="45" resizable="false"/>
        <s:GridColumn id="five"    headerText="N5" width="45" resizable="false"/>
        <s:GridColumn id="six"     headerText="N6" width="45" resizable="false"/>
        <s:GridColumn id="seven"   headerText="N7" width="45" resizable="false"/>
        <s:GridColumn id="eight"   headerText="N8" width="65" resizable="false"/>
       </s:ArrayList>
      </s:columns>
    </s:DataGrid>
    </s:Panel>       
    Tomexxus

  • How to remove Button from Flex Mobile app actionbar with AS3?

    How exactly would i remove a Button from the actionBar "actionContent" in a flex mobile app?
    I tried these:
        this.stage.removeChild(menu_btn);
        this.removeChild(menu_btn);
        stage.removeChild(menu_btn);
        this.stage.removeElement(menu_btn);
        this.removeElement(menu_btn);
        stage.removeElement(menu_btn);
    I'm not having any luck with those. Im guessing where it is located in the actioncontent isn't considered the stage. Any ideas?
        <s:actionContent>
                            <s:CalloutButton id="menu_btn" icon="@Embed('assets/images/menu/menu_btn.png')" visible="false">
                                      <s:VGroup>
                                      <s:Button id="btn_one" label="Button" />
                                      </s:VGroup>
                            </s:CalloutButton>
                  </s:actionContent>
    The actionContent is setup like that, I know like with most mxml stuff I could give it an ID to reference it but im not sure how how to give the action content an id number `<s:actionContent id="testID">` does not work. So how can i access this to remove it? making it invisible isn't cutting it i need to actually remove it.

    Does this do what you are looking for?
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
        <s:actionContent>
            <s:Button id="excess" label="excess" />
            <s:Button label="remove" click="this.navigator.actionBar.actionGroup.removeElement(excess);" />
        </s:actionContent>
    </s:View>

  • How to use OneDrive for Business mobile app with SharePoint 2013 on-premise?

    Hi All,
    I have a SharePoint 2013 (with latest December updates) that host a dedicated personal web site for users.
    The OneDrive portal works fine and users are able to sync their files with the OneDrive client for Windows.
    Now I want to test the OneDrive for Business mobile app on Android, but there is no option to specify the "personal" portal URL.
    It asks only for domain credentials.
    Does I need to configure specific records on my public DNS to allow mobile users to sync their files?
    Thanks

    I can confirm that with iOS you can connect to your SharePoint server through the advanced options.
    But the very strange thing is that the OneDrive version for Windows Phone 8.1 is limited as the Android version.
    This has no sense.
    Why does Microsoft should limit the Business functions on its mobile operating system, and not on iOS?
    Another strange thing is that configuring my Exchange account, Windows Phone 8.1 informed me that it has connected OneDrive for business (but is a fake information).
    See attached image.
    If I open the built-in OneDrive app, it give me the option to add a OneDrive for business account, but is only for Office 365 users (like with the Android version).
    I thing that Microsoft should let at least to Windows Phone users to connect to on-premise SharePoint sites.

  • Flex Mobile App eats memory on device

    Hi,
    I have my flex mobile app that manages a lot of bitmapdata objects. Every bitmapdata is disposed after use. It's a multi-layer drawing app, and I have many SpriteVisualElements displayed on the screen. Every SpriteVisualElement contains 4 SpriteVisualElement that I use to paint different images. The problem is that on device (iPad2) the app eats a lot of RAM. It's not a memory leak problem (the memory is properly released when I return to the first view). I don't know what to do... please help me!
    ps: on Flex profiler the app seems to consume 6 times less RAM

    oooooh nooooo
    you have to pay Apple first
    and then request a certificate and provisioning file
    and then try and figure out how to convert the certificate to a .p12 file
    and cross your fingers and hope they will allow it in their store
    and you have to own a mac, although there are some convoluted ways to get a certificate using a pc you still cant get onto the store without a mac

  • Create ItemRenderers for Flex Mobile Projects | ADC Presents | Adobe TV

    Piotr Walczyszyn explains the process of creating custom ItemRenderers in ActionScript3 for Flex mobile applications, as well as the functionality they add to your projects.
    http://adobe.ly/z8Lce2

    Looks like the source is available on github
    https://github.com/pwalczyszyn/examples/downloads

  • Cloud for Customer Mobile app - Customization Options

    Hello,
    Can anyone please provide more details on the customization options for Cloud for Customer Mobile apps?
    1. Is this a native application (which requires native language coding) or a hybrid/HTML5 based application.
    2. Are customization's made to the browser based Cloud for Customer application for desktops also pushed out to the mobile apps?
    3. I see the mobile app is available for iPhone, Android and iPad devices at this time. The iPad application has offline capabilities. Is this going to be offered to Android and iPhone apps soon?
    Thanks,
    Amandeep

    Angela,
    Can you clarify one thing for me in regards to adaptations made by an administrator.  Example.  If I as administrator create a new tab on the account view and then add some field extensions and publish, I can see those changes on the iPad but not the iPhone via the native app that is downloaded.   It appears that the iPhone app has very limited features as compared to the iPad.
    Can you confirm?
    Thanks,
    Jeff

  • Flex mobile app for Kindle Fire?  is it possible?

    Hi, I read this in the kindle amazon developer faq, is it possible to develop Flex 4.6 mobile apps for Kindle fire?  even thought it doesn't show up in the
    list of devices?
    any Gotcha's I need to look out for?
    Is Adobe AIR pre-installed on Kindle Fire?
    Yes, developers can publish Adobe AIR 3 applications for the Kindle Fire by packaging them as ‘captive runtime’ applications. However, these captive runtime applications will not support on-device debugging.
    thanks,

    More info here: http://blogs.adobe.com/flashplatform/2011/11/amazon%E2%80%99s-kindle-fire-lights-up-app-cr eativity.html

  • How can I have html5 audio continue to play in background in iOS7 from my flex mobile app

    I have mobile app I've developed in flash builder 4.6 (flex 4.12 sdk) and I have a stagewebview component which contains HTML5 audio (mp3 retrieved from my web server and streamed / played via the app)... I want to have the ios version of the app CONTINUE to play the mp3 / html5 audio when the user presses the home button on their iphone or opens another app... so that when multitasking, my audio continues to play (where theres no other NEW audio started, for instance).
    I have added the following to my manifest but it still doesnt do what Im after. I used this in another mobile app where I just play audio from the url directly in flash builder (i.e. NOT via webview component) -- but here it seems the webview suspends (Im guessing)...
    <iPhone>
        <InfoAdditions><![CDATA[
            <key>UIDeviceFamily</key>
            <array>
                <string>1</string>
            </array>
            <key>UIBackgroundModes</key>
            <array>
                <string>audio</string>
            </array>
        ]]></InfoAdditions>
        <requestedDisplayResolution>high</requestedDisplayResolution>
    </iPhone>
    Is there a way around this so my audio continues to play? My test device is an iphone 4 running the latest version of ios7

    You can import audio files into Logic (as easy as drag and drop).  You can download these loops from the Internet from a variety of sources both free and paid.  Just do a Google search for those.
    Once you've imported the file into Logic Pro, right click on the audio region and scroll down to the "Convert" option about halfway down the menu.  The top option will be "Add to Apple Loops library" - click this, and it'll add the file into your Apple loops.
    It won't affect the other loops in the library.

  • Converting Burrito Flex Mobile App to Desktop

    Hi Guys!  Have just developed an app for Android using Burrito.  It works nicely on a phone but it is also great as a little 'widget like' desktop app.
    Is there any way to package it so that it may be distributed as an Air app that runs exactly like it does when run in emulation mode (adl) from Flash Builder?  If not, what is the simplest path to convert the <mobileApplication> to a <windowedApplication>?
    Thanks,
    Richard
    Update:  Surprised no one has answered this.  I am new to Flash Builder and I figured you guys would know.  Have been looking at viewstacks in standard Air apps and trying to figure how to use this to achieve the same effect as a mobile app.  Looks like quite a lot of work to rewrite the app to Air on the Desktop ... is there an easier route .... anyone?

    Hi Richard,
    I was able to complile and deploy my Android app using command line air/android packaging and adding required air swc's to my project. I used the following packageApplication.bat(downloaded from livedocs) to package my MobileApplication as both an air app and android:
    :: AIR application packaging
    :: More information:
    :: http://livedocs.adobe.com/flex/3/html/h ... ml#1035959
    :: Path to Flex SDK and ANDROID binaries
    set PATH=%PATH%;C:\Program Files (x86)\Adobe\Adobe Flash Builder Burrito\sdks\4.5.0\bin;C:\Program Files (x86)\Adobe\Adobe Flash Builder Burrito\jre\bin
    :: commented   set PATH=%PATH%;C:\PATH_TO_YOUR_ANDROID_SDK\android-sdk-windows\tools
    echo PATH Set to %PATH%
    :: Signature (see 'CreateCertificate.bat')
    set CERTIFICATE=testCert.p12
    set SIGNING_OPTIONS=-storetype pkcs12 -keystore %CERTIFICATE%
    if not exist %CERTIFICATE% goto certificate
    echo CERTIFICATE_FILE: %CERTIFICATE%
    :: Output AIR
    if not exist air md air
    set AIR_FILE=air/FlashClientMobile.air
    echo AIR_FILE: %AIR_FILE%
    :: Output APK
    if not exist apk md apk
    set APK_FILE=apk/FlashClientMobile.apk
    echo APK_FILE: %APK_FILE%
    :: Input
    set APP_XML=FlashClientMobile-app.xml
    set FILE_OR_DIR=FlashClientMobile.swf assets
    echo APP_XML: %APP_XML%
    echo FILE_OR_DIR: %FILE_OR_DIR%
    :: MEecho Signing AIR setup using certificate %CERTIFICATE%.
    echo AIR COMMAND adt -package %SIGNING_OPTIONS% %AIR_FILE% %APP_XML% %FILE_OR_DIR% 
    call adt -package %SIGNING_OPTIONS% %AIR_FILE% %APP_XML% %FILE_OR_DIR%
    if errorlevel 1 goto failed
    :: echo.
    :: echo AIR setup created: %AIR_FILE%
    :: echo.
    echo Signing APK setup using certificate %CERTIFICATE%.
    call adt -package -target apk %SIGNING_OPTIONS% %APK_FILE% %APP_XML% %FILE_OR_DIR%
    if errorlevel 1 goto failed2
    echo.
    echo APK setup created: %APK_FILE%
    echo.
    :: APK INSTALL
    echo Installing package... %APK_FILE%
    call adb install %APK_FILE%
    if errorlevel 1 goto failed2
    echo.
    echo Android setup installed: %APK_FILE%
    echo.
    goto end
    :certificate
    echo Certificate not found: %CERTIFICATE%
    echo.
    echo Troubleshotting:
    echo A certificate is required, generate one using 'CreateCertificate.bat'
    echo.
    goto end
    :failed
    echo AIR setup creation FAILED.
    echo.
    echo Troubleshotting:
    echo did you configure the Flex SDK path in this Batch file?
    echo.
    :failed2
    echo Android install FAILED.
    echo.
    :end
    pause
    //END BATCH FILE
    I then did a diff between a Flex Buritto Moblie/AIR project library swc's included and identified swc included in AIR and missing in mobile. I updated the project libraries by adding the following swc's:
    sparkskins.swc
    utilities.swc
    aircore.swc
    airframework.swc
    airspark.swc
    applicationupdater.swc
    applicationupdater_ui.swc
    Then performed a clean build and ran packageApplication from my bin-debug dir and was successfully able to install and run the mobile application on the desktop :-).
    Being new to supporting mobile phones, tablets, TV screens along with our web and desktop clients I am not yet sure how we will structure our projects and get maximum code reuse and UI consistancy across these form factors. I have already created a common library project containing all remote stubs, value objects and common utilities and am still trying to figure out how much mileage I can get out of my mobile views. I like the View Navigator and ActionBar navigation on all screens we support and am thinking to extend the ViewNavigator and add additional states along with the 'portrait' and 'landscape' currently offered, like 'portraitPhone', 'portraitTablet', 'portraitTV', 'portraitPC' and leverage my existing mobile views to use these states to adjust the UI layout to accomodate the new realestate... but still learning...
    Hope that helps!
    Cheers,
    Greg

  • Open PDF file into flex mobile app

    Hy,
    I use this method to open a web page into my flex mobile application and I want to now if is possible to make the same for an PDF file.
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" title="Test">   <fx:Script> <![CDATA[ import flash.net.URLRequest; import flash.net.navigateToURL; import flash.display.MovieClip; import flash.media.StageWebView; import flash.geom.Rectangle; import flash.events.KeyboardEvent; import flash.ui.Keyboard; import flash.desktop.NativeApplication; import mx.events.FlexEvent; private var browser:StageWebView;
    protected function onButtonClicked(event:MouseEvent):void { browser = new StageWebView(); browser.viewPort = new Rectangle(0, 0, 100, 200); browser.stage = this.stage; browser.loadURL("http://adobe.com"); }  ]]> </fx:Script> <s:Button x="209" y="67" label="test" click="onButtonClicked(event)" /></s:View>

    Rangrajan,
    If you have the complete URL to the file; for example http://forums.adobe.com/filename.pdf
    or C:\users\yourname\filename.pdf
    Although I have not used it, you can pass the URL to Drumbeat Insight iFrame
    You can try their product, get prices for source code or library here: http://drumbeatinsight.com/products
    They offer email support for their products.
    You can make your own iFrame, with several sources.  Here is some background.
    http://www.ozzu.com/flash-forum/targeting-iframe-from-flash-t30013.html
    Let me know if this solves your file issue.
    I need to write a server-side app to listen to my web service, upload the PDF, then write a temporary file.pdf to the server,
    before my web app can load the PDF into a web hosted iFrame.
    Adobe needs to make this easy (and I even know some developers in the San Jose Adobe headquarters).
    Bruce

  • Paypal button for jquery mobile app in DW CS5.5

    Using the jquery mobile app framework in DW CS5.5 and need help in using Paypal mobile.
    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
      <input type="hidden" name="cmd" value="_xclick" />
      <input type="hidden" name="bn" value="webassist.dreamweaver.4_5_0" />
      <input type="hidden" name="business" value="[email protected]" />
      <input type="hidden" name="item_name" value="Odor Cat" />
      <input type="hidden" name="amount" value="19.50" />
      <input type="hidden" name="currency_code" value="USD" />
      <input type="hidden" name="shipping" value="5.50" />
      <input type="hidden" name="return" value="http://www.mysite.com/checkout_success.php" />
      <input type="hidden" name="cancel_return" value="http://www.mysite.com/checkout_failure.php" />
      <input type="hidden" name="undefined_quantity" value="1" />
      <input type="hidden" name="receiver_email" value="@hotmail.com" />
      <input type="hidden" name="mrb" value="R-3WH47588B4505740X" />
      <input type="hidden" name="pal" value="ANNSXSLJLYR2A" />
      <input type="hidden" name="no_shipping" value="0" />
      <input type="hidden" name="no_note" value="0" />
      <input type="submit" name="submit1" id="submit1" value="Pay with PayPal">
               </form>
    This form button will take the user to paypal for payment, but is not for mobile app.
    thanks for your help,
    -Jim Balthrop

    How do I get someone to respond to my question here?
    Let me try again.
    With DW CS5.5 when I try to insert a PayPal button into a table (which I always did with DW8) the table in Design View gets scrambled, making it unusable.  Please would one of you out there who is much more knowledgeable about DW than me try it and see if there is a solution?  If you create a new HTML page in Design view, create a table in it, place the insertion point inside one of the table cells, go to the code view and locate the insertion point there, then paste the PayPal button code at that point. Here's the code:
    <form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="hosted_button_id" value="XSXQ9CUMUVLQC">
    <input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_cart_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
    <img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
    </form>
    Now go back to Design view and see how it looks.  If it acts the way it does for me, the table is no longer visible, but if you go to Live View everything looks fine with the table and the button inside it.  Of course, I can't design in Live View.
    PLEASE can someone out there help me.
    Many thanks.

  • 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

  • Authentication Mechanism for Our Mobile App

    Hi All,
    We developed a mobile app with SAP SRM System as backend.
    Java Adapters is used in the front end to access SAP Backend in the form of Web Service URL, which is nothing but FM in the form of URL.
    The FM in our application, takes only the User ID, who logs in as the input and returns the data of the user as expected.
    When the Web-Service is called, it is accessing the SAP SRM backend DIRECTLY.
    So, we have to give SAP Backend Credentials to the WS to return the output.
    Is there anyway by which, the user can login the mobile app with his user ID and some other password set by him in the front end login application (which can also have "Forgot Password?") BUT NOT SAP Backend password, as the user id will be consumed in the back-end by the Web-Services.  
    Hope I am clear:)
    Thanks & Regards,
    Pavan

    Cool. Thanks.
    >>> thsundel<[email protected]> 6/18/2012 8:06 AM >>>
    seschenburg;2201882 Wrote:
    > See subject. :-)
    >
    > We just installed Novell Messenger 2.2 and I've been asked about mobile
    > app availability. Mostly for internal users on our internal wi-fi
    > segment, but if there's an external option please share that also. I'll
    > probably get asked about that next.
    >
    > Thanks.
    iPhone and Android mobile apps should be available in mid 2012
    according to the roadmap: http://www.novell.com/php5/groupwise/ (ignore
    the video)
    Thomas
    thsundel
    thsundel's Profile: http://forums.novell.com/member.php?userid=128
    View this thread: http://forums.novell.com/showthread.php?t=456946

Maybe you are looking for

  • On new MBP I keep getting message that I need to shut down and then restart

    I just got a new 13" MBP. I took the old 500GB 7200 rpm HD (which was operating perfectly) out of my old 13" white MB and put it in the new MBP. Now at boot I get as far as a gray screen, then I get a black screen with text in several languages sayin

  • Offset for variable not working !

    Experts, I have to show sales for last 5 months ( in 5 diff. Columns ) So, i have written CMOD code, where i am converting System date in to Fiscal Year / Period using FM DATE_TO_PERIOD_CONVERT. every thing works good, i do get result. but the proble

  • Xcode wont install. Upgrade to lion?

    Hey! I have a MacBook pro that is currently running Mac OS X v10.6.8 (Snow Leopard). I need to download Xcode and have found the older version of it that is supposed to work on this version from the apple dev website. I get up until the actual "insta

  • Can I store my apps in one place and my music in another?

    I put my music on an external HDD at work. On weekends, I like to update podcasts at home on my laptop. This, though, deletes all my apps from my phone. So, is there a way to tell Itunes to put my apps on my laptop so they do not get deleted if i syn

  • SubmitForm  in  Chinese characters

    in the sample : http://labs.adobe.com/technologies/spry/samples/form_submission/SubmitFormWithXHRSample.as p.html when i type uneven Chinese characters in the Textarea ,the response will return disorderly code fox example ,i type "吕", it will return