Initial Commit
New lambtracker database with breeding records
adding print labels into lambing branch
Fixed various branches, deleted old PrintLabels.
Trying to get all the PrintLabels stuff actually in Lambing
Fix LookUpSheep and Lambing to use a try catch to make sure the
SimpleCursorAdapter is available before tryng to clear it on the clear
button.
Fixed crashing TestInterface Designs. Was due to me changing the
lambtracker database design. Also started adding Lambing stuff, got the
help written.
Modified Convert to EID to default the electronic tag to be yellow and
RE and the add non-eid tag portion to be federal, orange and LE to set
for converting the tags on all the 2013 lambs.We are standardizing on
electronic tags in the RE and the other tag (farm or federal depending
on whether the EID is the federal tag too) in the LE.
Fixed bug in ConvertToEid where the flock ID was not being properly
added to the id_info_tabvle when we add a new Federal ID. Hard coded our
flock ID. Must be modified to use a preference that will fill based on
what the "standard" flock ID is.
Start of trying to get 2 simplecursor adapters in the lambing activity
to work properly. It crashes when I add the second one.
Corrected the variables for the from and to of the second cursor adapter
but it still crashes so commented out that part for now.
Got 2 SimpleCursorAdapters working to show the tags and the lambing
history.Only 1 sheep has data for more than 1 year right now.
Added look up of a single lamb from the first lamb ID. Also fixed the
clear button to handle cleaning out all tags and data from both the ewe
and the lamb.
Added code to query info on the first lamb including name and sex buu
haven't yet gotten the display correct. Also need to add looking for the
info for the second and third lamb. Need to also handle no lambs or no
data.
Now finding tags for all 3 possible lambs and dynamically inflating the
layout properly. Now need to add the activity to add a lamb and fill the
database properly. Also need tofix lamb display to only be the current
year lambing.
No longer crashes when you look up a maiden ewe who has no lambing
record.
Modified XML files to incorporate standard bottom button bar of Back,
Clear, Take Note and Help buttons.
Added the top standard button bar to EvaluateSheep2, LookUpSheep and
LambingSheep.
Started adding standard top button bar and places for previous and next
buttons in convertToEID, EvaluateSheep2, LambingSheep and LookUpSheep.
Got convert to EID using the new spinner to select the type of tag to
look for. Still need to test all options and verify I didn't break
anything.
Fixed the back buttons that were crashing. Also disabled all the prev
and next buttons for now. Foudn a few errors in Convert due to the new
button system that are fixed.