Il giorno martedì 12 luglio 2011 01:16:46 UTC+2, Streets Of Boston ha
scritto:
>
> You can just embed the core library of ZXing in your own app.
> Then you can take a look at the code ZXing's android-client app and copy
> what you need.
> This embeds the scanner right into your app.
>
> Pro: no need for your users to download the ZXing app. Especially handy if
> you ever want to distribute your app on phones without Android Market app.
> Con: You need to do some coding yourself, although minimal.
>
> You can do this, because ZXing is licensed under Apache License 2.0. Just
> put the appropriate notices and attributions in your app.
>
>
>
I know that I can do that but:
- in this phase I wanted to focus on the app, so using an external app was
faster (and now I am wondering is it's ok to leave it this way)
- it's the approach suggested by zxyng, otherwise I think they would have
released a library
- I don't really like to copy / paste pieces of code around
On the other hand, as a user I wouldn't really like to be asked to install
something more than the app I chose, so I think I'll move to that other
approach (maybe after some iteration).
Intents are extremely powerful but, if G wants to promote this cross app
collaboration, they should offer a list of options directly in the download
phase from the market, maybe relying on what openintents are doing.
I think a user (or at least me) would trust the market more than a random
app....
Thanks for the reply,
Federico
--
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