开发者

How to silently connect?

开发者 https://www.devze.com 2023-03-03 19:17 出处:网络
I\'m sorry for that question but my device is broken and I\'m开发者_高级运维 working with the emulator for now.

I'm sorry for that question but my device is broken and I'm开发者_高级运维 working with the emulator for now. I need to make a silent connection, i.e. without any prompt to the user. I understand that there is some class for connecting to a wireless access point. So after I have established a connection: 1) If I open a Socket will it prompt the user? 2) If I open a socket with JNI will it prompt the user?

Thanks, Nahum


Opening a socket will not prompt the user under any normal circumstances. Once your app has the appropriate permissions it doesn't matter if you open the socket from Java or using JNI.

0

精彩评论

暂无评论...
验证码 换一张
取 消