I have custom hardware and custom android operating system. Devices are unable to stay connected to the Wireless network after going through day to day workflow. I have used WifiManager.WifiLock in application to make sure hardware running up. But After I have found that my custom OS not able to make it up.
So I have try from my application.
"netcfg" command
give me list off network hardware
lo UP 127.0.0.1 255.0.0.0 0x00000049
wlan0 DOWN 0.0.0.0 0.0.0.0 0x00001002
"netcfg wlan0 up"
And "ifconfig wlan0 up"
both are not working from application.
Can any one have any suggestion that I can make hardware up from my application.
Or any other way around like native application class or anything that I can make hardware up.