简体   繁体   中英

Connecting WiFi printer using IP address on Android

How can i connect to WiFi printer using IP address on Android?

WifiManager wifi = (WifiManager)getSystemService(Context.WIFI_SERVICE);
WifiConfiguration wc = new WifiConfiguration();

Please help me

I dont know exactly but I think that java socket class will help you. WifiManager is only to configur wifi on device. You should simple create socket class and send data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM