Sorry kinda long devlog but no worries i still document everything in this devlog :)
Hi!!
in this devlog, all i did was to suffer :”))
so i try adding a catch block in upload screen that catches gemini error like reaching the api limit!
but implementing this feature broke my all flow, try to fixed it many times but no vain, so i had to switch to prev commit code :)
also there was the error in toast message of undoing the delete action, it followed user everywhere so i fixed it by clearing the toast message while moving to another activity!
Also, I added the move photos functionality in other folders also, user now can move images among folders
also updated the readme!
moreover, user now cant delete the folder named unclassified cuz obv unclassified images need to go there!
also, image was’t loading sometimes!
Android returns content:// URIs from the image picker, and Image.file() cant read those as it only works with real paths.
so i cache the image bytes immediately after picking (while the URI permission is still active) using XFile.readAsBytes() then i render with Image.memory() instead.
Also good news
before i was using gemini model 2.5 flash lite and it was only 20 requests per day, but now i find out about 3.1 flast lite model and it can do 500 requests per day
so i am using it right now
also, my app send 1 request for 20 pics in one session, so i am saving alot of gemini credit this way!! so you can use application in peace cuz
if u upload 20 images per session, then we classify 1000 pics a day!!!
also, if someone dont wanna worry abt it at all! so he/she can just clone my repo and put their own gemini key in .env file. but i dont think so you need to do this
demo video is attached, i can assure you images i classified in app is 100% correct :”)