Feb 14 | 9:55 AM |
Mark M. | has entered the room |
Mark M. | turned on guest access |
Feb 14 | 10:20 AM |
Jeff | has entered the room |
Mark M. |
hello, Jeff!
|
Mark M. |
how can I help you today?
|
Jeff |
hi mark
|
Jeff |
one second
|
Jeff |
here I am
|
Jeff |
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)
|
Jeff |
he suggested using EXIF interface so I read your code on it
|
Feb 14 | 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
|
Jeff |
reading your code, it looks like a per device profile is still required, correct?
|
Mark M. |
it is required where it is required :-)
|
Mark M. |
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
|
Mark M. |
so that the resulting image does not have the header, but is already rotated
|
Mark M. |
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
|
Mark M. |
some devices screw up
|
Jeff |
great
|
Jeff |
yea
|
Mark M. |
IIRC, Nexus 7 (2012) improperly codes the EXIF header in landscape
|
Mark M. |
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 :-)
|
Feb 14 | 10:30 AM |
Jeff |
yes, I'm Jeff Drew of brooklyn. I go to the Android meetup usually and my app is gooditron
|
Jeff |
I'll change my name in the chat room
|
Mark M. |
oh, you can use whatever name you want here
|
Mark M. |
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
|
Jeff |
question 2
|
Jeff |
I now want to write cloud sync for my app
|
Jeff |
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
|
Mark M. |
I have never used Google Cloud Endpoints
|
Mark M. |
I have never used AWS from within Android, though I use them a fair bit outside of Android
|
Mark M. |
what are you trying to sync?
|
Jeff |
I just wanted to check for any horror stories before I start - I'll prototype both.
|
Jeff |
images from the camera ;)
|
Jeff |
and some information that goes along with the image
|
Mark M. |
OK, if that's what you want
|
Feb 14 | 10:35 AM |
Jeff |
and your latest source code is in cw-omnibus?
|
Mark M. |
for CWAC-Camera? no
|
Mark M. | |
Jeff |
yes CWAC-Camera
|
Jeff |
thanks - that's all my questions
|
Jeff |
thanks for the help
|
Mark M. |
you are very welcome
|
Feb 14 | 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
|
Mark M. |
the next chat is Tuesday at 4pm US Eastern Time
|
Mark M. |
have a pleasant day!
|
Mark M. | turned off guest access |