- Added Store Info tab with photos of each campus, the phone number and address. Need to do screen resolution handling, but that's the same for the whole app, so not worth a separate bulletpoint.
- Making the phone number and address clickable was extremely easy. In the XML for each TextView, just add android:autoLink="phone" for phone numbers and android:autoLink="map" for addresses. The former puts the number into the Dialer and allows you to just press send, the other gives you the option of opening the address in Maps or the Navigator. Handy!
- Added a Send Feedback function with user-entered name, e-mail address and comments. It generates the subject on its own based on a Spinner for type of feedback and the supplied name and e-mail address. The comments have an appended line for whether or not the user clicked a CheckBox requesting a response.
- If you try to use Intent.EXTRA_EMAIL with new String("jldomagala@aacc.edu"), the To portion of the generated e-mail will be suspiciously blank. For some reason it accepts this without compiler errors, but unless you style it new String[]{"jldomagala@aacc.edu"}, you won't get what you're looking for, or expect.
- Not programmatical, but apparently my work e-mail address filters out anything with curse words in it. Guess putting in a comment asking 'why does this shitty app not work right?' was a bit too much for it, haha!
- Found a bug in the Hours of Operation calendar with displaying the dates in the proper cells.
- Each month is padded by empty, greyed-out cells that ensure that all the dates fall on the proper day of the week. My test month (December 2010) was displaying properly by pure luck due to the improper calculations.
- Beginning of the month padding went from for
(int i = 0; i < (Calendar.SATURDAY - date.get(Calendar.DAY_OF_WEEK)); i++)
tofor (int i = 0; i < (date.get(Calendar.DAY_OF_WEEK) - 1); i++)
- End of the month padding went from
for (int i = 0; i < (Calendar.SATURDAY - date.get(Calendar.DAY_OF_WEEK)); i++)
tofor (int i = date.get(Calendar.DAY_OF_WEEK); i < Calendar.SATURDAY; i++)
So, all in all a relatively productive day. More nuances and bug-fixing tomorrow.
No comments:
Post a Comment