Android Question Speed test

EddyW

Member
Licensed User
Longtime User
Hi,

We made an app that sent the data (xml) to the webservice and photos to a FTP services.
All works well but some users have a very slow connection and then the FTP dont work well (or is very slow)

The problem is that in somecases the tablet is connected but the speed is to low that uploading itakes to much time. We had cases that we try to upload photos (about 100k each) and that the connections speed was about 4 kbs.(a speedtest website).

We would like somethink like if we have to upload more then for example 5 photos and the connection speed is lower then for example 20 kbs then we can give a warning.

Now i am searching for a goodway to test the connection speed but dont have a good idea jet maybe some one has the same problem and nows a good solution.
I did think about to time a download a test file and calculate the speed but the user walk around in a town with the tablet and the calculate it with every uplod looks like to much.
Maybe it can be down a kind of Ping command too.
 

EddyW

Member
Licensed User
Longtime User
Thanks Erel,

Problem is that its a background process and the user dont see that the files are uploaded.
The photos are uploaded at the background and the customer use the app to go to next spot.

looks like we have to calculate it our self with a test download or add a button to a speedtest website where they
can test the speed for them self.
 
Upvote 0

EddyW

Member
Licensed User
Longtime User
We use an activity to upload and the photo's and sent the data (xml) not a service.
We used an activity because we use the repond events to validate some stuff.

We upload the photo(FTP)/data(HttpJob) and if both are successful we delete the photo and mark the data in the SQLlite DB as uploaded.
 
Upvote 0
Top