android


Read QR Code without using other app


I want implement an activity that when starts, capture the QR code by camera, and than decode it. Can I do this without installing an other app on my tablet?
I seen zxing, but I don't understand how implements it..
Yes, you can. You will have to:
- initialise camera and start preview mode
- wait for preview image and process it
- pass it to zxing library to decode.
Good starting point: zxIng demo applications - sources are available
Use opensource QR code projects and use them for your app. zxing is one
Try using latest zxing liberary.
You can use it by two ways,
Add the zxing library to your workespace and make it as liberay project.
Add all the file of the zxing liberary to your project.
The second option is much easier. You have to make changes in CaptureActivity according to your requirements. Its very easy.

Related Links

show banner, native and interstitial ads on one screen
Android: Layout has a different behavior according on Android 6 versus before
Battery Broadcast not sending any status code
Inconsistent background-size shorthand behavior between Chromium 51 and Chromium 51 WebView
Android Espresso: How do I test a specific Fragment when following one activity to several fragment architecture
Blurry image in imageView of android
How to check number of free INodes in Android
popBackStack remove all stack?
Let user start working with app before loading fragment
Is it possible to increase the sensibility of Sphero in Android?
Error:Access to the dex task is now impossible, starting with 1.4.0
Drag a RelativeLayout on google Map with touch
Android studio AVD resolution size does not match with png resource
Android Keeping Session Forever
Using FirebaseRemoteConfig from a service
Android ListView item wrong after scroll

Categories

HOME
algorithm
eclipse
fabricjs
google-cloud-platform
turing-machines
paraview
merge
android-studio-2.2
obfuscation
requirements
parameters
tail
maxscript
jquery-ui
tvos
data-visualization
gluon-mobile
bing-maps
heap
android-securityexception
jxl
docx
scsi
rubymotion
ksh
ember-cli
linked-data
gitlab-api
xbox
hunspell
indy10
sql-delete
modernizr
projects-and-solutions
news
resolution
outputcache
builder
gitlist
jquery-ui-draggable
spring-integration-sftp
identification
lightning
context-switch
quicktime
cubism.js
gogs
simevents
omniauth-facebook
deep
tracker-enabled-dbcontext
yajsw
findfirst
false-sharing
ess
dock
lasso
ansi
cryptographichashfunction
packet-sniffers
cbind
create.js
cuba
kissfft
malformedurlexception
cfcache
conditionaltagsupport
high-resolution
light
jammer
kogrid
asdf
merb
chart-director
virtual-pc
device-width
android-loadermanager
tree-balancing
panda3d
database-create
jquery-address
box2d-iphone
ikimagebrowserview
squishit
uideviceorientation
delimited-text
silent
jqueryform
mathematical-notation
sun
firefox-3
lemmatization

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App