-
-
Save parzibyte/060fea32f880cb19cd729e41b57d4c44 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
String texto = "El contenido del código QR"; | |
Bitmap bitmap = QRCode.from(texto).bitmap(); | |
// Suponiendo que tienes un ImageView con el id ivCodigoGenerado | |
ImageView imagenCodigo = findViewById(R.id.ivCodigoGenerado); | |
imagenCodigo.setImageBitmap(bitmap); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment