Today while going through few websites for the design of wifi chat application I came to know a fact related to android wifi connectivity. The WifiManager class present in android API ignores Ad-Hoc networks. Android only connects through direct Access Point. But the ad-hoc support can be enabled by
-making changes to android framework
-configure “wpa_supplicant.conf” file present in system/etc/wifi/ (Needs root access)
I am trying to figure out to make any changes without root access.