1. #1
    Sencha User kostysh's Avatar
    Join Date
    Nov 2011
    Location
    Odessa, Ukraine
    Posts
    175
    Vote Rating
    19
    kostysh will become famous soon enough kostysh will become famous soon enough

      2  

    Default File uploading component for Sencha Touch

    File uploading component for Sencha Touch


    Can be useful. Custom component for uploading files in Sencha Touch apps without page refresh.

    Source and demo app on GitHub: https://github.com/kostysh/File-uplo...r-Sencha-Touch

    Features:
    • File uploading without page refresh
    • Autoupload onchange
    • Custom styling (same to Ext.Button component styling)
    • File name as button badge
    • Android (4.0 up) browser support as regular
    • Google Chrome for desktop and mobile
    • iOS Safari browser support from version 6.0 (not tested on mobile)
    Known issues:
    • Strange behavior of Google Chrome mobile (page reload after image selected)
    • Android browser for ICS crashes while large images loading (on the response phase with returnBase64: true)

  2. #2
    Sencha User
    Join Date
    Oct 2012
    Posts
    1
    Vote Rating
    0
    caimingcao is on a distinguished road

      0  

    Default I have problem.

    I have problem.


    Is it support webview in android (up 4)?

  3. #3
    Sencha User kostysh's Avatar
    Join Date
    Nov 2011
    Location
    Odessa, Ukraine
    Posts
    175
    Vote Rating
    19
    kostysh will become famous soon enough kostysh will become famous soon enough

      0  

    Default


    yes, this component works in webview. On my Android 4.0.3 smartphone all works fine.
    If you found any errors, please open an issue on github.
    At this moment only one known issue exist: attempt to load large files can cause a browser crashing (not component issue, but a memory related issue on both system - iOS & Android)

  4. #4
    Sencha User
    Join Date
    Jun 2013
    Posts
    4
    Vote Rating
    0
    albert_hong is on a distinguished road

      0  

    Default


    Hi @kostysh,

    This component works fine when I deploy the js files and PHP files on one server.
    But I want to install the web app as a native app. If I do this, the browser would refuse the cross-origin access.
    If you please tell me how to use sencha touch upload files as native app.

  5. #5
    Sencha User
    Join Date
    Jun 2013
    Posts
    1
    Vote Rating
    0
    Ssurendra is on a distinguished road

      0  

    Default File uploading component for Sencha Touch

    File uploading component for Sencha Touch


    It is working fine on web browser, but on mobile browser it's not working fine on (iphone & android), when we change the browser setting 'request desktop site' checkbox, then it is working fine. i want to use without change 'request desktop site' checkbox.... help me..