© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3mo ago•
1 reply
HT Gamer

Upload File from Android app to Supabase Storage

I'm trying send data from a device storage with an app to an external service on Android. My goal is to make the app scan the directory: /storage/emulated/0/Test
and upload whatever file/image is there to Supabase storage. I already created a project and a Supabase storage bucket. As far as I understand, I can use the Standard Upload method from here which is this:

supabase.storage.from("bucket_name").upload("file_path", bytes)

//Or on JVM/Android: (This will stream the data from the file to supabase)
supabase.storage.from("bucket_name").upload("file_path", file)
supabase.storage.from("bucket_name").upload("file_path", bytes)

//Or on JVM/Android: (This will stream the data from the file to supabase)
supabase.storage.from("bucket_name").upload("file_path", file)


This requires use of Kotlin. Due to not having a PC, I'm using a mobile app CodeAssist, which is outdated and is having issues compiling app with the Kotlin used by it and the Supabase libraries, I think because of versioning issues.
Can someone kindly create a sample Android app for me which allows me to(or does automatically) send file/files to Supabase storage bucket?
Standard Uploads | Supabase Docs
Learn how to upload files to Supabase Storage.
Standard Uploads | Supabase Docs
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Supabase Storage file upload - 403 Unauthorized
SupabaseSSupabase / help-and-questions
7mo ago
Upload a file from an RPC function to supabase storage
SupabaseSSupabase / help-and-questions
3y ago
Upload from serverside .NET to supabase storage
SupabaseSSupabase / help-and-questions
7mo ago
supabase storage upload issue
SupabaseSSupabase / help-and-questions
4mo ago