yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] dprk:
Feature Request

First this is working great and I love the improvements you made.

One feature I am requesting the ability to have the download indicator on top or at least the option to flip them so download shows up on top.

Thanks!
[Xposed Framework Modules] bbek:
Not working help me
[Xposed Framework Modules] pitastrudl:
Any info? Works great on 4.4. Did you enable the module and reboot? You should uncheck every other module to see if its conflicting with another one
[Xposed Framework Modules] bbek:
Thanks I,will try What I should put the number in update interval
[Xposed Framework Modules] pitastrudl:
doesn't matter really, I left it as it is.
[Xposed Framework Modules] rajivrajagopal:
version 0.4 works on motot g 4.4.2
[Xposed Framework Modules] bbek:
My jb version is 4.1.2 is this moudle work ?which version of moudle work
[Xposed Framework Modules] pitastrudl:
Read the title :)
[Xposed Framework Modules] paperWastage:
Works on my nexus 5 kitkat stock ROM (4.4.2)

There's a minor logic that I felt could be corrected (code below)

Wonder if other people agree.

commit c346fafa6b0ce4d98f5d51f7a0381b95dcf41020
Author: Vince Ng <android@ngvincent.com>
Date: Wed Apr 30 21:46:19 2014 -0400

Fixed logic bug in updateConnectionInfo().
If there is no active network connection at all, networkState should be reset to false which would hide the speed-indicators in the updateViewVisibility()

