EstasPerplejo
Member
Hi guys.
I am pretty new to B4x and consider myself rather inexperienced.
I stumbled over the sample code 2 of SMM and I thought it quite interesting and so I started adapting it for a new project.
Well, as it turned out it wasn't as easy as I thought...
1) How can I determine the number of files (images - png, bmp, jpg, gif) in a given folder when the number of images is unknown? In the she sample code the number of images is set 600.
2) How can I customize the address for this folder? I tried this but no images show up:
MediaManager.SetMedia(pnl.GetView(x).GetView(0), $"https://www.hundeschule-lampertheim.de/images/*.*"$)
Maybe there is someone here in this forum that can provide some additional information on how to make the changes so the code works.
Thanks
I am pretty new to B4x and consider myself rather inexperienced.
I stumbled over the sample code 2 of SMM and I thought it quite interesting and so I started adapting it for a new project.
Well, as it turned out it wasn't as easy as I thought...
1) How can I determine the number of files (images - png, bmp, jpg, gif) in a given folder when the number of images is unknown? In the she sample code the number of images is set 600.
2) How can I customize the address for this folder? I tried this but no images show up:
MediaManager.SetMedia(pnl.GetView(x).GetView(0), $"https://www.hundeschule-lampertheim.de/images/*.*"$)
Maybe there is someone here in this forum that can provide some additional information on how to make the changes so the code works.
Thanks