SpeedTest source code

Written by

in

SpeedTest source code

This is complete Eclipse Android project.

Comments

57 responses to “SpeedTest source code”

  1. amit Avatar

    nice application!!!!!!!!!

  2. Stu Avatar
    Stu

    You Rock…

  3. shiva Avatar
    shiva

    Its a nice application.
    How can i get the upload speed in application?

  4. Jagadeesh Raj Avatar
    Jagadeesh Raj

    Its Best tutorial for SpeedTest Application. Really Nice…keep it up…!!!

  5. Bajul Avatar
    Bajul

    Hey Greg,
    Would you mind me using (parts of) the SpeedTest source code in an application i’m developing in the context of my thesis for my Master Civil Engineering?
    I’d rather ask beforehand 🙂
    Grtz

    1. Greg Avatar

      Hello
      Not at all, thank you for even asking. I hope it will help you.

  6. hanchoice Avatar
    hanchoice

    Thank you! Share of your code! It’s good for me.

  7. Didier Avatar
    Didier

    Hello and Greg and thank you for sharing your project (sorry for my english).
    Well… I’m new in Android and Java but i would like to learn development for Android devices.
    So I’ve installed Eclipse Indigo and SDK Android and plug-in and… and downloaded your source code to see how it works.
    But in Eclipse there are many errors and the program doesn’t seem to work for me.
    First error is: “failed to load properties file for project speedtest”. So I’ve tried to fix proerties problems with Android tools but same thing.
    have an idea for helping me.
    Thank you in advance.
    Regards.

  8. Matt Avatar
    Matt

    Instead of importing with the Eclipse>File>Import menu, use the Eclipse>New>Android Project>Create Project from existing source.
    It will warn you to use the import dialog, but ignore it. Using the import dialog will not connect all of the moving parts of the Android SDK to the project, and trying to do it manually with the “Configure Build Path” did not work in my case (same error, failed to load project properties.)

    To make the application work, I:
    1. Copied project-properties from an old project (may not be necessary)
    2. in Res/values/string.xml, changed <string name="…" to <string formatted="false" name="…" where the errors were.
    3. Added to the AndroidManifest.xml.

  9. dangalla Avatar
    dangalla

    thanks for your code

  10. pinky Avatar
    pinky

    hi friend

    i download your source code and make the android project using eclipse indigo. But it seems so many error.how do i solve this problem.PLZ help me

    pinky

  11. Duc Nguyen Avatar
    Duc Nguyen

    @pinky: Import existing Android Code Into Workspace then right click on project to Configure Build Path. When the new dialog show up, click on Android and choose the Project Build Target. Finally, just modify some code in string.xml follow Math above.

  12. subbareddy Avatar
    subbareddy

    I got from u r blog for downloading internet speed is simply superb!!!!!!!
    But i want how to get uploading internet speed …plz help..me.. put a point direction for me…

  13. Rahul Avatar
    Rahul

    HI,

    If instead of showing speed in textview i want to display it in a real time line chart in same application.Can you pls help.

  14. go Avatar
    go

    I cannot import this source file. says errors during the build. Can you tell me some method to do so.

    1. Greg Avatar

      Can you post your error.

      I will upload the eclipse project in next couple days.

  15. Eric Avatar
    Eric

    Could you upload the speedtest project.

    Thank you so much

  16. @nil Avatar
    @nil

    Thanks for share code, Really nice code.

  17. Bilal Avatar
    Bilal

    I want to develop speedtest server and android application. Being a newbie in this domain, i have few queries:

    Which Programming language is best / easy to get it done?
    Above source code is for android app only or server side setting as well?

    Thanks.

    1. Greg Avatar

      This is for the client side only, it should not be hard to develop something for the server side.

  18. jad abdo Avatar
    jad abdo

    i wish if you have a upload speed test app available.

    1. Greg Avatar

      I will upload it tonight,.

  19. Afeed Avatar
    Afeed

    how to get source code for speedview in android ?

    1. Greg Avatar

      There is a link of top of the page that points to the download url

      But here it is again Download

  20. issac Avatar
    issac

    When I am using the built-in download manager. I can download 10mb file in 5s. But using the application , 828.125 kbit /sec .. ?

    1. Greg Avatar

      I am going to port the app this weekend and see what it does.

  21. Ashish Avatar
    Ashish

    Hi,

    Thanks for the code, its really very helpful.
    But its for downloading speed, how to determine uploading speed.
    Please help me

    1. Greg Avatar

      You have to go the other way, you simply upload a file to a know location.

  22. Shivangi Shrivastava Avatar
    Shivangi Shrivastava

    Hi,

    For different mobile its giving different downstream rate
    Why is it?

    Please help me

    1. Greg Avatar

      Hello

      I am not really sure, need to look into that. I will post the code on github for all to make patches.

  23. Hemant Avatar
    Hemant

    Hi,

    I am not able to access code or apk file, it shows file at server is missing and i am not able to find GitHub link also, so if you can provide me.

    I need to look that for my project.

  24. Indraneel Avatar
    Indraneel

    The download link for source code is not working – Giving 404

    http://www.gregbugaj.com/wp-content/uploads/2009/03/speedtest_src.zip

    1. Greg Avatar

      There was someone that was attacking my server so I took the downloads down but they are back now.

  25. Shayne Avatar
    Shayne

    I have downloaded the source code and installed the speed test on my Nexus 5 running API 22. However when I click start test it says “Detecting…” and then it unexpectedly shuts down with out printing anything. The logcat says it’s an java.io.EOFException which possibly indicates that the file is empty. Any help regarding this issue would be appreciated.

  26. Shayne Avatar
    Shayne

    Never mind. I resolved the issue. Turns out the file you provided doesn’t exist anymore on the server. I just replaced that with my own file that was hosted on dropbox.

    1. Greg Avatar

      Sorry about that, but I did have to remove the file as some people have been abusing it.

  27. Brahim Avatar
    Brahim

    je vous remercie énormément pour votre aide plus que précieuse

  28. Brahim Avatar
    Brahim

    think you for your help

  29. Rali Avatar

    Hey Guys,

    I am new to Android as well and working on a app which will pull all network related info along with Cellular network upload and download speed. I downloaded the code using Eclipse ..But this will not resolve as it places few errors on Res –>Values–> Strings.xml file. anybody having the same issue while importing this project ?

  30. Hemant Avatar
    Hemant

    Hey,

    Could you please provide some idea, how to do it with multiple threading to find out bandwidth of network, i am new programming so i didn’t find any way to measure bandwidth could you help me in this.

  31. salma Avatar
    salma

    Greg i need to test the bandwidth on Uplink can you help me please

    1. Greg Avatar

      For testing uplink you will ftp,sftp etc.. server where you can upload data and then track that that information. For security reasons I can’t offer that as bunch of Iranians,Russians and and other have been killing my server with just downloading.

      I might, I will be posting code in couple days, most likely on github.

  32. Elcio Abr Avatar
    Elcio Abr

    Hi Greg ! Nice code for the speed test ! Do you have the UPLOAD SPEED sample code posted ?! Tks !

    1. Greg Avatar

      Sorry, I do not have at the moment.

      After I port the app I will add it in.

  33. Manali Avatar
    Manali

    Hello Greg,
    Amazing code,helped a lot..Thanks!!..Just a request could you please provide a code for the UPLOAD speed?
    It would be great..

  34. Ali Abbas Avatar

    Application Showing The Same Result All The Time
    What Ever Network We Are On .. It Shows 3G As Network

  35. […] SpeedTest source code | Greg’s Dev Blog – Above source code is for android app only or server side setting as well? Thanks. … Nice code for the speed test ! Do you have the UPLOAD SPEED sample code posted ?! […]

    1. Greg Avatar

      Thanks, its only for Android. I am working on porting code and putting it on Github

  36. Duy Tân Avatar
    Duy Tân

    Thank you so much. It helps me a lot.

  37. Alan Avatar
    Alan

    Thank you so much, learned a lot from this, Greg! Just wondering, are you implementing upload speeds anytime soon? If not, could you point me in a direction as to where to start?

    1. Greg Avatar

      Hello

      I might work on adding it after I finish my current project.

  38. cht Avatar
    cht

    waiting for the upload part …

  39. s Avatar
    s

    The results do not match with the SpeedTest app… Please help.

  40. priya Avatar
    priya

    uploading part

  41. shylendra Avatar
    shylendra

    Have you did upload part OR any suggestion how to start?

  42. dot Avatar
    dot

    this code is for download, how about uploading?

Leave a Reply

Your email address will not be published. Required fields are marked *