Cosc 5/4730 QR codes. What is QR code? A QR code (abbreviated from Quick Response code) is a type of matrix barcode (or two-dimensional code) first designed.

Slides:



Advertisements
Similar presentations
+ QR Codes in the Classroom Carol Mayer Wayne RESA.
Advertisements

Provider No Emerging Technologies for Building Automation Systems Course No. ASG – LU/HWS Presented by: Chris Ruth Building Automation.
How to use them Successfully in the Classroom. Whats a QR Code? A QR Code is a specific matrix bar code (or two-dimensional code), readable by dedicated.
QR Codes for the Classroom Summer 2013 Instructor: Ed Hodge Contact:
QR Codes. About QR Abbreviation for Quick Response Code Trademark for 2-dimensional matrix barcode First designed by automotive industry – Tracking vehicles.
L A C U E 2013 Using QR Codes in the Classroom.
Cosc 5/4730 Game Design. A short game design primer. A game or animation is built on an animation loop. – Instance variables of “objects” are updated.
About Stacked & 2D Codes Axicon European Reseller Conference Martin Morrison.
Cosc 5/4730 Game Design. A short game design primer. A game or animation is built on an animation loop. – Instance variables of “objects” are updated.
Using QR Codes in the Classroom: A Brave New World Thomas McNeal Mark van ’t Hooft 2011 eTech Ohio Conference Columbus, Ohio.
Using QR Codes in Education Joyce Joines Newman MFA Office for Faculty Excellence.
+ QR Codes in the Classroom James Ray MCSD. + What are QR Codes? Square bar codes QR = “Quick Response” QR codes can be read in two directions = store.
For downloading and activation 2 d barcode reader / scanlife.
Working With QR Codes. What is a QR Code A QR Code (it stands for "Quick Response") is a cell phone/”smart device” readable bar code that can store website.
Blackberry and Andriod QR codes
Teaching School Wide Positive Behavior Expectations Using QR Codes Name: Barbara Grace Age of Students: Content Area of Teaching Lesson: Behavior.
Cosc 5/4730 Sign, convert, and install Android files on Blackberry Playbook.
Information on Deanship with technology of quick response symbol (QR) Dear browser, please delete the following symbol by the quick response reader program.
Getting Started with Android APIs Ivan Wong. Motivation - “Datasheet” - Recently exposed to what’s available in Android - So let’s see what API’s are.
By: Karla Lechuga. $5,000REWARD A QR (Quick Response) Code is a two-dimensional barcode that can be read using a smartphone or any other QR reading device.
DUE Hello World on the Android Platform.
Alex Puga Albert Andrea Moreno Rodríguez 4rtC Project: Math in English.
QR CODES FOR BUSINESS. QR Code (abbreviated from Quick Response Code) is the trademark for a type of matrix barcode (or two-dimensional code) first designed.
© 2016 Cengage Learning®. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole or in part. Android Boot Camp.
 By CALLUM SAUNDERS Data collection paraelink.org Windows owns.
QR CODE READERS BY: JOEY HORNE. WHAT IS A QR CODE? QR or Quick Response Codes Are a type of two dimensional barcode that can be read using smartphones.
QR Code. What is a QR code QR code is a quick response code It is a 2D barcode.
Setting up and getting going with…. MIT App Inventor.
QR CODES What are they? A Quick Response code… something like a bar code you would see in the grocery store. QR’s were first created and used in Japan.
Cosc 5/4730 Android Communications Intents, callbacks, and setters.
QR Code. Introduction of QRCode How does it work ? How is it used ? Conclusion.
Chapter 0 Getting Started. Objectives Understand the basic structure of a C++ program including: – Comments – Preprocessor instructions – Main function.
MUSIC Scan With Smartphone For Extra Credit. MOVIES Scan With Smartphone For Extra Credit.
QR = Quick Response code Originally used by the Japanese to track auto parts. Similar to a barcode but holds information not only vertically but horizontally.
Applications with Multiple Activities. Most applications will have more than one activity. The main activity is started when the application is started.
Introducing Intents Intents Bind application components and navigate between them Transform device into collection of interconnected systems Creating a.
Intents 1 CS440. Intents  Message passing mechanism  Most common uses:  starting an Activity (open an , contact, etc.)  starting an Activity.
CRAZY ABOUT QR CODES Ways to use QR codes in the classroom.
Lecture 2: Android Concepts
Feedback for my Digipak and website Ancillary task by Ellie Cook.
Barcode/QR Code Technology
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
QR (Quick Response) Codes Tom Barnes, Technology Coordinator Southwest Plains Regional Service Center
FIND THE VOLUME: 5 in 8 in 4 in.
Using QR Codes to access technology
Lecture 2: Android Concepts
Prepared by Yaman A. Salman Eman M. Masarweh
Making Templates Accessible
Using QR Codes to access technology
FlippedTIPS : LTG Professional Development: DAY TWO
MOA Delta Mobile OA Installation Guide 2015/12/16.
QR codes: every little helps
Introduction to QR Codes
Barcode/QR Code Technology
Installing and Using MARIE
District And Club database
New PowerPoint Template
New PowerPoint Template
Installing and Using MARIE
Dr.Rajni chandre Department of kayachikitsa Faculty of Ayurveda
Making Templates Accessible
Activities and Intents
SMB Marketing.
Installing and Using MARIE
Barcode and QR code 此页可以删除 Yuan Qu, Xuansheng Lu.
Sharing Technologies for Cloud Computing
Lecture 2: Android Concepts
Teaching with QR Codes Self-Defense.
Objects First with Java
Presentation transcript:

