liquidlabs / android-speedtest-mapper Goto Github PK
View Code? Open in Web Editor NEWSpeedtest.net Android application data mapper app for visualization.
Speedtest.net Android application data mapper app for visualization.
Show details, when map bubble is pressed.
Currently view is reused to show user feedback.
User fragments to give user rich UI feedback.
Follow guide at http://developer.android.com/training/sharing/shareaction.html
Add dual pane UI, with more details for tablet devices for future release.
Add analytics, so that we are aware how many ppl are using the app actively.
Based on data, we can put more time to improve the app usability and features.
Guides on analytics can be found at https://developers.google.com/analytics/devguides/collection/android/v2/
Create chart activity using http://androidplot.com/ to visualize data based on when record was captured.
05-04 18:54:08.869: E/AndroidRuntime(6422): FATAL EXCEPTION: main
05-04 18:54:08.869: E/AndroidRuntime(6422): java.lang.IllegalArgumentException: hue outside range [0.0,360.0)
05-04 18:54:08.869: E/AndroidRuntime(6422): at com.google.android.gms.common.internal.Preconditions.checkArgument(Preconditions.java:115)
05-04 18:54:08.869: E/AndroidRuntime(6422): at maps.z.ap.<init>(Unknown Source)
05-04 18:54:08.869: E/AndroidRuntime(6422): at maps.z.br.a(Unknown Source)
05-04 18:54:08.869: E/AndroidRuntime(6422): at maps.z.bj.defaultMarkerWithHue(Unknown Source)
05-04 18:54:08.869: E/AndroidRuntime(6422): at com.google.android.gms.maps.model.internal.IBitmapDescriptorFactoryDelegate$Stub.onTransact(IBitmapDescriptorFactoryDelegate.java:91)
05-04 18:54:08.869: E/AndroidRuntime(6422): at android.os.Binder.transact(Binder.java:326)
05-04 18:54:08.869: E/AndroidRuntime(6422): at com.google.android.gms.internal.h$a$a.a(Unknown Source)
05-04 18:54:08.869: E/AndroidRuntime(6422): at com.google.android.gms.maps.model.BitmapDescriptorFactory.defaultMarker(Unknown Source)
05-04 18:54:08.869: E/AndroidRuntime(6422): at ca.liquidlabs.android.speedtestvisualizer.MapperActivity.addMarkersToMap(MapperActivity.java:196)
05-04 18:54:08.869: E/AndroidRuntime(6422): at ca.liquidlabs.android.speedtestvisualizer.MapperActivity.setUpMap(MapperActivity.java:157)
05-04 18:54:08.869: E/AndroidRuntime(6422): at ca.liquidlabs.android.speedtestvisualizer.MapperActivity.access$10(MapperActivity.java:150)
05-04 18:54:08.869: E/AndroidRuntime(6422): at ca.liquidlabs.android.speedtestvisualizer.MapperActivity$MarkerDataProcessorTask.onPostExecute(MapperActivity.java:360)
05-04 18:54:08.869: E/AndroidRuntime(6422): at ca.liquidlabs.android.speedtestvisualizer.MapperActivity$MarkerDataProcessorTask.onPostExecute(MapperActivity.java:1)
05-04 18:54:08.869: E/AndroidRuntime(6422): at android.os.AsyncTask.finish(AsyncTask.java:631)
05-04 18:54:08.869: E/AndroidRuntime(6422): at android.os.AsyncTask.access$600(AsyncTask.java:177)
05-04 18:54:08.869: E/AndroidRuntime(6422): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644)
05-04 18:54:08.869: E/AndroidRuntime(6422): at android.os.Handler.dispatchMessage(Handler.java:99)
05-04 18:54:08.869: E/AndroidRuntime(6422): at android.os.Looper.loop(Looper.java:155)
05-04 18:54:08.869: E/AndroidRuntime(6422): at android.app.ActivityThread.main(ActivityThread.java:5454)
05-04 18:54:08.869: E/AndroidRuntime(6422): at java.lang.reflect.Method.invokeNative(Native Method)
05-04 18:54:08.869: E/AndroidRuntime(6422): at java.lang.reflect.Method.invoke(Method.java:511)
05-04 18:54:08.869: E/AndroidRuntime(6422): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1029)
05-04 18:54:08.869: E/AndroidRuntime(6422): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:796)
05-04 18:54:08.869: E/AndroidRuntime(6422): at dalvik.system.NativeStart.main(Native Method)
As future enhancement, we can save exported data for later use.
Saved data can be presented as ListView and viewed directly from app, without having to depend on speedtest app.
Use clustering, since it gets messy when there is lot of points close by.
Possible options:
According to : https://developers.google.com/maps/documentation/android/intro#attribution_requirements
Include legal notices as an independent menu item, or as part of an "About" menu item, is recommended.
The attribution text is available by making a call to GooglePlayServicesUtil.getOpenSourceSoftwareLicenseInfo.
NOTE: This depends on creating about app activity - see #9
Use OS lib to show changelog.
For about app, we may include link to Google Play store which list apps from LLI.
Either update unit, or convert to Mbps
Update rule to work for all supported translations.
For social sharing, add +1 on maps view.
Steps to re-produce:
Exported data has header, but no records.
05-05 15:52:35.346: E/AndroidRuntime(11711): FATAL EXCEPTION: AsyncTask #1
05-05 15:52:35.346: E/AndroidRuntime(11711): java.lang.RuntimeException: An error occured while executing doInBackground()
05-05 15:52:35.346: E/AndroidRuntime(11711): at android.os.AsyncTask$3.done(AsyncTask.java:299)
05-05 15:52:35.346: E/AndroidRuntime(11711): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
05-05 15:52:35.346: E/AndroidRuntime(11711): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
05-05 15:52:35.346: E/AndroidRuntime(11711): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
05-05 15:52:35.346: E/AndroidRuntime(11711): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
05-05 15:52:35.346: E/AndroidRuntime(11711): at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
05-05 15:52:35.346: E/AndroidRuntime(11711): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
05-05 15:52:35.346: E/AndroidRuntime(11711): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
05-05 15:52:35.346: E/AndroidRuntime(11711): at java.lang.Thread.run(Thread.java:864)
05-05 15:52:35.346: E/AndroidRuntime(11711): Caused by: java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0
05-05 15:52:35.346: E/AndroidRuntime(11711): at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:251)
05-05 15:52:35.346: E/AndroidRuntime(11711): at java.util.ArrayList.get(ArrayList.java:304)
05-05 15:52:35.346: E/AndroidRuntime(11711): at ca.liquidlabs.android.speedtestvisualizer.MapperActivity$MarkerDataProcessorTask.doInBackground(MapperActivity.java:338)
05-05 15:52:35.346: E/AndroidRuntime(11711): at ca.liquidlabs.android.speedtestvisualizer.MapperActivity$MarkerDataProcessorTask.doInBackground(MapperActivity.java:1)
05-05 15:52:35.346: E/AndroidRuntime(11711): at android.os.AsyncTask$2.call(AsyncTask.java:287)
05-05 15:52:35.346: E/AndroidRuntime(11711): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
05-05 15:52:35.346: E/AndroidRuntime(11711): ... 5 more
Maps camera does not update bounds to show all marker points after changing "Connection Type" filter.
It does update the bounds when user taps on the filter item again. It jumps to bounded view, instead of animating. It looks odd. Not sure what is the root cause of it.
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.