I'm writing an FTP (client) service for Android, that is intended to upload video contents in background.
I was thinking that users may get bothered if my service fills the whole connection band.
What is the simplest way to dinamically set an (upload) speed limit for my service? Is there any Android workaround, shall I use some commons-net feature, or shall I calculate tranfers rate by hand?