Giter Club home page Giter Club logo

adkintun-mobile-middleware's People

Contributors

dmadariaga avatar pipex avatar sebablasko avatar zeeerooo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

imclab

adkintun-mobile-middleware's Issues

Library fails at measurement for 4g signal

In new generation devices with support for 4g technology, the library doesn't recognize the signal strength of the antennas, so the telephony monitor never report data with samples for signal strength

onCellLocationChanged NullPointerException

#0. Crashed: main: 0 0 0x0000000000000000

   at cl.niclabs.adkmobile.monitor.Telephony$TelephonyStateListener.onCellLocationChanged(Telephony.java:105)
   at android.telephony.PhoneStateListener$1.handleMessage(PhoneStateListener.java:295)
   at android.os.Handler.dispatchMessage(Handler.java:111)
   at android.os.Looper.loop(Looper.java:194)
   at android.app.ActivityThread.main(ActivityThread.java:5549)
   at java.lang.reflect.Method.invoke(Method.java)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:964)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:759)

Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method 'int java.util.List.size()' on a null object reference
at cl.niclabs.adkmobile.monitor.Telephony$TelephonyStateListener.onCellLocationChanged(Telephony.java:105)
at android.telephony.PhoneStateListener$1.handleMessage(PhoneStateListener.java:295)
at android.os.Handler.dispatchMessage(Handler.java:111)
at android.os.Looper.loop(Looper.java:194)
at android.app.ActivityThread.main(ActivityThread.java:5549)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:964)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:759)

Can't count traffic data from other apps in android > 6

Starting in N (android 7) the methods getUidRxBytes and getUidTxBytes used to calculate application traffic for each app, will only report traffic statistics for the calling UID (in our case, only statistics for AdkintunMobile). It will return UNSUPPORTED for all other UIDs for privacy reasons.

To access historical network statistics belonging to other UIDs, Android recommend to use NetworkStatsManager.

onSignalStrengthsChanged ClassCastException

#0. Crashed: main: 0 0 0x0000000000000000

   at cl.niclabs.adkmobile.monitor.Telephony$TelephonyStateListener.onSignalStrengthsChanged(Telephony.java:282)
   at android.telephony.PhoneStateListener$1.handleMessage(PhoneStateListener.java:303)
   at android.os.Handler.dispatchMessage(Handler.java:102)
   at android.os.Looper.loop(Looper.java:135)
   at android.app.ActivityThread.main(ActivityThread.java:5430)
   at java.lang.reflect.Method.invoke(Method.java)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:913)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:706)
   at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)

Fatal Exception: java.lang.ClassCastException: cl.niclabs.adkmobile.monitor.data.CdmaObservation cannot be cast to cl.niclabs.adkmobile.monitor.data.GsmObservation
at cl.niclabs.adkmobile.monitor.Telephony$TelephonyStateListener.onSignalStrengthsChanged(Telephony.java:282)
at android.telephony.PhoneStateListener$1.handleMessage(PhoneStateListener.java:303)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5430)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:913)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:706)
at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:102)

Aggregate samples should not be sent

To avoid erroneous calculation of the mean signal strength in TelephonyObservation samples, individual samples must be sent to the server so that measures of central tendency are calculated when necessary

onCellLocationChanged NullPointerException

#0. Crashed: main: 0 0 0x0000000000000000

   at cl.niclabs.adkmobile.monitor.Telephony$TelephonyStateListener.onCellLocationChanged(Telephony.java:148)
   at android.telephony.PhoneStateListener$1.handleMessage(PhoneStateListener.java:288)
   at android.os.Handler.dispatchMessage(Handler.java:106)
   at android.os.Looper.loop(Looper.java:189)
   at android.app.ActivityThread.main(ActivityThread.java:5535)
   at java.lang.reflect.Method.invoke(Method.java)
   at java.lang.reflect.Method.invoke(Method.java:372)
   at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950)
   at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.telephony.cdma.CdmaCellLocation.getBaseStationId()' on a null object reference
at cl.niclabs.adkmobile.monitor.Telephony$TelephonyStateListener.onCellLocationChanged(Telephony.java:148)
at android.telephony.PhoneStateListener$1.handleMessage(PhoneStateListener.java:288)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:189)
at android.app.ActivityThread.main(ActivityThread.java:5535)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:950)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:745)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.