diff --git a/src/tw/fatminmin/xposed/networkspeedindicator/widget/TrafficView.java b/src/tw/fatminmin/xposed/networkspeedindicator/widget/TrafficView.java
index e2034ad..83fae63 100644
--- a/src/tw/fatminmin/xposed/networkspeedindicator/widget/TrafficView.java
+++ b/src/tw/fatminmin/xposed/networkspeedindicator/widget/TrafficView.java
@@ -218,20 +218,23 @@ public class TrafficView extends TextView {
private void updateConnectionInfo() {
Log.i(TAG, "updateConnectionInfo");
ConnectivityManager connectivityManager = (ConnectivityManager) getContext().getSystemService(
Context.CONNECTIVITY_SERVICE);

NetworkInfo networkInfo = connectivityManager.getActiveNetworkInfo();
if (networkInfo != null) {
networkState = networkInfo.isConnected();
networkType = networkInfo.getTypeName().toUpperCase(Locale.ENGLISH);
Log.i(TAG, "networkType = " + networkType);
+ }else{
+ networkState = false;
}
}

public void updateTraffic() {
lastUpdateTime = SystemClock.elapsedRealtime();
totalRxBytes = TrafficStats.getTotalRxBytes();
mTrafficHandler.sendEmptyMessage(0);
}

private String createText() {

further down in the code, the updateViewVisibility() function will set the indicators to be invisible if networkState is false.

If you have the "Hide when speed is zero" option selected, this change won't affect functionality (if there isn't an active network connection at all, then your speed will be zero too, and the indicators should be invisible as well

private void updateViewVisibility() {
if ([B][U]networkState[/U][/B] && isCorrectNetworkType()) {
if (mAttached) {
updateTraffic();
}
setVisibility(View.VISIBLE);
} else {
setVisibility(View.GONE);
}

}
[Xposed Framework Modules] jtwlbz:
I reckon. I noticed the problem when the hiding option is on.
[Xposed Framework Modules] pyler:
could you guys create a pull request for that? or even better, fork it and add new features? I am sad that development of module is probably closed.
[Xposed Framework Modules] amarjit_rsingh:
great module it is but developer has left it orphan
[Xposed Framework Modules] Reconfigured:
firstly great job for that mod... :thumbsup:

and the mod doesn't shows up after restarting the phone next time any fixes???

using wildfire s stock gb Rom
[Xposed Framework Modules] vishal11in:
It would be nice to see an option to adjust the meter in the middle of the screen.

also, Option to set it on Right side of screen does not work on my phone running stock sammy based custom rom.

I have latest V9 installed.
[Xposed Framework Modules] dwarfer66:
Problem

As soon as I activate it, I lose all access to my mobile network, says "Sim Card not installed" any ideas?
[Xposed Framework Modules] Wiidesire:
On S4 Android 4.4.2 it is showing extremely wrong speeds and it's not because of mbit/mbyte.
[Xposed Framework Modules] s3icc0:
I would say onemore thing to be implemented for KitKat users: when there is no connectivity due to problem with the network (poor reception or any other) it would be great to have option to indicate this in the statusbar (as otherwise you need to go to quick settings and lookup manually)
[Xposed Framework Modules] jhuff83:
I'm on the S5 and I think my speeds are way off. I did a speed test and getting 20mb down but the indicator is showing like 2.1mb down. I have it set to auto.
[Xposed Framework Modules] Wiidesire:
You also have the problem that when you only download something the upload is 80-90% of the download speed which is highly unlikely?
[Xposed Framework Modules] Zheen:
Thank you!

This module is awesome! Gravitybox does nearly the same thing, but almost all of Gravitybox's features work on my Samsung Galaxy S4 except the network speed indicator, because I am running TouchWiz and Gravitybox does not (fully) support non-AOSP ROMs.

In addition, this module is really small and simple and does only want it says, it also has pretty good customization options.
[Xposed Framework Modules] asheg-al-reem:
Now I can see the data with ease thanks...:good
[Xposed Framework Modules] Zheen:
Feature request

It would be great if you can update it and add the option for us to choose if the speed is displayed in bits or bytes, now there is only bytes and that's not what we're used to see as Internet speeds are frequently measured in bits(b or b/s), kilobits(kb or kb/s), megabits(mb or mb/s),...

please reply
[Xposed Framework Modules] jhuff83:
Haven't noticed that but I uninstalled until app is updated.
[Xposed Framework Modules] mithundperfect:
it shows data speed always whether data in on or off.. it should hide when data is off..
[Xposed Framework Modules] kamikaze702k:
It does, open the app ui and change the settings

Sent from my GT-I9195 CarbonKat 4.4.2
[Xposed Framework Modules] mithundperfect:
I doesn't..I try all the options available there..
[Xposed Framework Modules] kamikaze702k:
Sent from my GT-I9195 CarbonKat 4.4.2
[Xposed Framework Modules] mithundperfect:
already tried.. may be this mod is not fully compatible with my room.
[Xposed Framework Modules] puritan007:
great work TY TY

I love this mod. I am running it without issues on verizon note 2 Kit Kat port with S5 theme and UI with no problems works perfectly! TYYTYYTY
[Xposed Framework Modules] coliv_aja:
It's noticeable bug.
[Xposed Framework Modules] FatMinMin:
Just read all the replies, I will try to fix the problems soon.
[Xposed Framework Modules] _ ReivaX _:
I've this module in three of my devices, but in one of them it stops working and I don't know why ...

I tried to stop all the other modules but it didn't work either.

Can anyone helps me please?

Sent from my HTC One
[Xposed Framework Modules] cosshinaga:
help me..? why doesn't work on cm11 4.4.2?:(
[Xposed Framework Modules] azlav:
Dear dev, please can you make this module v0.9 with the same compability with v0.5?

This module stop working on v0.6 to the latest since there was a compability update...

I'm on JB 4.1.2...on kitkat it was reversed....thank you
[Xposed Framework Modules] kamikaze702k:
Please don't spam with your logs, place them into a zip file and attach them to the dev!

App still working great even on 4.4.3 !! :)

Sent from my GT-I9195 CarbonKat 4.4.2
[Xposed Framework Modules] lionsmatara:
App not working with 4.4.2 N7100.
[Xposed Framework Modules] ravijani:
works great on n7100 note 2 4.4.2 but even after wifi is stopped notification stays which is i think known bug.

thnx for this great app saves my money on internet speed meter.
[Xposed Framework Modules] smknutson:
Not working on Galaxy Tab 4 4.4.2

Sent from my SM-T330NU
[Xposed Framework Modules] rdsqc22:
I've got a bug to report.

I have an LG G2 LS980, running ParanoidAndroid 4.4 RC 2, which is android version 4.4.4. Under this OS, the module causes severe battery drain by preventing the System Server (according to Better Battery Stats) from sleeping, and instead running at a high clock speed, reducing my battery life to about 30% of what it was before.

This battery drain shows up in the settings 'Battery' section as "Android OS".
[Xposed Framework Modules] Wiidesire:
Please update us on your status.

Send by my S4 :)
[Xposed Framework Modules] Bluehacks:
Hi any update?

Please the issue.thx
[Xposed Framework Modules] Ecka_Bz:
Any update???
[Xposed Framework Modules] defim:
[MENTION=4981793]FatMinMin[/MENTION]: I've a problem, after startup, the speed is not shown. But if I switch off wlan and then again on, everything is okay. Maybe cause by GPSnotification, not sure. "error.log"

