Office Hours — Today, February 14

Yesterday, February 13

Feb 14
9:55 AM
Mark M.
has entered the room
Mark M.
turned on guest access
10:20 AM
Jeff
has entered the room
Mark M.
hello, Jeff!
how can I help you today?
Jeff
hi mark
one second
here I am
2 questions
Mark M.
there you are
Jeff
1 on the camera
Mark M.
go ahead
Jeff
I asked an Android developer advocate about the camera just to make sure I wasn't doing more than I had too(aka something stupid)
he suggested using EXIF interface so I read your code on it
10:25 AM
Mark M.
that code changed, dramatically, in 0.6.0
Jeff
my question is whether EXIF gives enough information to skip doing per device profiles
reading your code, it looks like a per device profile is still required, correct?
Mark M.
it is required where it is required :-)
rotation-related device profile stuff is now mostly gone
Jeff
oh
Mark M.
courtesy of the improved EXIF support
Jeff
I'll read that code
Mark M.
I adopted Google's EXIF code from their MMS support in the AOSP messaging app
Jeff
so using EXIF information, you can tell whether the image is properly rotated (not upside down)?
Mark M.
I'd phrase it more as that CWAC-Camera will apply the EXIF headers and rotate the image
so that the resulting image does not have the header, but is already rotated
for better compatibility with viewers that do not honor the EXIF headers
Jeff
OK, but not based on device specific information? it's Exif information?
Mark M.
mostly, yes
some devices screw up
Jeff
great
yea
Mark M.
IIRC, Nexus 7 (2012) improperly codes the EXIF header in landscape
so I have fixups based on that, driven by device profiles
Jeff
thanks
Mark M.
(which are now mostly in XML resources, per our previous discussion)
Jeff
excellent!
Mark M.
(assuming you're the Jeff that I had that previous discussion with :-)
10:30 AM
Jeff
yes, I'm Jeff Drew of brooklyn. I go to the Android meetup usually and my app is gooditron
I'll change my name in the chat room
Mark M.
oh, you can use whatever name you want here
it's just that "Jeff" is generic enough that I have to be a bit careful about assuming that all Jeffs are one and the same
Jeff
thanks but I think anonymity is confusing the good guys
question 2
I now want to write cloud sync for my app
I want to use some library. I think Google Cloud Endpoints and AWS's SDK look best. Do you know of any big problems with either of those?
Mark M.
um
I have never used Google Cloud Endpoints
I have never used AWS from within Android, though I use them a fair bit outside of Android
what are you trying to sync?
Jeff
I just wanted to check for any horror stories before I start - I'll prototype both.
images from the camera ;)
and some information that goes along with the image
Mark M.
OK, if that's what you want
10:35 AM
Jeff
and your latest source code is in cw-omnibus?
Mark M.
for CWAC-Camera? no
Jeff
yes CWAC-Camera
thanks - that's all my questions
thanks for the help
Mark M.
you are very welcome
11:00 AM
Mark M.
that's a wrap for today's chat
Jeff
has left the room
Mark M.
the transcript will be posted to http://commonsware.com/office-hours/ shortly
the next chat is Tuesday at 4pm US Eastern Time
have a pleasant day!
Mark M.
turned off guest access

Yesterday, February 13

 

Office Hours

People in this transcript

  • Jeff
  • Mark Murphy