Flex 4.6 mobile FileFilter in android....

hi everybody...
i have create one application in flex 4.6 for android...but i have problem with FileFilter in android don't read file .txt or pdf...this is my code:
private var fileTesti:File = new File();
private var filterTesto:FileFilter = new FileFilter("Text", "*.txt;");
protected function linkText(event:MouseEvent):void {
                                        fileTesti.addEventListener(Event.SELECT, onFileSelectText);
                                        fileTesti.browseForOpen("Apri");
private function onFileSelectText(event:Event):void {
                                        fileTesti.removeEventListener(Event.SELECT, onFileSelectText);
                                        txtTesto.text=(fileTesti.url);
the problem is in selected file...if write:
private var filterTesto:FileFilter = new FileFilter("Mp3", "*.mp3;");
no problem....but i have try to write this code:
private var filterTesto:FileFilter = new FileFilter("Text", "*.*;");
with this code, android select only files audio, image and video....
hot to do?????
help me please!!!!
i can't finish my application with problem....

You're not adding your filefilter as an argument of browseForOpen.
ie: browseForOpen("Apri", filterTesto);
But it might not make any difference:
http://forums.adobe.com/thread/834035
And from the actionscript refence:
"Note: On Android devices, the file dialog title cannot be set. The title parameter is ignored."

Similar Messages

  • Flex 4.6 mobile broke TextInput

    I'm currently in the process of upgrading a Flex 4.5 mobile project to 4.6 and have run into issues with TextInput's.
    Currently on most of my views you cannot click(tap) a TextInput and insert text. The field does not seem to take focus and no text appears when you type. I've tried this on a phone as well as on my computer. The weird thing about this is that I have two views where the TextInput's seem to be working. I have also removed all code, MXML and AS3, from a view where input's don't seem to be working and replaced it with a generic TextInput. Even after doing this the text field doesn't seem to be working.
    I have tried to reproduce this outside of this project but can't seem to be able to. Anyone have any idea what would be causing this?

    I have the same issue but isolated in a very simple app. I havent tested it in Android, but in iOS it is VERY Buggy...
    you just need to have this to reproduce:
    <?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">
      <fx:Declarations>
      <!-- Place non-visual elements (e.g., services, value objects) here -->
      </fx:Declarations>
      <s:layout>
                        <s:VerticalLayout paddingLeft="15" paddingRight="15" paddingTop="15" paddingBottom="15" />
      </s:layout>
              <s:Scroller width="100%" height="100%"> 
                        <s:VGroup width="100%" height="100%">
      <s:TextInput id="ui_firstName" prompt="First Name"  />
                                  <s:TextInput id="ui_lastName" prompt="Last Name" /> 
      <s:TextInput id="ui_firstName2" prompt="First Name" />
                                  <s:TextInput id="ui_lastName2" prompt="Last Name" /> 
      <s:TextInput id="ui_firstName3" prompt="First Name" />
                                  <s:TextInput id="ui_lastName3" prompt="Last Name" /> 
      <s:TextInput id="ui_firstName4" prompt="First Name" />
                                  <s:TextInput id="ui_lastName4" prompt="Last Name" /> 
      <s:TextInput id="ui_firstName5" prompt="First Name" />
                                  <s:TextInput id="ui_lastName5" prompt="Last Name" /> 
      <s:TextInput id="ui_firstName6" prompt="First Name" />
                                  <s:TextInput id="ui_lastName6" prompt="Last Name" /> 
      <s:TextInput id="ui_firstName7" prompt="First Name" />
      <s:TextInput id="ui_lastName7" prompt="Last Name" />
      <s:TextInput id="ui_firstName8" prompt="First Name" />
      <s:TextInput id="ui_lastName8" prompt="Last Name" />
      <s:TextInput id="ui_firstName9" prompt="First Name" />
                                  <s:TextInput id="ui_lastName9" prompt="Last Name" /> 
                                  <s:Rect height="500" />
      </s:VGroup> 
      </s:Scroller>
    </s:Application>

  • Javascript won't work - JavaScript for Reader Mobile API Reference (Android)

    I have created a Form with the new Adobe Acrobat Pro DC (trial version).
    The Javascript code just won't work on a mobile phone.
    Doc - JavaScript for Reader Mobile API Reference (Android this shows that what I want to do is supported.
    But not even the simplest command will work on my phone. (I am using Adobe Acrobat DC - PDF reader for Android)
    Any suggestions of what I could be doing wrong?
    Best,
    Menno

    A Doc.getField() should work.. Try small steps: Create a document with two fields (e.g. Text1 and Text2), then create a custom calculation script for Text2 that uses the following code:
    event.value = this.getField("Text1").value;
    Does this copy the data you enter in Text1 to Text2?
    Then, add a third field ("Text3") and a button with the following MouseUp JavaScript action:
    this.getField("Text3").value = this.getField("Text1").value;
    Does this work? It actually works for me. To save you some work, here is a link to the test file I've used: http://khkonsulting.com/files/AUC/AndroidTest.pdf

  • Getting Error while deploying ADF Mobile App in android Emulator

    Hi All,
    I am getting following error while deploying mobile app into android emulator........i have gone through google search and i hve done with all the steps...as follows
    1. keytool -genkey -v -keystore debug.keystore -alias androiddebugkey -keyalg RSA -keysize 2048 -validity 10000
    i gave password, last name ,organization, state and country
    2. jarsigner -sigalg MD5withRSA -digestalg SHA1 -verbose -keystore /Users/Admin/.android/debug.keystore C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1/generalmobileapp.apk
    3. /platform-tools/adb -e install -r C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1/generalmobileapp.apk
    After the above step...i got SUCCESS message(while running the above step in command prompt ).........
    Even after that.... I am getting same error while deploying my app using jdeveloper into android emulator.....
    ERROR:
    [09:40:02 AM] Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
    [09:40:02 AM]
    [09:40:02 AM] Command-line execution failed (Return code: 0)
    [09:40:02 AM] Command-line executed: "E:\android\adt-bundle-windows-x86_64\sdk\platform-tools\adb" -e install -r "C:\JDeveloper\mywork\GeneralMobileApp\deploy\ANDROID_MOBILE_NATIVE_archive1\generalmobileapp.apk"
    [09:40:02 AM] Deployment cancelled.
    [09:40:02 AM] ---- Deployment incomplete ----.
    [09:40:02 AM] Deployment failed due to one or more errors returned by 'E:\android\adt-bundle-windows-x86_64\sdk\platform-tools\adb'. The following is a summary of the returned error(s):
    Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
    Regards,
    Nani
    Edited by: 962874 on Jan 12, 2013 6:46 AM

    The emulator can run out of space for applications - so if you have other applications deployed to the emulator remove them and then try again.
    Other options here:
    http://stackoverflow.com/questions/2239330/how-to-increase-storage-for-android-emulator-install-failed-insufficient-stora

  • Facebook actionscript API not working with Flex 4.5 Mobile Project

    Will the following API work in a Flex 4.5 mobile project?
    http://code.google.com/p/facebook-actionscript-api/
    I tried a simple Facebook.int() and I keep getting the following error...
    Error: Error #2067: The ExternalInterface is not available in this container. ExternalInterface requires Internet Explorer ActiveX, Firefox, Mozilla 1.7.5 and greater, or other browsers that support NPRuntime.
    at Error$/throwError()
    at flash.external::ExternalInterface$/addCallback()
    at com.facebook.graph::Facebook/init()[C:\Users\MikeHunt\Work\facebookGraphApi\api\com\faceb ook\graph\Facebook.as:599]
    at com.facebook.graph::Facebook$/init()[C:\Users\MikeHunt\Work\facebookGraphApi\api\com\face book\graph\Facebook.as:165]
    at views::LoginView/init()[/Users/edgar/Documents/Adobe Flash Builder 4.5/socialMessenger/src/views/LoginView.mxml:15]
    at views::LoginView/___LoginView_View1_initialize()[/Users/edgar/Documents/Adobe Flash Builder 4.5/socialMessenger/src/views/LoginView.mxml:3]
    at flash.events::EventDispatcher/dispatchEventFunction()
    at flash.events::EventDispatcher/dispatchEvent()
    at mx.core::UIComponent/dispatchEvent()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\co re\UIComponent.as:13128]
    at mx.core::UIComponent/set processedDescriptors()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\UIComponent .as:1871]
    at mx.core::UIComponent/initializationComplete()[E:\dev\4.5.1\frameworks\projects\framework\ src\mx\core\UIComponent.as:7660]
    at mx.core::UIComponent/initialize()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\ UIComponent.as:7639]
    at spark.components::View/initialize()[E:\dev\4.5.1\frameworks\projects\mobilecomponents\src \spark\components\View.as:990]
    at views::LoginView/initialize()
    at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.5.1\frameworks\projects\ framework\src\mx\core\UIComponent.as:7485]
    at mx.core::UIComponent/addChildAt()[E:\dev\4.5.1\frameworks\projects\framework\src\mx\core\ UIComponent.as:7189]
    at spark.components::Group/addDisplayObjectToDisplayList()[E:\dev\4.5.1\frameworks\projects\ spark\src\spark\components\Group.as:2037]
    at spark.components::Group/http://www.adobe.com/2006/flex/mx/internal::elementAdded()[E:\dev\4.5.1\frameworks\project s\spark\src\spark\components\Group.as:1628]
    at spark.components::Group/addElementAt()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\c omponents\Group.as:1387]
    at spark.components::Group/addElement()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\com ponents\Group.as:1345]
    at spark.components::SkinnableContainer/addElement()[E:\dev\4.5.1\frameworks\projects\spark\ src\spark\components\SkinnableContainer.as:761]
    at spark.components::ViewNavigator/createViewInstance()[E:\dev\4.5.1\frameworks\projects\mob ilecomponents\src\spark\components\ViewNavigator.as:1954]
    at spark.components::ViewNavigator/commitNavigatorAction()[E:\dev\4.5.1\frameworks\projects\ mobilecomponents\src\spark\components\ViewNavigator.as:1867]
    at spark.components::ViewNavigator/commitProperties()[E:\dev\4.5.1\frameworks\projects\mobil ecomponents\src\spark\components\ViewNavigator.as:1236]
    at mx.core::UIComponent/validateProperties()[E:\dev\4.5.1\frameworks\projects\framework\src\ mx\core\UIComponent.as:8209]
    at mx.managers::LayoutManager/validateProperties()[E:\dev\4.5.1\frameworks\projects\framewor k\src\mx\managers\LayoutManager.as:597]
    at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.5.1\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:783]
    at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.5.1\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1180]

    This is the error because the runtime does not find any way to call Java script that usally is called through External interface. So my guess is you are using a AIR project. U just need to download the latest swc http://code.google.com/p/facebook-actionscript-api/downloads/list for destop in your case and don't forget to but FBJSBridge.js to put in your source that will b used to help AS call Facebook API from AIR runtime
    Hope it make some sense
    Piyush Negi

  • Flex 4.6 Mobile Forms

    There doesn't seem to be much discussion about the lack of mobile form support in a Flex 4.6 mobile apps - does anyone have any suggestions as to where is the best place to get started on a multi-page/view form running?
    As far as I can tell from the AS3 documentation - <s:Form> can run on a mobile device - IF you develop your own mobile skin.
    I would have thought there would be a huge outcry over lack of mobile form support - but as far as I can tell through much googling and research offical Adobe Evangalist blogs - no one seems to need or want mobile forms?
    Am I alone here? Once again, any suggestions on developing multi-view spanning forms??

    You don't have access to FORMS, but you can build your own form-like layouts. I've been laying them out myself. Using HGroups nested inside VGroups etc ... It takes more time, but on the mobile devices, you want to pay more attention to UI anyway.

  • Cannot convert mx.events::CloseEvent@88d8941 to spark.events.PopUpEvent. -----flex 4.7 Mobile project

    in flex 4.7 Mobile project,use s:TitleWindow:PopUpManager.removePopUp(this);why show "cannot convert mx.events::CloseEvent@88d8941 to spark.events.PopUpEvent"?

    This is the error because the runtime does not find any way to call Java script that usally is called through External interface. So my guess is you are using a AIR project. U just need to download the latest swc http://code.google.com/p/facebook-actionscript-api/downloads/list for destop in your case and don't forget to but FBJSBridge.js to put in your source that will b used to help AS call Facebook API from AIR runtime
    Hope it make some sense
    Piyush Negi

  • How to run oracle forms in ipdad or smart mobile using OS android

    please help me
    how to run oracle forms in ipad or smart mobile using OS( android )and connect to application server 10g?????
    Thanks

    If you had looked at data dashboard and some of the other links on Android, you would see that you cannot run a LabVIEW app on Android. Nor can you use a serial port. With Data Dashboard, you have a pc running LabVIEW and it publishes to network shared variables. Data Dashboard on the Android allows you to view those variables.

  • Flex 4.6 mobile mp3 player....create progressBar

    how to create progressBar for mp3 player in flex 4.6 mobile???
    help me please!!!!

    consider this scenario:
    1. user click a button and advances to the next view.
    2. here clicks a textinput so it focuses and soft keyboard appears
    3. user click back key on his phone - soft keyboard retracts (no backkeypressed event caught)
    4. textinput still has the focus border around it (why?) and user clicks back key again - application goes in the background for a couple of seconds and closes itself.
    I attached the .fxp for the test project
    http://dl.dropbox.com/u/4318878/TestBackKey.fxp

  • Cant download firefox mobile from my android 2.2 HTC wildfire... it says "item not found"... also it's unavailable on the android market...there are a lot of imitation apps though.

    I cant download firefox mobile from my android 2.2 HTC wildfire... it says "item not found"... also it's unavailable on the market... what to do???

    Sorry, Firefox 4 is not available for phones like the HTC Wildfire with ARMv6 processors. For details, see: https://wiki.mozilla.org/Mobile/Platforms/Android#System_Requirements

  • Are there a Windows Phone version of Lightroom Mobile coming soon or Lightroom mobile will be android and iOS only?

    Hi:
    Are there a Windows Phone version of Lightroom Mobile coming soon or Lightroom mobile will be android and iOS only?
    Best regards.
    Miguel

    Anyone?

  • I use an xpi extension (moderating yahoo groups) for FF on my laptop. I have FF mobile on my Android phone but cannot get the extension to work on the phone. Any ideas? Need any more information from me? Many thanks

    I moderate several 'Freecycle' and similar community groups hosted by Yahoo Groups. A tool has been developed to make this easier (e.g. automating certain functions, standard messages etc) for FF users on PCs & Macs. I have FF mobile on my Android phone but cannot get the moderation tool to install.

    Extensions would need to be modified by the extension author to work with Firefox mobile.

  • Communicate a Web application (Flex) with a mobile Apllication (Flex)

    Hello,
    I wonder if it is possible to communicate a Web application (Flex) with a mobile Apllication (Flex).
    when I Click on a button in my web application I receive an alert in my mobile application.
    if you have any ideas I would be very grateful.
    Regards.

    I tried that but my problem is that the code is so old. At least what I saw. I don't know how old is too old and I'm trying to do things "right." I saw code from 1998, but I don't know if that's still what you do. It might still work, but that doesn't mean it's correct. There's so much out there on Java that so old that half the time I'm not sure what to do because some other technology in J2EE or the latest Java SDK might have come up with a new way to do things. Thanks.

  • So....basically none of the creative mobile apps are Android. Great.

    So....basically none of the creative mobile apps are Android. Great.

    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform for bugs or feature requests

  • Adobe mobile apps for Android?

    Does anyone know if or when Adobe will develop more mobile apps for Android?
    There are so many mobile touch apps for iOS but only a hand full for Android.

    I love the idea of a discount for Android users ... we are paying the same subscription fees for far less service.  Tweet Adobe...
    @creativecloud U should give Android users a monthly discount until your mobile app collection for @Android matches your iOS collection. :-/
    another tweet:
    @creativecloud my monthly @Android subscription $$ is getting far less service than @appleios subscription $$. horrible @Adobe . horrible.

Maybe you are looking for

  • Creating a new application in E-BS

    Hello, Not sure, if OAF forum is the right one to ask this question, but as we have been customizing EBS only using OAF, asking it here. Are there any guidelines in deciding whether to create a new application or not during EBS customization. I mean,

  • "Download Linked File As" Does Not Work

    As others have noted, although Safari is an excellent and fast browser, there is one feature that is quite annoying, namely that all filed download by default to a single folder selected in preferences. Internet Explorer (and Firefox, I believe) by d

  • Can I use my Photoshop CS5 for Windows on my new iMac computer

    I have a genuine Photoshop CS5 I bought for my old, not used,Windows7 64bit computer. Can aI get a transfer of my CS5 onto my new iMac computer.

  • Wifi slider is frozen and i need it on

    my wifi slider will not slide so that can have access to my wifi .

  • Getting XML info with ABAP mapping

    Hi everyone. I'm near to finish my abap mapping demo. The problem is that i don't know how i can retrieve the values of a kind of node. I would like to retrieve this data into a internal table. I've done the output XML. How can i get that values from