如何导入zxing库项目在Eclipse中的Android应用 [英] how to import zxing library project for android app in eclipse
问题描述
然后zxing文件夹中,我发现几个文件夹,我不知道哪一个是用来zxing库Android应用整合,我在这里把斑马线文件夹后结账。
then in zxing folder i found several folders ,i don't know which one is used to integrate zxing library in android app,here i am placing the zxing folder after checkout.
推荐答案
结帐<一个href=\"http://stackoverflow.com/questions/4782543/integration-zxing-library-directly-into-my-android-application\">Integration直接ZXing库到我的Android应用程序的问题与解答<一个href=\"http://stackoverflow.com/questions/4854442/embed-zxing-library-without-using-bar$c$c-scanner-app\">Embed Zxing库,而无需使用吧code扫描仪应用问题。
Checkout Integration ZXing library directly into my Android application question and answers on Embed Zxing library without using Barcode Scanner app question.
我的引用 肖恩·欧文的答案,一个作者的从 Zxing库这个回答:
I'm quoting the answer of Sean Owen, one of the author's of Zxing library from this answer:
- 的完整源$ C $ C可通过斑马线的项目。你想建立
core.jar添加
从核心/
并把它在你的Android的lib /
文件夹,包括核心
德codeR在你的应用程序。你不希望包括JavaSE中。你可以看一下code在
的Android /
,因为它是酒吧code扫描仪的来源,但作为作者,我们建议你
不只是复制和粘贴。
- " The complete source code is available from the ZXing project. You want to build
core.jar
fromcore/
and put it in your Androidlib/
folder to include the core decoder in your app. You do not want to include javase. You can look to the code inandroid/
as it is the source to Barcode Scanner, but as the authors we'd suggest you not just copy and paste it."
希望这有助于。
这篇关于如何导入zxing库项目在Eclipse中的Android应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!