Peter Simpson Expert Licensed User Longtime User Nov 10, 2014 #1 This question suddenly popped into my head. I was just wondering what is the best solution for monitoring In/Out data usage on 1. Wi-Fi and 2. 3G/4G(LTA). Cheers...
This question suddenly popped into my head. I was just wondering what is the best solution for monitoring In/Out data usage on 1. Wi-Fi and 2. 3G/4G(LTA). Cheers...
Erel B4X founder Staff member Licensed User Longtime User Nov 10, 2014 #2 See this API: http://developer.android.com/reference/android/net/TrafficStats.html It is simple to call it with JavaObject. For example: B4X: Dim ts As JavaObject ts.InitializeStatic("android.net.TrafficStats") Log(ts.RunMethod("getMobileRxPackets", null)) Upvote 0
See this API: http://developer.android.com/reference/android/net/TrafficStats.html It is simple to call it with JavaObject. For example: B4X: Dim ts As JavaObject ts.InitializeStatic("android.net.TrafficStats") Log(ts.RunMethod("getMobileRxPackets", null))
LucaMs Expert Licensed User Longtime User Nov 10, 2014 #3 Erel said: It is simple to call it with JavaObject Click to expand... I don't agree Upvote 0