> Do not tell me I have to develop an application from scratch
> to get this...

OK. I wont :)

... and you don't.

You can launch the barcode app with an Intent using
startActivityForResult(). You will get back a result with Extras that
will have the barcode content - and also I believe the barcode format.
Implement onActivityResult() to catch the callback.

I have done it before but don't have the details at hand ATM. Just
download the source and it will take about 10min to work out. Look for
the name of the Intent in the manifest. Just be aware that I believe
some other barcode shopping type apps try to catch the same Intent
which may cause conflicts as to the experience you expect your users
to have - it may open a different app to that you expect depending on
what is on your users phone. As the project is open sourced you may be
better off incorporating zxing into your project somehow and launching
it with a specific Intent for the class that serves as an entry point.

Sorry but I can't be more specific ATM.

Geoff

-- 
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

Reply via email to