For Zxing:

Start an Intent on the ZXing Barcode Scanner and return the Result to
your Activity.

Intent i = new Intent("com.google.zxing.client.android.SCAN");
i.setPackage("com.google.zxing.client.android");
i.putExtra("SCAN_MODE", "MODE");
startActivityForResult(i, 0);

Hope this helps ;)

On 4 Aug., 06:01, Kavekkb <lineageno15ma...@gmail.com> wrote:
> i want to use "intent" to call "barcode scanner"
> how can i write 口口口口口口口 source code???
>
> Button ButtonCall = (Button) findViewById(R.id.ButtonCall);
>         ButtonCall.setOnClickListener(new Button.OnClickListener() {
>                 public void onClick(View view) {
>                         Uri uri = Uri.parse("tel:");
>                         Intent i=new Intent(Intent.口口口口口口);
>                                 startActivity(i);
>  }
>
> thanks...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to