I'm developing an app that uses wi-fi direct module. As you all know it's not available before Android 4.0, but I want to mantain compatibility without wi-fi direct.
The problem is I'm using instance variables from classes like Channel or WifiP2pManager. Of course on prior versions to ICS they'll not be available. I was just following the Android official developer guide, so It seemed that I did nothing wrong.
Any ideas of how can I solve this?
Thanks!