Cosc 5/4730 QR codes

What is QR code? A QR code (abbreviated from Quick Response code) is a type of matrix barcode (or two-dimensional code) first designed for the automotive industry.matrix barcode More recently, the system has become popular outside of the industry due to its fast readability and large storage capacity compared to traditional UPC barcodes.UPC barcodes The code consists of black modules arranged in a square pattern on a white background. The information encoded can be made up of four standardized kinds ("modes") of data (numeric, alphanumeric, byte/binary, Kanji), or by supported extensions virtually any kind of dataKanji From Wikipedia,

Anatomy of a QR code

QR app’s The Main api for QR codes comes from the ZXing (“Zebra Crossing”). Which is part of google.com code Android does not have any built-in API (for it’s own code…). Instead you need to install the barcode Scanner apk (in the market and on the zxing website) – Version 4.4 (as of July 25, 2013)

Creating QR codes You can use XYing website to create QR code

Before anything else! You will need to install the BarcodeScannerX.apk into the simulator – And download it first of course. – Adb.exe install BarcodeScanner4.4.apk – We’ll use intents to call it. It should noted, you can also import and use their code – We are not covering this. We’ll use the intents instead. – Their code is pretty easy to follow if you want to use it.

Encoding. Create the intent and call the activity. So for a simple one, text encoding. Intent intent = new Intent( "com.google.zxing.client.android.ENCODE"); intent.putExtra("ENCODE_TYPE", “TEXT_TYPE”); intent.putExtra("ENCODE_DATA", “ startActivity(intent); The encoded QR will show on the screen.

Scanning create an intent, but we’ll need a result. Intent intent = new Intent( "com.google.zxing.client.android.SCAN"); intent.putExtra("com.google.zxing.client.android.SCAN. SCAN_MODE", "QR_CODE_MODE"); startActivityForResult(intent, 0);

Scanning (2) Add the onActivityResult method if (requestCode == 0) { //code used to call Scanner. if (resultCode == RESULT_OK) { String contents = intent.getStringExtra("SCAN_RESULT"); String format = intent.getStringExtra( "SCAN_RESULT_FORMAT"); // Handle successful scan } else if (resultCode == RESULT_CANCELED) { // Handle cancel }

All well and good, EXCEPT What happens if the BarcodeScanner app is not installed? – FORCE CLOSE! But there is code to handle it. – xying has two java class you can add to your project. IntentIntegrator.java and IntentResult.java

IntentIntegrator It checks to make sure the app is installed. – If not, then it asks the user to get it from the Market. Now your code doesn’t force close.

Create with the Integrator We call the integrator code, which we included in the project IntentIntegrator integrator = new IntentIntegrator( qrDemoActivity.this); Where qrDemoActivity is the name of your activity. integrator.shareText(“ ); Again shows the qrCode or an error message if there is a problem with the text.

Scan with the Integrator Same idea as creating, but again we need a result IntentIntegrator integrator = new IntentIntegrator(qrDemoActivity.this); – Where qrDemoActivity is the name of your activity. integrator.initiateScan( IntentIntegrator.QR_CODE_TYPES); And wait for the result in onActivityResult

Scan with the Integrator (2) In the onActivityResult method //code to handle the intentintegrator, then IntentResult scanResult = IntentIntegrator.parseActivityResult(requestCode, resultCode, intent); if (scanResult != null) { // handle scan result String contents = scanResult.getContents(); if (contents != null) { logthis("[II] Scan result is "+ scanResult.toString()); } else { logthis("[II] Scan failed or canceled"); } } //handle the other result codes as needed.

You can use Android qrDemo code Which is located here:

refrences de-api/ de-api/ how-do-i-use-zxings-qr-barcode-scanner-with- intentintegrator-and-intentresult how-do-i-use-zxings-qr-barcode-scanner-with- intentintegrator-and-intentresult

Q A &