R RyteByte New Member Licensed User Feb 9, 2019 #1 Greetings. I am new to B4A. I am looking to develop an app that does the following: 1. Get a list of files from a specific web site. (http://site.com/files). The web page lists File URLs, File names, Date/time stamps, and file sizes. 2. Check list of files against list of files on phone within a specific directory. 3. Update any files that have changed from the site by downloading to the specific directory on the phone. Note these files are approximately 300 MB each. I believe most of this is covered with some of the libraries available, but would appreciate assistance in what libraries can accomplish this and any specific tutorials that would assist me in developing this app.
Greetings. I am new to B4A. I am looking to develop an app that does the following: 1. Get a list of files from a specific web site. (http://site.com/files). The web page lists File URLs, File names, Date/time stamps, and file sizes. 2. Check list of files against list of files on phone within a specific directory. 3. Update any files that have changed from the site by downloading to the specific directory on the phone. Note these files are approximately 300 MB each. I believe most of this is covered with some of the libraries available, but would appreciate assistance in what libraries can accomplish this and any specific tutorials that would assist me in developing this app.
DonManfred Expert Licensed User Longtime User Feb 9, 2019 #2 okhttputils2 is most probably all you need. At least for the downloadpart. Depending on how the site is delivering the filenames you need to use the stringfunctions to parse the result. But at the end you should get it al working with the preinstalled libraries. Some interesting links for the beginning. - android.jar / targetSdkVersion / minSdkVersion Especially RuntimePermissions - https://www.b4x.com/b4a.html#documentation - Videotutorials. Some Videos every developer should know. https://www.b4x.com/etp.html Some tips: - Always create a new thread for any new question. Do not post to existing hreads. - Use Code Tags when posting code Please use [CODE]code here...[/CODE] tags when posting code. Upvote 0
okhttputils2 is most probably all you need. At least for the downloadpart. Depending on how the site is delivering the filenames you need to use the stringfunctions to parse the result. But at the end you should get it al working with the preinstalled libraries. Some interesting links for the beginning. - android.jar / targetSdkVersion / minSdkVersion Especially RuntimePermissions - https://www.b4x.com/b4a.html#documentation - Videotutorials. Some Videos every developer should know. https://www.b4x.com/etp.html Some tips: - Always create a new thread for any new question. Do not post to existing hreads. - Use Code Tags when posting code Please use [CODE]code here...[/CODE] tags when posting code.