How can I create a slideshow in which images can be updated through some websites or firebase etc instead of reupdating app for replacing image?

Hi, I wish to create slideshow on an app but I don't want to update the whole app if I want to replace images. How can I achieve that?

There are many different ways this can be done, and what you do will depend on exactly how you want to do it.

Here is an example of a simple swiping slideshow, using a canvas, and a list of image urls stored on firebase:

VIDEO

BLOCKS

FIREBASE
image

3 Likes

Thankyou.

I wish to get image urls as user input and put those images in slide show. Users can replace the images at any time.

Do I have to use clock to make the slideshow automatic?

I am creating like this, will it work? How do I have to modify this?

Facing error 'Cannot find the component textBox1' . How can we solve this?

Can you provide the .aia file of this?

What mistake i am doing? Why i am facing the error of 'Cannot find the component textbox1'?

I put all the urls in the settings of designer section of text boxes. And, i set the clock value to 1000 in designer settings.

here are the blocks.

blocks (7)

Try the beta test version of the companion app

And click "Not Now" if you get an "outdated" warning

Also try to build the app and test using the apk file... does it work then?
Taifun

I installed and tried opeing the app. Something is working even though the expected result is not happening.

The error message is changing like a slide show. ie, for each second the error message 'Attempt to get item number 1' is changing to 'Attempt to get item number 2' and then 'Attempt to get item number 3' and so on. How can i solve this error?

And, in AI companion i am facing the error 'Cannot find the componenet textbox1'.

Help me to solve this?

Read and understand your error message
You have a one item list

And if you get an error, usually you debug

Use the companion app and Do it to debug your blocks, see also tip 4 here App Inventor: How to Learn | Pura Vida Apps
see also Live Development, Testing, and Debugging Tools

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by icon24 Taifun.

1 Like

Hi, I have 5 text boxes and i set each urls for each text box in a designer section. So, as a newbie, I think each text box data is each item in a list. So, there are 5 items/text-box data.

Which list has only one item in the above blocks? Can you please guide me to spot that mistake?

While using Do it feature, i am facing error 'Cannot find the component Textbox1'.

I think, if i give images directly using image picker, then it may work. il try it. I shall check and share the result here. But, what i do want is not that, I want to allow users to set their own image urls for slideshow.

I am modifying the idea of @Patrick_F . from this post.

You create a list and set that list as one item in the main list, this is not what you want... you have to add each textbox as seperate item in the main list without creating a sublist

Again: learn how to work with lists!

Taifun