I am still new to cloud and mit app inventor.But I would to ask some question regarding cloud and mit app inventor.
But firsty i would like to explain how project should work.
My project is about home security system. When a press button is pressed, it will capture the image of visitor and the home owner will receive picture of the visitor on android app. The android should be able to receive picture and unlock door by pressing button unlock. The camera used is VC0706 Camera connected to Arduino Mega.
My question is that can mit app inventor receive picture from cloud since all of the picture taken will be stored in cloud.
Accessing images and sounds in App Inventor 2
Applications built with App Inventor can access sound, image, and video sources from three different kinds of locations:
Application assets
The sources labeled Media shown in the designer — part of the application's assets — are packaged with the application. Anyone who installs your application will have them, as part of the application. You also specify them in the designer, which is convenient. You can also specify these in programs by their file name: just use the file name without any special prefix. For example, if you have an image asset named kitty.png, you can use it as an image: just set the Picture property of an image component to the text kitty.png. You can similarly use files names for sound (Sound or Player) or video (VideoPlayer).
Assets are the most convenient to use, but the space for them is limited to a few megabytes, because they must be packaged with the application. They are good for small images and short audio selections. Bit you would probably not use them for complete songs or videos.
The phone SD card
You can access files on your phone's SD (secure digital) card using file names that begin with /sdcard . You could play a song on your SDCard by setting the source of a Player component to
/sdcard/Music/Blondie/The Best of Blondie/Heart of Glass.mp3
and starting the Player (assuming of course, that the song file is on the SDCard). Make sure to specify the complete file name, including the "mp3".
The Android system also includes an alternative way to designe SDCard files as URLs. Here you prefix the file name with file:///sdcard and use "URL encoding" for special characters. For example, a space is "%20". So you could designate the same file by setting the player source to
file:///sdcard/Music/Blondie/The%20Best%20of%20Blondie/Heart%20of%20Glass.mp3
Note that you'll want to use a Player component for this, not Sound. A complete song like this is too large for Sound to handle.
Images and videos can be designated similarly.
App Inventor doesn't (yet) include any way to store files on the SD card. It also doesn't (yet) include a way to list the files on the SDCard. You'll have to use other applications or the Android phone file manager for that.
Using the SD Card provides a lot more space for media than trying to package things as assets. The drawback is that users won't automatically get them by installing your application.
URLs and the Web
You can access files on Web using URLs, starting with http:// , for example, setting the picture property of an image to
http://www.google.com/images/srpr/nav_logo14.png
and similarly for music and videos. Make sure you use the link that points to the actual file, not to players for the files, which is much more common on the Web, especially for music and videos.
Other content URLs
The Android system also uses URLs to access various places that media is stored on the phone. For example, the images in the photo gallery can be accessed with file names beginning content://media/external/images/media , as you can see by using the ImagePicker and examining the resulting image path.
App inventor 2 has built-in web storage TinywebDB which stores text strings only.
In your scenario, post the images to somewhere on the web, and then store the image URIs in TinyWebDB insdie App inventor.
Yes, using MIT App Inventor you can send and receive the picture not directly but indirectly. First, you have to convert that image to imagebase64 it means in text formate then decode this text to get the original image. It means you can store any images in clouddb or firebase. Here is the video about that
https://youtu.be/ySruxnxeJgM
Working on an Android app that downloads images in JPEG format internally and then displays them within the app.
The issue is that the default Gallery App, shows those images as it scans entire storage for JPEG or PNG files. That causes confusion w/ some users as they do not expect to see internal app images next to their family photos.
My initial thoughts are to rename the extension. But before that, does anyone know if perhaps a simpler way exists by using permissions?
I am developing an application for Android I want the button in the .html file to show the device's native gallery (in my case is android) which user can select multiple images and present it's thumbnails in the html page.
I already watch the video in This Website and I still get confusing.
Thank you for all suggestion and solutions.
Ps. I found the solution of select multiple images Here but I am not sure how to use it. ;(
Unfortunately, this is not possible with the current Gallery application of Android.
Within the Gallery application, you can select multiple photos and you can share them using SEND_MULTIPLE Intent. But that is different.
When you select photo from your application, that is called PICKER. And PICKER Intent does not support multiple selection.
I am allowing users of my Android app to take their own photos or use photos from their gallery and one aspect of that is that they can open Google Drive too. Is there any way to open Google Drive and only show files that are images?
I haven't been able to find anything on this online but I would imagine something like this is possible. Otherwise I have to handle incorrect file types on the app side which is an okay solution but I was hoping to prevent the problem on the user side in addition to handling the incorrect file types.
I would like to be able to create an Android app that adds additional photo albums to the default android photo gallery. The content of these albums would be remote, similar to how the Picasa albums are handled. I have looked into the media scanner and it seems to not handle remote content and I have not been able to find any reference for the gallery itself or any other means of providing additional photo albums.
I have done some searching on the android developers site, here and general Googling and have come up short... does anyone have any suggestions about how this can be accomplished?
Thanks in advance.
If you are talking about the android stock gallery, this is what ive found out:
The android albums are not actually albums, but folders.
You justo need to create a folder with the name you want the album to show and there must be at least one picture in it.
Hope it helps!