Closed lcasburn closed 10 years ago
A few comments -- I'm happy to see if we can come up with some simplifications for ReceiveFragment (and work on ideas for Receive, too).
Implemented changes to camera and cameraOverlay (commits: 9af003d74f00f6720e5636a915ca1740e2971cf0 and 93546b5a916fae58e00c3c4735f7fd55205913f0 respectively).
We may want to revisit the design of the inner classes to make it easier to connect the components, particularly since ReceiveFragment has grown substantially since it was created initially.
Holding off on changing design of inner classes until some of the other critical issues in milestone 1.0 are completed.
Create transformation matrix whenever the camera parameters are set and reuse it onDraw
. See 8c61fa16768319bac92ea58d0b664d468e4a194d.
Improving control flow of saveMessageAndUpdateProgress
changes are in 52d0d12faebfa5f9050aa980c84f9f77536afb9f.
Fixes error in getRawData
that was thrown when QR Result had more BYTE_SEGMENTS than expected. This was triggered by trying to extract data from QR Result with type URI. I modified this function to extract the raw byte data only when it has TEXT type and also make sure to append all BYTE_SEGMENTS together before returning.
Looks good to me!
Branch ticket-66 is now merged with master.
Ready for code-review on branch ticket-66.