1. #1
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,395
    Vote Rating
    23
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default Real Time File Sharing / iTunes Files Sync (Aral CMS)

    Real Time File Sharing / iTunes Files Sync (Aral CMS)


    Hi guys,
    In this post I wanna show the new features develop on my Aral Project.
    In details, the video below will focus on:
    • File Upload from your iPad sync directly with iTunes to Aral Sencha application.
    • Real time file sharing of every kind of files from users on the same Network.
    In the first half, you will see how you can upload a picture directly from your Image Library and then, how you can sync every kind of files with iTunes to your Aral application.
    In the second half, is shown how you can upload the new files to your Aral remote disk and share them with another online user in real time during a chat session.
    The application is build for 95% in Sencha Touch framework and for the remaining 5% in Objective C.
    All the animations are maked with CSS3, obviously, no Adobe Flash and Phone GAP was used in this video.



    As always, any feedback from the community is really appreciated .
    Hope you like it.

    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    Owner at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    https://github.com/AndreaCammarata/TUX


  2. #2
    Sencha User
    Join Date
    Aug 2010
    Posts
    303
    Vote Rating
    3
    steve1964 is on a distinguished road

      0  

    Default


    Hi Andrea, impressive work. Just a tech note, what you are showing is an app and you are running sencha touch app in a xcode web view?

  3. #3
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,395
    Vote Rating
    23
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    Quote Originally Posted by steve1964 View Post
    Hi Andrea, impressive work. Just a tech note, what you are showing is an app and you are running sencha touch app in a xcode web view?
    Hi steve and thanks for your feedback.
    Yes it's exactly like you said, the Sencha application is wrapped inside an xcode web view.
    So I can take the best from Sencha Touch but even from iOS.
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    Owner at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    https://github.com/AndreaCammarata/TUX


  4. #4
    Sencha User
    Join Date
    Feb 2011
    Posts
    5
    Vote Rating
    0
    mfruhling is on a distinguished road

      0  

    Default


    Andrea,

    I've gotten as far as using phonegap to capture an image from my iphone, but I'm confused as to how to upload it to my server. Is there a part of the sencha touch library that will accept a file URI, convert that to binary and upload it to a url on my server? I'm starting to think that I may need to use a plugin or something in phonegap for this. What did you use for your file upload process?

  5. #5
    Sencha - Services Team AndreaCammarata's Avatar
    Join Date
    Jun 2009
    Posts
    1,395
    Vote Rating
    23
    AndreaCammarata has a spectacular aura about AndreaCammarata has a spectacular aura about

      0  

    Default


    Quote Originally Posted by mfruhling View Post
    Andrea,

    I've gotten as far as using phonegap to capture an image from my iphone, but I'm confused as to how to upload it to my server. Is there a part of the sencha touch library that will accept a file URI, convert that to binary and upload it to a url on my server? I'm starting to think that I may need to use a plugin or something in phonegap for this. What did you use for your file upload process?
    Hi,
    I'm personally not a big fan of PhoneGap, but don't get me wrong, I think it is a great way to wrap Sencha Touch application inside a native App with support of some native iOs feature like get picture from camera.
    For this reason I really suggest PhoneGap to people don't wants mess with Objective C.
    However, I decided to use a different approach for this, bacause I made a mix of Sencha Touch with native Objective C code, without PhoneGap integration. As you can see from the posted video in fact, I'm even able to sync files directly from iTunes and this is actually not possibile if you don't know a little of Objective C.
    Actually, I don't think there is a plugin from Sencha or PhoneGap that allow you to do the same.

    However, to upload files to my server, I get the byte array from the file I want to upload, convert it in Base64 string and I call my WebService able to save the incoming file inside the user remote directory.

    I hope this reply to your question.
    If not feel you free to ask, I will reply asap.

    Cheers,
    Sencha Inc
    Andrea Cammarata, Solutions Engineer
    Owner at SIMACS

    @AndreaCammarata
    www.andreacammarata.com
    github: https://github.com/AndreaCammarata

    TUX components bundle for Sencha Touch 2.x.x
    https://github.com/AndreaCammarata/TUX


Similar Threads

  1. Aral Disk Manager (File upload from your iPhone / iPad without PhoneGap)
    By AndreaCammarata in forum Sencha Touch 1.x: Examples and Showcases
    Replies: 24
    Last Post: 10 Jan 2012, 1:28 AM
  2. Aral CMS - Looking for talented designers and CSS3 animators!
    By AndreaCammarata in forum Sencha Touch 1.x: Examples and Showcases
    Replies: 0
    Last Post: 4 Nov 2010, 6:42 AM
  3. Grid with Real time data
    By ext1974 in forum Ext 3.x: Help & Discussion
    Replies: 2
    Last Post: 2 Mar 2010, 6:12 AM
  4. dataview real time update
    By wp.joju in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 17 Feb 2010, 9:21 PM
  5. Newbie question about sharing stores across different js files
    By jwhetsto in forum Ext 3.x: Help & Discussion
    Replies: 3
    Last Post: 2 Feb 2010, 10:57 AM

Thread Participants: 2