简体   繁体   English

使用NFC将android设备连接到wifi,无需任何第三方软件

[英]Use NFC to connect android device to wifi without any 3rd party software

Is there a way to use nfc to connect an android device to a wifi.network without the use of a 3rd party application.有没有办法在不使用第 3 方应用程序的情况下使用 nfc 将 android 设备连接到 wifi.network。 Ie using the built in functionality of android and how it reads nfc tags.即使用 android 的内置功能及其读取 nfc 标签的方式。

I need a nfc tag to connect the phone / device to a specific WiFi.network and then download my application from that WiFi.network.我需要一个 nfc 标签来将手机/设备连接到特定的 WiFi.network,然后从该 WiFi.network 下载我的应用程序。 How can I go about doing this?我怎么能go做这个呢?

I can achieve this with an app such as nfc launcher, but then a user would have to go install that app then go and swipe the nfc tag to download my app.我可以使用诸如 nfc 启动器之类的应用程序来实现这一点,但是用户必须先 go 安装该应用程序,然后再输入 go 并滑动 nfc 标签才能下载我的应用程序。

So for a use case:所以对于一个用例:

I want to have a nfc tag at a sales counter or restaurants table.我想在销售柜台或餐厅餐桌上贴一个 nfc 标签。 Then all a user has to do to get and install the app is scan the qr code.然后,用户获取和安装该应用程序所需要做的就是扫描二维码。

I totally understand what you are trying to do here, and I am wanting to do the same thing myself. 我完全明白你在这里想做什么,我想自己做同样的事情。 The best info I have got so far comes from this post 到目前为止,我得到的最好的信息来自这篇文章

Share Wifi credentials via NFC tag without special apps 无需特殊应用即可通过NFC标签分享Wifi凭据

However, whilst this tells us there is a specification for NFC>WiFi handover, it appears it is not supported by Android. 然而,虽然这告诉我们有NFC> WiFi切换的规范,但它似乎不受Android支持。

I will keep searching and let you know if I come up with anything further. 如果我想出更进一步的话,我会继续搜索并告诉您。

I'm also looking for NFC>Bluetooth handover, but coming across similar barriers :-( 我也在寻找NFC>蓝牙切换,但遇到类似的障碍:-(

Why not just put a download link for your app on the NFC tag? 为什么不在NFC标签上添加应用程序的下载链接? If the device has an internet connection, tapping the tag will launch the browser (or the Google Play app) and follow the download link. 如果设备具有互联网连接,则点按标签将启动浏览器(或Google Play应用)并按照下载链接进行操作。 It's not really up to you to demand that the device connects to a wifi network first. 要求设备首先连接到wifi网络并不是真的由你决定。

I understand this question. 我理解这个问题。 Please take a look at the new NFC programmer provided by Google for devices >= Lollipop. 请查看Google为设备> = Lollipop提供的新NFC程序员。 I haven't delved into the details of this program myself but if there is a built-in support there, P2P tapping or tag read in order to program Wi-Fi details should get the slave peer device to obtain the required internet connection (simple WPA/WEP based SSID). 我自己没有深入研究这个程序的细节,但如果有内置的支持,P2P点击或标签读取以编程Wi-Fi细节应该让从属设备获得所需的互联网连接(简单基于WPA / WEP的SSID)。

That way, when an internet connection is established, the slave could be instructed to download enabler apk from a remote source, such as PlayStore or internal private host server. 这样,当建立因特网连接时,可以指示从设备从远程源(例如PlayStore或内部专用主机服务器)下载启用器apk。 However, PlayStore access would require that device be already equipped with a Google account (not possible on a factory reset device). 但是,PlayStore访问权限要求该设备已配备Google帐户(在出厂重置设备上无法使用)。

I think you want to achieve what these guys here provide: https://www.tenonedesign.com/porter我认为您想实现这里提供的这些人: https://www.tenonedesign.com/porter

You hold your NFC-capable andoid mobile to it and it connects to your wifi.您将具有 NFC 功能的 andoid 手机放在它上面,它会连接到您的 wifi。 newer Iphones are shown a qr-code, SSID und password较新的 Iphone 会显示二维码、SSID 和密码

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在没有任何第三方库的情况下在Android中生成PDF - Generate PDF in Android without any 3rd party Library 视频呼叫通过WiFi,无需任何中间服务器或第三方连接,如Skype - Video-Calling Over WiFi without any intermediate server or 3rd party connection like Skype 在 Android 开发中限制第 3 方软件模块的权限 - Limiting permissions for 3rd party software modules in Android Development 如何在Android上使用3rd Party库? - how to use 3rd party library on android? 如何将 Websocket 连接到 android 应用程序或需要任何 3rd 方库? - How to connect Websocket to android application or any 3rd party library is required? 如何在不使用Android中任何第3方库的情况下从基于json的api获取json数据? - How to get json the data from json based api without using any 3rd party library in Android? 在Android第三方设备上运行appium必须使用哪些文件? - Which files are mandatory to run appium on an Android 3rd party device? 是否有适用于android,BB和iPhone的第三方聊天应用程序? - Are there any 3rd party chatting apps available for android,BB and iPhone? android 3rd party库 - android 3rd party library Android 3rd Party整合 - Android 3rd Party Integration
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM