Will this technique work without GooglePlayService installed on the users device? In your other answer: stackoverflow.com/a/30572168/2371425. It almost implies that the user will need GooglePlayServices. Also when I use this answer to generate QRcode, there's a brief popup about needing GooglePlayServices and a Log statement.
– SakiboyNov 12 '15 at 18:29

1

FOR SCANNING: If you detect, that BOTH Google Play is missing (on Amazon or Blackberry or Cyanogen device) AND Barcode Scanner app is not installed, then you could redirect the user to alternative "app store" manually. FOR JUST GENERATING QR CODE: I don't know - try it yourself and report here.
– Alexander FarberNov 12 '15 at 18:55

2

Strange - as you can see in my screenshot I used emulator too - and it never asked me about Google Play
– Alexander FarberNov 12 '15 at 19:01

1

The alert isn't able to be seen for long. It's only on the screen for a split second, so there's really not enough time for the user to even read it. I had to screen shot it to read the text, it was tough to screenshot because it was only on the screen for less than a second. But anyway, it appears to be working without GooglePlayServices.
– SakiboyNov 12 '15 at 19:03

3

Do we really need to copy-paste that Bitmap creation from BitMatrix? Isn't there utility method for this somewher in zxing lib?
– ernazmNov 8 '17 at 14:53

this part of code works extremely slow getResources().getColor(R.color.black):getResources().getColor(R.color.white); need to replace it to - colorBlack:colorWhite where define colorBlack and colorWhite outside for statement. Also maybe will be faster fill all bitmap white and put only black pixels
– w201Jan 21 at 17:24

it would really improve your answer if you could include information like: "Why this code might be helpful?" and "what is so different from that of OP?" this way you would convey knowledge about the solution itself. Basically teaching fishing, instead of feeding fish ;)
– Mong ZhuSep 26 '17 at 13:44