Loading modules from /data/app/tw.fatminmin.xposed.networkspeedindicator-1.apk
Loading class tw.fatminmin.xposed.networkspeedindicator.Module
android.content.res.Resources$NotFoundException: com.android.systemui:drawable/ic_qs_location_on_gps
at android.content.res.XResources.setReplacement(XResources.java:307)
at eun.xposed.gpsnotification.GPSNotification.handleInitPackageResources(GPSNotification.java:259)
at de.robv.android.xposed.IXposedHookInitPackageResources$Wrapper.handleInitPackageResources(IXposedHookInitPackageResources.java:20)
at de.robv.android.xposed.callbacks.XC_InitPackageResources.call(XC_InitPackageResources.java:28)
at de.robv.android.xposed.callbacks.XCallback.callAll(XCallback.java:70)
at de.robv.android.xposed.XposedBridge$6.afterHookedMethod(XposedBridge.java:344)
at de.robv.android.xposed.XposedBridge.handleHookedMethod(XposedBridge.java:645)
at android.app.ResourcesManager.getTopLevelResources(Native Method)
at android.app.ActivityThread.getTopLevelResources(ActivityThread.java:1534)
at android.app.LoadedApk.getResources(LoadedApk.java:480)
at android.app.ContextImpl.<init>(ContextImpl.java:2022)
at android.app.ContextImpl.createAppContext(ContextImpl.java:1979)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:2552)
at android.app.ActivityThread.access$1800(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1278)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5001)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:132)
at dalvik.system.NativeStart.main(Native Method)
findAndHookMethodRecursive: trying class android.preference.PreferenceActivity.loadHeadersFromResource
findAndHookMethodRecursive: trying class android.preference.PreferenceActivity.loadHeadersFromResource
findAndHookMethodRecursive: trying class android.preference.PreferenceActivity.loadHeadersFromResource
findAndHookMethodRecursive: trying class android.preference.PreferenceActivity.loadHeadersFromResource
findAndHookMethodRecursive: trying class android.preference.PreferenceActivity.loadHeadersFromResource
findAndHookMethodRecursive: trying class android.preference.PreferenceActivity.loadHeadersFromResource

Also reported here: http://xdaforums.com/xposed/modules/mod-gpsnotification-bring-gps-icon-t2621751/post49699234
[Xposed Framework Modules] JerryGoyal:
not working on MOTO E 4.4.2
[Xposed Framework Modules] :
the most useful module, at least for me.. :D
[Xposed Framework Modules] KrissSo:
Excellent but does not handle Adblock impact

Hi,

First, thanks a lot for the module. Very very useful. So thank (did I already say "thank" ? :o ) for your time and effort.

I noticed though that, if I have Adblock installed, the speed indicated is often twiced the real one. Indeed, this is because ablock intercept communications by installing a local proxy on 127.0.0.1 and redirecting trafic to it.

