Closed GoogleCodeExporter closed 8 years ago
Original comment by ram8...@gmail.com
on 21 Mar 2012 at 12:50
Original comment by ram8...@gmail.com
on 21 Mar 2012 at 12:57
- Project update: Added a host of files including the major CodeCaptureActivity
that will scan and interpret a QRCode. On the other end, my code now takes a
Find's GUID, Time of creation, Name, Description, Longitude and Latitude
information and encodes it as a QRCode. I have attached screenshots of a QRCode
created by the plugin and also a screenshot of the POSIT barcode viewfinder in
action.
- At this point, working on the logic to follow this flow:
- User creates find as normal, background barcode identified by guid is saved
- User is able to pull up barcode when needed
- Another user can focus his/her posit app on the barcode created by first user
and add the find without having to re-enter.
- Will also need to watch for updating barcodes when the find is edited or
deleted.
Original comment by festb...@gmail.com
on 21 Mar 2012 at 1:35
Attachments:
Original comment by festb...@gmail.com
on 21 Mar 2012 at 1:50
Attachments:
Completed the coding to:
- create a QRcode from a Find
- decode a QRcode (created in POSIT) into a Find and allow for saving.
Tested QRcode apk on my Samsung Galaxy Tablet as well. Pictures below.
I have also attached my exported application (positx.apk) for anyone interested
in seeing how it works.
Test Script (For creating a Find + QRcode)
- Open POSIT
- Choose Add Find
- Enter Name and Description
- Save
Expected Result: A QRcode will flash across the screen showing that the QRcode
has been created.
Test Script (For viewing a Find + QRcode)
- Open POSIT
- Choose View Finds
- Scroll down to the Find you just created (or any other find for that matter,
will explain this)
- Open it up and select View Barcode
Expected Result: The QRcode will show up in full screen
Test Script (For decoding QRcode + making Find)
- Open POSIT
- Choose Add Find
- Go into the Options menu on this view and choose "Scan Barcode"
- Holding the device horizontally (for best performance), focus the QRcode (ive
attached one for a test) and wait for the viewfinder to decode it
Expected Result: The details of the Find will be added to the Add Find fields
and you can save it. Of course, the QRcode will flash across the screen
N.B: At this point, every Find that has ever been created in POSIT can be
instantly translated to a QRcode using the View Barcode button. This would sort
of let other POSIT devices save information instantly. Another thing is that
the barcode is NOT stored on the device, just created when needed based on its
information.
Will still need to fix up documentation, further bug checking and any other
things that may be suggested.
Original comment by festb...@gmail.com
on 28 Mar 2012 at 7:55
Attachments:
working on patch to fit into the most recent code atm
Original comment by festb...@gmail.com
on 29 Mar 2012 at 1:21
[deleted comment]
[deleted comment]
Uploaded updated patch for barcode scanner
Original comment by festb...@gmail.com
on 31 Mar 2012 at 6:22
[deleted comment]
Just found out about Droid@Screen that lets you record your android screen on a
PC so did a video demo of my barcode functionality!
Original comment by festb...@gmail.com
on 1 Apr 2012 at 9:17
Attachments:
Hi Yemi,
This all looks good. I'm going to test the patch now. It would great if you
could copy the write ups you've posted, with the screenshots and video, and
post on the Wiki as documentation for the Plugin. Here's where to post it:
http://code.google.com/p/posit-mobile/wiki/PositxArchitecture
Original comment by ram8...@gmail.com
on 5 Apr 2012 at 11:24
Works great. I was able to create barcodes from existing finds and able to
create a new find from the barcode posted on the web.
One possible issue: When I scan a non-Posit barcode, the app reports "The
application POSITx has stopped unexpectedly. Please try again." And it causes
a "force close". When you force close, it just goes back to PositMain and the
app continues running without issue. So i think it would be better to detect
the invalid (non-Find) barcode here and just report it as invalid and let the
user continue.
Also, I see that the new plugin folder, plugin.barcode, contains all (or
mostly) ZXing source code. I think it would be better to package this as a
library (jar file) and add it to the library rather than including the source
code. Can that be done?
Original comment by ram8...@gmail.com
on 5 Apr 2012 at 12:06
[deleted comment]
- Ive added my plugin to the POSITArchitecture in the Wiki:
http://code.google.com/p/posit-mobile/wiki/BarcodePlugin
- Ive also fixed the non-Posit barcode issue and uploaded a new patch for that
- I will work on refactoring the code so its connected to a Zxing jar. There
are actually a bunch of files i took from the zxing source code and re-edited
in compliance with their license because the zxing functionality was too bogus
for my purposes. but ill see if i can fix it
Original comment by festb...@gmail.com
on 5 Apr 2012 at 1:28
Attachments:
[deleted comment]
[deleted comment]
[deleted comment]
[deleted comment]
newly uploaded patch
Original comment by festb...@gmail.com
on 7 Apr 2012 at 7:20
Attachments:
Unforced errors in previous V4, missing some functions and plugin_preferences
edits. fixed in V5
Original comment by festb...@gmail.com
on 11 Apr 2012 at 12:45
Attachments:
patch to take dependency off interior R.java.
Original comment by festb...@gmail.com
on 12 Apr 2012 at 12:11
Attachments:
Yemi's UCOSP project implemented this enhancement.
Original comment by ram8...@gmail.com
on 4 May 2012 at 3:37
I can be reached for questions on my project anytime at festburn@gmail.com .
Ill do my best to reply speedily.
Original comment by festb...@gmail.com
on 4 May 2012 at 11:57
Original issue reported on code.google.com by
festb...@gmail.com
on 23 Feb 2012 at 11:03