Page 3 of 7

How to import an audio file into my app

Posted: Sat Jul 20, 2013 2:31 pm
by yodacom

I just popped over to Application Craft and they have documented plugins which support this function. I hate to mention the competition here but this is a core piece which most applications need and shouldbe supported by appery.io soon or we will have to go elsewhere to build our apps. Unless Appery expects us all to go native and write the code in each environment .... which sort of defeats the whole cloud development concept?


How to import an audio file into my app

Posted: Sun Jul 21, 2013 4:58 pm
by maxkatz

You can save the file into the local file system.. but not into browser's local storage.


How to import an audio file into my app

Posted: Sun Jul 21, 2013 5:00 pm
by maxkatz

We will work on adding such capability.

Today, you can look into adding this functionality with custom JavaScript or a PhoneGap plug-in.


How to import an audio file into my app

Posted: Mon Jul 22, 2013 10:17 am
by David6064062

And I am right in thinking that the local url for the location of these files within the local file system could be saved to Local Storage Variables, and then the Video / Audio components can be pointing at the file in the local file system using the Local Storage Variable ?


How to import an audio file into my app

Posted: Mon Jul 22, 2013 2:04 pm
by Kateryna Grynko

http://docs.phonegap.com/en/2.4.0/cor... - here you'll find tools for the following scenario:

  1. The user sees in the app description that the first run will require an Internet connection to download additional content.

  2. The user installs the application.

  3. Runs it.

  4. The application looks for the desired audio files in a pre-designated area.

  5. In their absence, app asks the user for permission to download them. Files (up to 2MB) can be stored on our backend or other external resource.

  6. The user authorizes the further loading of content resources.

  7. App downloads all user needs to a pre-allotted folder.

    The script can have a significant advantage of inserting the file into the application itself:

  8. You can ask the user what file he wants to download. For example, you can have 3 sets of audio files with different quality, and different file sizes.

  9. You can fix/replace/add files even after you have uploaded the application in AppStore/PlayMarket.

  10. When first start, you can download a file that lists the files offered for download - a playlist that you will also be able to update without updating the application. From time to time, your application can check out the playlist, perhaps, by the date specified therein, and determine whether to download updates for audio files.


How to import an audio file into my app

Posted: Wed Jan 15, 2014 5:31 am
by Allan

Is the 2MB file size limit applicable to your backed services, or all services for the file API?


How to import an audio file into my app

Posted: Wed Jan 15, 2014 5:32 am
by Allan

Is the 2MB file size limit applicable to your backed services, or all services for the file API? If I have some large audio files (50-100mb files) hosted on Amazon cloud, would I be able to use this method to get those files into the app?


How to import an audio file into my app

Posted: Wed Jan 15, 2014 12:23 pm
by Maryna Brodina

Hello! 2MB file size is the limit for back-end service. You can download in app files you need from Amazon.


How to import an audio file into my app

Posted: Sun Jan 19, 2014 8:59 pm
by Christopher Duke

This bit of code helped me out for downloading via PhoneGap and may be of use to somebody out there!

https://gist.github.com/nathanpc/2464060


How to import an audio file into my app

Posted: Fri Oct 31, 2014 3:55 pm
by David6064062

1 Year on, how is the development of this feature coming along ?