Base64 Media Extension

Not the extension

He does not want the extension to handle the cloud part... It'll be a separate thing he does on his own, is what I understand...

1 Like

Ah, are you worried that the extension may take a copy of the image and send it elsewhere ?

1 Like

Yes

Also

So , what is the solution ?

Calm down... Calm down... You'd need a lot of patience, if you seek help :grin:

2 Likes

Ok . If somewone finds one solution or wants to build an extention , can message me . :smiley:

The extension suggested above, does not upload the base64 string anywhere, it just creates it from the image file. The uploading of the base64 string is done with the cloudDB blocks.

I could offer another base64 convertor that does the same, I could show you the source code as well.

2 Likes

Well Gino, you can use an extension published by Power Users or from recognized members of the community. You'd have to either trust the source, or build your own extension from the Java code, which is a little hard and requires a lot of time/skills/efforts...

So , is it there a link for one existent extension " good for me " ?

You probably made your Chat app using this example:
https://appinventor.mit.edu/explore/ai2/clouddb-chat

When you distribute the app to other users like this (what is said in the tutorial)

From the Build menu, choose "Android App (.apk)". Once the apk is built, scan the generated QR code, and install the apk on multiple devices. Then send a message from each device. All messages should appear on all devices.

My understanding is ONLY those users who downloaded from the QR code can use the app. Only those users can see the image you plot to that CloudDB Project.

That means the images and chat are private only among those who got the distributed app to their phones that way. :slight_smile:

At the begining , yes , but then I expanded it really much . Now chats are also private and users can have one their account . Months of work ... But now I want also to send media files :smiley: !

so distribute it that way and your modified app should also be PRIVATE . I don't have a copy or can't see your Block to see what you would do other than in the ChatBlock component description. Y

You probably use an an ApiKey for ChatGPT. and use it instead of the API key embedded in the chat proxy service.
Note: We do not provide this as a DesignerProperty, it should be stored using the blocks, preferably using the Obfuscated Text block to provide some protection (not perfect protection) of the key embedded in a packaged app.

I don't know if distributing it using the build QR code to distribute will still be private.
But you can test it to see if doing that will work for you.

So do it using the tools recommended. What they do do is post an image or text on your PRIVATE chat so imagine they too are private.

If you don't violate MIT's App Inventor Terms of Service, your private images would be ok but if you send something you shouldn't you shouldn't :frowning: be doing that with App Inventor.

I don't understand . I'm Italian and 11 years old , can you please translate it :sweat_smile: ?

Anyway , can somewone send me the link of one extension that is " secure " ? Thanks :smiley:

This post was flagged by the community and is temporarily hidden.

What do you mean by secure ?

Hello kid @Gino_Enzini Happy to see you having interest in coding at this age. Meanwhile i was playing in the street with my local friends and broke neighborhood doors, windows. But you are being responsible :smile: . Good to see.

By the way, the extension suggested above is secure only. If you see the blocks you can understand it it just converts into base64 the file content and it does the reverse. There is no GET or PoST request. We feel the chat is too lengthy and the power users are pointing the same.

If you feel it is not secure, then you can learn from the above extn and could make of your choice

We are all very much satisfied with that extension.

1 Like

Do you understand , now , what I mean for "secure" ?