• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

WiFi Aware and WiFi RTT compatible devices

I am trying to develop an app that uses the WiFi aware and WiFi RTT features. According to https://developer.android.com/guide/topics/connectivity/wifi-aware,
Wi-Fi Aware capabilities enable devices running Android 8.0 (API level 26) and higher ...
and for WiFi RTT (https://developer.android.com/guide/topics/connectivity/wifi-rtt),
The device making the ranging request must be running Android 9 (API level 28) or later.

However when I run following code to check compatibility of the device, (I am running the program on Samsung Galaxy S9, Android 9, API 28), both variables are returning false. I tried with Huawei Nova 2i (Android 8.0.0, API 26), and I expected to get 'true' for the first variable, but I didn't.

Java:
boolean hasWiFiAware = getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI_AWARE);
boolean hasWiFiRTT = getPackageManager().hasSystemFeature(PackageManager.FEATURE_WIFI_RTT);

I have googled for a list of WiFi Aware and WiFi RTT compatible devices, but astonishingly, was not able to get anything.
Would be great help if I can get some suggestion/link to a list of compatible devices.
 
  • Like
Reactions: Rana gee

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones