How do we generate thumbnails for uploaded images to Box? - android

I am using the old Box API to upload files.
When my users upload images to folder in their Box account using my Android app, they complain that thumbnails images are not generated for these images on the website. If they upload images using the Box app, they are generated fine.
I should point out, that the images are not corrupted and are transferred fully. If downloaded they are identical to the file previous to upload. So the issue is, that when uploading an image using the API, no thumbnail gets generated.
How can I fix it, so it does?

Just found out, which I should probably have done before asking, is that this seems to be fixed with the new Box V2 API, which the next version of my app will be using.
So using V2 API will fix this issue for me.

Related

How to download only the latest images from Firebase Storage?

I have the following problem and do not quite know how to solve it:
I am loading pictures from one device to Firebase Storage Cloud. With another device, I want to download them from Firebase Storage.
So far my implementation looks like this. Every time I open the app it re-downloads and displays all the images. I can't effectively get it to save the images in the app (NOT GALLERY) and just check if there is a new image that hasn't been downloaded yet.
What you're looking for, is to cache images on an Android device. This means that once you download it, you will not need to download it again, it will always be read from the cache.
For Android, there are a few libraries that do that. One would be Glide, and another one would be Picasso. If you're using however Kotlin and Jetpack Compose, then you can use Coil.

How can i upload and set images through App in Xamarin

I am creating an App where i want the users to upload the pictures themselves(like their display pictures), But i have no idea to do it. I want to achieve the task for Android and IOS in Xamarin. From this code below i am only able to source to images which are present in Resources.

Multi Image Picker doesn't locate my image until I open Google Photos in Flutter

I'm using multi_image_picker to allow picking images in my Flutter app.
I've noticed odd behavior when I download an image and store in the Download folder of the device, and the following things happen:
After I download an image, I trigger the image picker (by running MultiImagePicker.pickImages).
Image Picker doesn't show the image, which is odd since I've downloaded the image.
I'm navigating to the Android Files app and I do find the image.
Restarting my app and navigating again to the Image Picker, but still - image not exists.
Opening Google Photos app and after a second the image appears.
Navigating back to my app -> Image Picker, and then I see the image.
I know it sounds odd. I have no idea how or why it happens. I'm using Flutter 1.10.3 and a fresh Android API 28 emulator. I ran the app in an Android Q too and the results are the same.
Looks like your download directory and your GooglePhotos sync directory are in two different places and MultiImage.pickImages is looking at the GooglePhotosSync directory (which might also be the devices CameraRoll directory).
So you are dependent on GooglePhotos uploading the photo from one place and downloading it to another.
Most of my work is ios so sorry I cant be more specific.
I observed similar behavior in terms of some photos not showing when picking image from gallery.
I just found the cause 5 minutes ago before asking "Have you found out the solution?"
It turns out, the flutter image pickter starts from "Recent" folder, the photos I have recently downloaded have much older timestamp. So these photos are futher down in the list.
I will look into a solution.

Android: How to get the url of the website downloading my apk file?

Here is the scenario.
I want to deploy my app on some forums with apk file. In this case, I want to get a statistic datas that show me ""How many times the app being downloaded in certain forum.""
So here is my idea, I want to get the download url when the user download the apk file. By analysing the url, I can know exactly which forum the user downloaded the apk file.
Is there any way to do it in the app? Any kind of advice is appreciated~~~

Limit the file extensions displayed in Google Drive on Android app

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.

Categories

Resources