Reputation: 33
I'm trying to program an app to discover wifi devices which are connecting to an Access Point. I found that WifiP2pmanager class can be used to scan wifi devices but it's just for API14. Is there anyway to use this class in older API ? (sorry for my poor English >.<)
Upvotes: 0
Views: 347
Reputation: 1426
Unfortunately - NO...
WifiP2pManager is part of new API called WiFi-Direct , and is a knowned technology to generate an AdHoc connection between WiFi devices without a needed AP.
people waited a long time before Google supported this API.
Previous Versions are not supporting this API.
Upvotes: 0
Reputation: 26547
No, you cannot use WifiP2pmanager
on older API levels.
The only way would be to use the Android Support Package, however it does not currently support WifiP2pmanager
.
Upvotes: 1