plinzen / android-rttmanager-sample Goto Github PK
View Code? Open in Web Editor NEWSample project using the WifiRttManager API of Android P
License: Apache License 2.0
Sample project using the WifiRttManager API of Android P
License: Apache License 2.0
Hello,
Is there any list of devices of known devices on which you tested your sample?
I am preparing to buy a device for installing Android P DP2 so I can start experimenting with RTT. I have read that Google Pixel 2 works with this API but this device is pretty expensive for me.
Has anybody been successful on other devices, e.g. Nokia 6.1 (2018) that has Qualcomm Snapdragon 630 ?
I would be grateful for any answers. Thank you in advance.
Guessing this means my phone (Pocophone) doesn't support RTT. Might be good to display a better error message.
java.lang.RuntimeException: Unable to start activity ComponentInfo{de.plinzen.android.rttmanager/de.plinzen.android.rttmanager.wifi.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.net.wifi.rtt.WifiRttManager.isAvailable()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2946)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3081)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:78)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:108)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:68)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1831)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:6806)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.net.wifi.rtt.WifiRttManager.isAvailable()' on a null object reference
at de.plinzen.android.rttmanager.wifi.MainActivity.initUI(MainActivity.java:140)
at de.plinzen.android.rttmanager.wifi.MainActivity.onCreate(MainActivity.java:119)
at android.app.Activity.performCreate(Activity.java:7200)
at android.app.Activity.performCreate(Activity.java:7191)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1272)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2926)
... 11 more
Keystore file ':\android-rttmanager-sample-master\android-rttmanager-sample-master\development.jks' not found for signing config 'development'.
Hi,
could you please list in the readme the devices used?
For the smartphone there is an info (it uses Snapdragon 820), but for the Wi-Fi router used, there is no info.
Thank you
Casting (Callback) to Executor produce following error
Java.Lang.Classcastexception.
The setWifiNetworks filtering method filters networks by SSID resulting in removal of 802.11mc capable scan results from mesh networks. Considder adding a check in the method for whether each network supports RTT. Alternatively you could filter by BSSID.
Hey, cool sample project!
I'm currently experimenting with Wi-Fi positioning and Wi-Fi RTT but I'm unable find a router that supports the 802.11mc standard. I'm wondering if you could help me find one?
Your help is greatly appreciated!
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.