transloadit / android-sdk Goto Github PK
View Code? Open in Web Editor NEWTransloadit's official Android SDK
License: MIT License
Transloadit's official Android SDK
License: MIT License
Establish the automated release GH-Actions workflow in this repo also
onUploadPogress should be onUploadProgress
Additional feature request:
Upload progress and completion/failure callbacks for individual uploads.
We'll need to rewrite some parts of the SDK in order to move it from deprecated methods to more recent implementations in the Java-SDK >= 1.0.0
Maybe we can take into account those ideas from an older issue (#4):
Maybe we should also consider pairing up and or do a complete rewrite @Acconut.
We could also do it the hard with Kotlin, as referenced here: #2
Since Kotlin is a first class language on Android now (https://developer.android.com/kotlin/), people might be interested in building parts of their mobile application using Kotlin. The good thing is that Kotlin is (fully?) inter-operable with Java, so we do not need another SDK for it but an example might be helpful for users who want to use the Android SDK with Kotlin.
I'm pretty sure the method can be implemented using only the application context (a Context object, which is a superclass of Activity).
Current signature:
public AndroidAsyncAssembly newAssembly(com.transloadit.sdk.async.AssemblyProgressListener listener, android.app.Activity activity);
Desired signature:
public AndroidAsyncAssembly newAssembly(com.transloadit.sdk.async.AssemblyProgressListener listener, android.content.Context context);
Having to provide an Activity is really problematic, as activities are only available when the user is interacting with the app. Therefore I cannot provide an activity from a worker, which I'd like to use in order to offer my users a delayed upload (so they can select their files offline and have the worker upload them afterward when they are back online). I cannot provide an activity either from a service, from which I handle failed downloads (and from which I'd also like to handle failed uploads).
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.