So, when downloading something for instance, your module actually record trafic first from internet to proxy (as download), then uploaded by the proxy (to the phone, as an upload, even if it's local trafic), and then from local proxy to the app (download twice). To make things short, for a read download of say 300kbit/s, your module will display 600kbit/s of download and 300kbit/sec of upload.

If you get access to the trafic details, you could actually set ignore rule when there is a local proxy or trafic with localhost.

Just my 2 cents and thanks again for the module.
[Xposed Framework Modules] agent007bond:
When background data restricted, app stops showing traffic

If I enable "Restrict Background Data" in the Android "Data usage" settings, the NetworkSpeedIndicator app stops showing any traffic info even though I can still use the mobile connection for foreground data. I don't think it is crashed - it must be still running in the background - because as soon as I connect to a WiFi network the traffic info comes back. I suppose this would be true if I disable the restriction, the traffic info would come back in this case as well.

Also I agree that when both Mobile and WiFi are turned off, the app must stop showing traffic info and hide it away (in case where "Hide when speed is zero" is disabled)

(edit: implemented as of v0.9.1)

. I don't see any point in showing 0 B / 0 B traffic info when there is no connection.

I also want to propose some fancy display changes

(edit: implemented as of v0.9.1)

:

When "Hide when speed is zero" is enabled with Display set as "Two Lines", the upload and download speeds (when not zero and shown individually) must be shown exactly where they would appear if both are shown. For example when only showing upload speed, it should appear at the first line (with a blank second line), and when only showing download speed, it should appear at the second line (with a blank first line). Right now, if only one speed is shown it always appears at the middle. I have to enable the arrow suffix to distinguish the two.

There could be an additional option "Always show suffix" after "Hide when speed is zero" (available when this option is enabled). If suffix is one of the arrows and "Hide when speed is zero" is enabled, the suffix arrows could still be shown when speed is zero. It just won't show "0 B" when the traffic is zero.

Other additional display options "No space before unit" and "Hide 'B' in unit" will be nice to have! As space is a premium in the notification bar (especially for phones in portrait mode), it will be great to be able to remove unnecessary components in the shown traffic info.

"No space before unit" will remove the space character between the number and the unit. For example, "376 B" would be shown as "376B".

"Hide 'B' in unit" will remove the redundant 'B' character. Examples: "423 KB" shown as "423 K", "2 MB" shown as "2 M", "376 B" shown as "376" (trim up the space).

Combining the two options, I should get: "423 KB" shown as "423K" (no space or B), "2 MB" shown as "2M", "376 B" shown as "376", etc.
[Xposed Framework Modules] Napsterbater:
How about an option for bits per sec. as bits is the measurement for network transfer.
[Xposed Framework Modules] wallo_J:
Why it's beta ?
[Xposed Framework Modules] moosc:
Any Updates? Would love mb instead

Sent from Bad Azz VZW LG G2 Cyan Tapatalk
[Xposed Framework Modules] trein91:
Same. This feature is already baked into certain custom roms too. Some of them have the Kb/s indicator which is better. Also anything lower than 1Kb should be assigned a decimal number. Eg 0.3 Kb/s rather than 300b/s which might mislead you to think that it's a large number.

Also for the hide icon feature. If one direction is inactive ie downloads only, the text should not be centered vertically, that way you can know in an instant whether it's an upload or download, rather than having to check the direction of the arrow.

Sent from my f2fs-ed Galaxy S4.
[Xposed Framework Modules] Jiggs82:
I would love to add omni's traffic up and down meter arrows in next version:)
[Xposed Framework Modules] CODENEX:
Not satisfied with the Gravitybox/Xblaster network usage. This one's pretty neat looking than the omni style.

Thanks
[Xposed Framework Modules] tft:
like the arrows in the xperia here, seems more proportional to the text. would be nice to color them differently (Up turns green when upstream, Down turns red when downstreaming) keeping them opaque/gray when inactive but that's just a little nitpicking, its all in the details though ;)
[Xposed Framework Modules] Vtrendzzy:
plz someone help me.

My problem is that this mod isn't counting network speed. It just stays at 0. I tried with both wifi and mobile. i did reboots too. eveything else is working.

Xperia U AOSX 4.4.3 by Devswift.
[Xposed Framework Modules] Vtrendzzy:
See at the top even if the connection is active, it stays only at 0 B.

Plz someone help me resolve this. I really want this mod as I don't use GravityBox. It's heavy for my Xperia u. :(

Please it's a request.
[Xposed Framework Modules] vyp54:
You're doing something wrong. This module works for me using almost the same ROM. Check if you have it enabled in Xposed and reboot.

This module (for me) has proven bulletproof on all ROMs I've used and way better than any option that monitors network speed (CM, Omni, GravityBox...). Keep up the good work.
[Xposed Framework Modules] tft:
another suggestion.. how about an option to ignore certain amount of bytes. i like having the option to only show indicators (hide when zero) when data is being transmitted, however, even idle it's constantly showing / hiding the indicators due to tiny packets being sent / received. typically less than 1000 bytes. BTW is having this option on use more battery due to it constantly displaying and hiding?
[Xposed Framework Modules] Vtrendzzy:
Hey i redid the whole thing. Unchecked then reboot. Then again check and reboot. It shows but only zeros. Mine is pure aosp kitkat.

Also I'm using ios mod which is also xposed mod. Do you think it maybe because of that?

Xperia U

Thank me if you respect my help.

Otherwise these are just virtual assets.
[Xposed Framework Modules] NickyDroid:
Sorry but I just installed the apk and I opened it, but I cannot see anything on the bar...I've a Samsung Note 3...how can I fix it?
[Xposed Framework Modules] vyp54:
I never had problems with this app. Look into privacy settings (that maybe it isn't restricted on network listen or something like that) and try disabling other Xposed modules to see if it will work. Although other modules shouldn't interfere. :rolleyes:
[Xposed Framework Modules] Planterz:
Yes please.
[Xposed Framework Modules] Vtrendzzy:
Hey i checked it with gravity box's data traffic monitor and it is working but not the omni style which shows both upload and download like in this mod. The simple style is working as intended. Do you think this problem can be solved?

My rom is pure AOSX by devswift for xperia u. :)
[Xposed Framework Modules] OCHON:
Yes, please spped on bits/sec
[Xposed Framework Modules] vyp54:
Try it on stock CM, if it works, your dev or your third party app messed something up.
[Xposed Framework Modules] Vtrendzzy:
I don't think that would work as someone here reported that this mod doesn't work on CM11.

And i'm on pure AOSX. It's not modded by it's dev. Just ported.
[Xposed Framework Modules] vyp54:
Well then, explain this. xD
[Xposed Framework Modules] Zheen:
this is the best module within its category. i've come to realize this after trying some. and i install it after every ROM flashing. keep up the great work
[Xposed Framework Modules] Vtrendzzy:
It's S3 right? That means it is Xnovathor device and mine is too. I hope devs could fix this problem.
[Xposed Framework Modules] vyp54:
Yep S3. I suggest you backup and flash CM and try it on naked CM and see if it works.
[Xposed Framework Modules] pyler:
Was this patch merged ?
[Xposed Framework Modules] paperWastage:
Don't think so. Think op hasn't updated project in a while

Let me upload the change I made (was a smali edit, should be able to install it over the original apk)
[Xposed Framework Modules] coax75ohm:
There's activity on github.

I'm trying to build it myself, but using eclipse makes me want to hurt someone (and I couldn't get it to work with just ant either). How do you have your Built Path setup? I've got it to the point that it installs and runs, I just can't configure it because the subprojects aren't getting included in the apk. Logcat shows:

E/dalvikvm( 1452): Could not find class 'com.h6ah4i.android.compat.preference.MultiSelectListPreferenceCompat', referenced from method tw.fatminmin.xposed.networkspeedindicator.SettingsActivity.onSharedPreferenceChanged

I tried checking the boxes for it under Order and Export, but then I get "Conversion to Dalvik format failed with error 1".
[Xposed Framework Modules] paperWastage:
don't think ive actually compiled it properly yet

Only did smali disassemble and repackage for that change.

EDIT:

raised a pull request: https://github.com/chiehmin/Xposed-NetworkSpeedIndicator/pull/15

[MENTION=5961048]coax75ohm[/MENTION], recommend you using Intellij instead of Eclipse.. it's a lot better, there's a community free version available. probably a git clean would help you start from scratch again
[Xposed Framework Modules] coax75ohm:
I've used Android Studio a bit in the past, but ran into problems with it wanting to target the L version on the newest download because of the android-support.jar, maybe I'll try Intellij instead. The version you posted works the way it should now, so it's a somewhat moot point. Still, it bothers me that I can't get it fully working.
[Xposed Framework Modules] agent007bond:
Rebooting

I'll let the cat out of the bag.

I got in touch with the OP and started contributing and helping him out in my free time. ADTC = me (forgive my cheesy username here :D.. I don't get the girls as easily as Mr. Bond :cyclops:)

I think I want to push this forward to a Stable 1.0 release. For this, we need to iron out some bugs that require immediate attention. While a lot of posts have been made here, I would find it a lot easier to manage issues in the GitHub issue tracker, rather than follow this thread. I got the OP to open up the issue tracker just so that it can happen.

So start posting your issues!

Now please note that I'm an Android beginner and right now I'm only mostly doing cosmetic changes. I am one man with one device (S3 LTE) - don't be too hard on me :o. I'm not sure what device(s) the OP has, but he may not be able to dedicate time on his device to test.

For those having compilation problems, do note that it's easiest if you use the ADT version of Eclipse. You must have the library projects set up, and you must have API level 19 installed. I have added a Wiki on where to fetch them and how to use them. If you still face problems, you can voice out here.

As I'm a new XDA user I can't post links. Hope you can find what you need. Also note that the OP may not be following this thread.

Your device must be rooted. You must have Xposed Module installed. You must restart the device after installing the APK. If you have done all that and still can't see anything, let us know!
[Xposed Framework Modules] AaronCompNetSys:
Personally, I think the hide logic is more distracting due to constant in and out. It needs a threshold. Omni has a good icon and threshold logic, just take theirs. It's in gravity box to.

On my device, the spacing is off vertically, not sure how to make that configurable.