生成/创建酒吧code Android中 [英] Generating/creating a barcode in Android

查看:95
本文介绍了生成/创建酒吧code Android中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人谁知道一个好的方法来生成/从Android的字符串创建一个吧code?

Anyone who knows a good way to generate/create a barcode from a String in Android?

推荐答案

如果你想连接的设备,而不是打电话来一个网址上code,确实是你想要的 ZXing 。看看它在<一个Android客户端吧code扫描仪href="http://$c$c.google.com/p/zxing/source/browse/trunk/android/src/com/google/zxing/client/android/en$c$c/En$c$cActivity.java"相对=nofollow>恩codeActivity 。

If you want to encode on the device instead of calling to a URL, indeed you want ZXing. Look at what it does for the Android client Barcode Scanner in EncodeActivity.

这篇关于生成/创建酒吧code Android中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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