It looks like zxing has an encoder within the source tree:
http://code.google.com/p/zxing/source/browse/trunk#trunk/core/src/com/google/zxing/qrcode/encoder
Apparently, it's used here:
http://zxing.appspot.com/generator/
Their Android application has this interesting entry in the manifest:
http://code.google.com/p/zxing/source/browse/trunk/android/AndroidManifest.xml
<activity android:name=".encode.EncodeActivity">
<intent-filter>
<action android:name="com.google.zxing.client.android.ENCODE"/>
<category android:name="android.intent.category.DEFAULT"/>
</intent-filter>
<!-- This allows us to handle the Share button in Contacts. -->
<intent-filter>
<action android:name="android.intent.action.SEND"/>
<category android:name="android.intent.category.DEFAULT"/>
<data android:mimeType="text/x-vcard"/>
</intent-filter>
</activity>
So you can use their application to generate QR codes by firing an Intent.
Or, integrate the encoder source (first line of this email) in your
application. Check the license to make sure there is no conflict.
-- Kostya
11.10.2010 23:36, ping пишет:
Hmmm ok, So does anybody know a local qr code generator lib for
android?
Or any good materials which can help when implementing such generator
on my own?
On Oct 11, 8:25 pm, Kumar Bibek<[email protected]> wrote:
Zxing is just for scanning as far as I know. Creating a generator might be a
pretty big task. :)
On Mon, Oct 11, 2010 at 11:53 PM, ping<[email protected]> wrote:
Thank you for your response.
It would be nice to generate the QR code locally on the device.
Is ZXing also able to generate qr codes?
greets
On Oct 11, 7:51 pm, Mark Murphy<[email protected]> wrote:
On Mon, Oct 11, 2010 at 1:40 PM, ping<[email protected]> wrote:
What's the easiest way to generate and read QR Codes in an android
application?
To generate, if you are assuming Internet access, use the Google Charts
API:
http://code.google.com/apis/chart/docs/gallery/qr_codes.html
To read, use ZXing:
http://code.google.com/p/zxing/
--
Mark Murphy (a Commons Guy)http://commonsware.com|
http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy<http://github.com/commonsguyhttp://commonsware.com/blog%7Chttp://twit...>
Android Training...At Your Office:http://commonsware.com/training
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]<android-developers%2Bunsubs
[email protected]>
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--
Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com
--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en