Where do all those error numbers come from? I dont have them in anyplace

The operation + cannot accept the arguments: , [["nombreArchivo", "recuerdo_3.png", "recuerdo_4.png", "recuerdo_5.png", "recuerdo_6.png", "recuerdo_7.png", "recuerdo_8.png", "recuerdo_9.png", "recuerdo_10.png", "recuerdo_11.png", "recuerdo_12.png", "recuerdo_13.png", "recuerdo_14.png", "recuerdo_15.png", "recuerdo_16.png", "recuerdo_17.png", "recuerdo_18.png", "recuerdo_19.png", "recuerdo_20.jpg", "recuerdo_21.jpg", "recuerdo_22.jpg", "recuerdo_23.jpg", "recuerdo_24.jpg", "recuerdo_25.jpg", "recuerdo_26.jpg", "recuerdo_27.jpg", "recuerdo_28.jpg", "recuerdo["nombreArchivo", "recuerdo_3.png", "recuerdo_4.png", "recuerdo_5.png", "recuerdo_6.png", "recuerdo_7.png", "recuerdo_8.png", "recuerdo_9.png", "recuerdo_10.png", "recuerdo_11.png", "recuerdo_12.png", "recuerdo_13.png", "recuerdo_14.png", "recuerdo_15.png", "recuerdo_16.png", "recuerdo_17.png", "recuerdo_18.png", "recuerdo_19.png", "recuerdo_20.jpg", "recuerdo_21.jpg", "recuerdo_22.jpg", "recuerdo_23.jpg", "recuerdo_24.jpg", "recuerdo_25.jpg", "recuerdo_26.jpg", "recuerdo_27.jpg", "recuerdo_28.jpg"]", "recuerdo", "recuerdo", "recuerdo", "recuerdo", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo.png", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo.png", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo.png", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo.png", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo.png", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo.png", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo.png", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo.png", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo.png", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo.png", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo.png", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo.png", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo.png", "/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/screenshot.jpg"]], [1] Nota: No verás otro error reportado durante 5 segundos.

I need help. I have tried a lot of things all with many mistakes but now that is the last mistake all the time, really I can understand what it is happening I have take out the global number...and I dont know what Im doing wrong. ITs true that I dont know a lot of about extensions but I have followed a good and clear tutorial.

I want to do: In a page to take a picture or look for in my storage, when I want to share, the app works perfectly but when I want to save in other page to can see after, I cant find the way to do it.
I have download the DynamicComponents extensión, I have followed an tutorial to code the extension but it doesnt work.
When I want to save the pagine in other to recovery after, I take an screenchot and it will be appear in the vertical Arrigment like a litle pictures.
Could be all the code is bad


Your error is coming from these blocks

You are attempting to add 1 to a list

then if I want to increase the pictures its not need to add 1 because the dynamic component add automaticaly, is it true?

Clear TinyDB anf fix your blocks
The filenane must be different each tine you take a screenshot else you will overwrite the previously taken screenshot
Usually you use a global variable counter and increment that variable

Counter = Counter + 1
Set TaifunScreenshot Filename to join
recuerdo_
Counter
.jpg

Taifun

Thank you very much.
I added a global counter and changed the file name to TaifunScreenShot, combining memory, counter, and jpg.
I added a global counter to take the Global Counter plus 1.
Now I don't have the previous message; I have another message...

Expected literal value at character 0 of /storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/screenshot.jpg

First set the filename, then take the screenshot
Also the text "contador" will not add the value of your variable Contador into the filename, you have to use a "get Contador" block instead
And don't switch the screen immediately... do it in the AfterScreenshot event

A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .

Also do the tutorials Our Tutorials! to learn the basics of App Inventor, then try something and follow the Top 5 Tips: How to learn App Inventor

Taifun


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

Thank you very much.
Actualy I have done some educative apps with app inventor, like reading comprehension and teach to read..but for those app it was not need to use these other blocks, I have change many times all things and allways mistakes, at last all seems well to me.
Sorry if I make you to lose the time and thank you very much for your time. My english is not very good either, sorry.

Don't worry... I'm voluntarily here... :sweat_smile: keep inventing! We are all here to learn

Taifun

Thank you very much

Rightnow I have done the correction but I have the same mistake than before and also I have a mistake in share, and before I didnt have problem with that part of code...

Do I have to do changes in the other page where the pictures must to appear? I only have added global counter to 0.

I have found the mistake in share but I can´t find the problem whit save.

When I have change the block open another screen after TaifunScreenShot, it was not work with share because the app open the follow screen with problems.
Then I have left the block like before at the end of the button save.

It would really help if you provided a screenshot of your relevant blocks, so we can see what you are trying to do, and where the problem may be.

To get an image of your blocks, right click in the Blocks Editor and select "Download Blocks as Image". You might want to use an image editor to crop etc. if required. Then post it here in the community.

Taifun


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

I dont understand wich blocks I must upload, I have take a picture of the blocks in the 2 screens. There was not more blocks.

I want that when I have the remember that I want to save, the app makes an screeshoot and save in another screen were I have a dynamic component in a vertical arraigment like a image. Then after save the screen where the image it has been save is open and I can see all screenshot that I have save before.
When I want to see a big imge I touch in the image and it will be fill parent and there is a button to back the screen with all images.

The part about to share the screemshot is working well now another time, the problem was because I put open another screen in the after Taifun Screen shot block, then i was not posible to share because it was opening the other screen.

Very good

Do you still have issues? Which ones?
If yes, then provide an updated screenshot of the relevant blocks

Taifun

Expected literal value at character 0 of /storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/recuerdo0.jpg

I have changed like you told me and I have took off "open another screen" and I start the counter to 1.
Now the blocks in the take and save the screenshot´s screen is in this way:
blocks (65)
blocks (66)





In the Screen to see the screenshot ther is:




Could be gorgeus if you can see where is the mistake and works at last.
I have seen there is a mistake in the upload, in the first screen appears two times global contador and one of them is from the other screem an in the other screen appear the global ListaRecuerdos that it is reallly in the first screen, sorry

At last I have seen that the problem is not in the code, the problem is because Android 10 more dont left to storage like before, then I have download the extensión GetAsd.aix and I have it in the 2 screens, to save and to show but realy I dont know where I must to put those blocks .Somone can help me please?

See also here: How to ask a question (open new topic)

and post the aia or send it to me via PM.

There are a lot of problems/mistakes in your blocks. Debug your blocks. See e.g. here:

I supose that you are telling me about the specificDirectory, I dont know where I must put that extensión, I have read a lot of pages about that priblemband all pages are diferents and I have finish worde and understanding less than when I didnt know anything about that because now Im very confusing with all.
I will try to understand the last time and to try again.

Thank you very much