你如何添加com.android.nfc_extras.NfcAdapterExtras到Eclipse? [英] How do you add com.android.nfc_extras.NfcAdapterExtras to Eclipse?

查看:259
本文介绍了你如何添加com.android.nfc_extras.NfcAdapterExtras到Eclipse?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经找到<一个href=\"http://grep$c$c.com/file/repository.grep$c$c.com/java/ext/com.google.android/android/4.0.3_r1/com/android/nfc_extras/NfcAdapterExtras.java\"相对=nofollow>这些类,但我怎么添加到com.android.nfc_extras.NfcAdapterExtras Eclipse项目?

I have found these classes but how do I add com.android.nfc_extras.NfcAdapterExtras to an eclipse project?

推荐答案

这是不是公共API的一部分,所以它是不是在SDK。从AOSP下载Android源$ C ​​$ c和建立自己的罐子。您的另一种选择是使用反射来访问它。

This is not part of the public API, so it is not in the SDK. Download Android source code from AOSP and build the jar yourself. Your other option is to use reflection to access it.

这篇关于你如何添加com.android.nfc_extras.NfcAdapterExtras到Eclipse?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