<bdo id='brq5Y'></bdo><ul id='brq5Y'></ul>

    1. <small id='brq5Y'></small><noframes id='brq5Y'>

    2. <legend id='brq5Y'><style id='brq5Y'><dir id='brq5Y'><q id='brq5Y'></q></dir></style></legend>
        <tfoot id='brq5Y'></tfoot>
      1. <i id='brq5Y'><tr id='brq5Y'><dt id='brq5Y'><q id='brq5Y'><span id='brq5Y'><b id='brq5Y'><form id='brq5Y'><ins id='brq5Y'></ins><ul id='brq5Y'></ul><sub id='brq5Y'></sub></form><legend id='brq5Y'></legend><bdo id='brq5Y'><pre id='brq5Y'><center id='brq5Y'></center></pre></bdo></b><th id='brq5Y'></th></span></q></dt></tr></i><div id='brq5Y'><tfoot id='brq5Y'></tfoot><dl id='brq5Y'><fieldset id='brq5Y'></fieldset></dl></div>

        Android:如何使 NFC 标签只为用户准备好并且对我可写?

        时间:2023-09-10
      2. <legend id='DkYpC'><style id='DkYpC'><dir id='DkYpC'><q id='DkYpC'></q></dir></style></legend>

            <bdo id='DkYpC'></bdo><ul id='DkYpC'></ul>
          • <small id='DkYpC'></small><noframes id='DkYpC'>

              <i id='DkYpC'><tr id='DkYpC'><dt id='DkYpC'><q id='DkYpC'><span id='DkYpC'><b id='DkYpC'><form id='DkYpC'><ins id='DkYpC'></ins><ul id='DkYpC'></ul><sub id='DkYpC'></sub></form><legend id='DkYpC'></legend><bdo id='DkYpC'><pre id='DkYpC'><center id='DkYpC'></center></pre></bdo></b><th id='DkYpC'></th></span></q></dt></tr></i><div id='DkYpC'><tfoot id='DkYpC'></tfoot><dl id='DkYpC'><fieldset id='DkYpC'></fieldset></dl></div>

                <tfoot id='DkYpC'></tfoot>
                  <tbody id='DkYpC'></tbody>

                  本文介绍了Android:如何使 NFC 标签只为用户准备好并且对我可写?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我有一个设计个性化标签的应用程序,当它被安卓手机检测到时,会启动另一个包含一些内容的应用程序.一切正常,我知道如何制作只读 nfc 标签.问题是,我想让 NFC 标签只能由其他应用程序的用户读取.但我也希望,如有必要,修改这些标签以便重写.但我想阻止用户自己做.这就是为什么 ndef.makeReadOnly() 不适合我..

                  I have an app that design personalized tags that, when it is detected by an android phone, launches another app with some content. It all works fine and I know how to make a read only nfc Tag. The problem is, I would like to make a NFC Tag only readable by users of the other app. But I also want , if necessary, modify these tags in order to be rewritten. But I want to prevent from users to do themselves. that's why a ndef.makeReadOnly() is not appropriate for me..

                  有人可以帮我吗???

                  推荐答案

                  这在一定程度上取决于您将使用的确切标签.Android 支持的用于存储 NDEF 消息的标准 NFC 论坛标签类型没有为此定义特定功能.所以 Android API 也不提供它.只有makeReadOnly(),这在大多数情况下使标签不可逆地只读.

                  It depends somewhat on the exact tags you will be using. The standard NFC Forum tag types for storing NDEF messages that Android supports have no specific functionality defined for this. So the Android API does not provide it either. There is only makeReadOnly(), which in most cases makes the tag irreversibly read-only.

                  但是,当您查看标签内实际实现所需 NFC 功能的芯片时,它们通常会提供更多功能.这些额外的功能可能包括写入的访问控制,允许您随意配置芯片.

                  However, when you look at the chips inside the tags that actually implement the required NFC functionality, they often provide more functions. These extra functions may include access control for writing, allowing the chip to be configured like you want.

                  一些示例(全部由 NXP 制造,因为我最熟悉这些示例):

                  Some examples (all manufactured by NXP, as I am most familiar with those):

                  1. MIFARE Classic:内存扇区受 2 个密钥保护.一个键可配置为只读,而另一个可用于写入内存.注意:并非所有 Android 设备都可以访问这些!
                  2. MIFARE Ultralight C:可以提供额外的密码保护以防止被覆盖
                  3. MIFARE DESFire:可配置多个身份验证密钥和访问权限,包括无密钥的只读访问
                  4. ICODE SLI(X)-S:可以提供额外的密码保护以防止被覆盖

                  这些标签中的大部分通常都可以在线销售.不过,您将不得不在 Internet 上搜索一下以收集有关如何进行配置的所有信息.大多数情况下都有可用的 PC 软件.

                  Most of these tags are generally available for sale on-line. You will have to hunt a bit on the internet to gather all the information on how the configuration has to be done, though. There is PC software available in most cases.

                  这篇关于Android:如何使 NFC 标签只为用户准备好并且对我可写?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:IOS:用标签值改变 UIImageView 下一篇:如何使 GridLayout 适合屏幕大小

                  相关文章

                  • <bdo id='QgX8E'></bdo><ul id='QgX8E'></ul>

                  <small id='QgX8E'></small><noframes id='QgX8E'>

                    <tfoot id='QgX8E'></tfoot>
                  1. <i id='QgX8E'><tr id='QgX8E'><dt id='QgX8E'><q id='QgX8E'><span id='QgX8E'><b id='QgX8E'><form id='QgX8E'><ins id='QgX8E'></ins><ul id='QgX8E'></ul><sub id='QgX8E'></sub></form><legend id='QgX8E'></legend><bdo id='QgX8E'><pre id='QgX8E'><center id='QgX8E'></center></pre></bdo></b><th id='QgX8E'></th></span></q></dt></tr></i><div id='QgX8E'><tfoot id='QgX8E'></tfoot><dl id='QgX8E'><fieldset id='QgX8E'></fieldset></dl></div>
                      <legend id='QgX8E'><style id='QgX8E'><dir id='QgX8E'><q id='QgX8E'></q></dir></style></legend>