Re: [android-developers] Nexus bug

2010-01-09 Thread Dianne Hackborn
On Fri, Jan 8, 2010 at 4:16 PM, Jason Proctor jason.android.li...@gmail.com
 wrote:

 it would be really nice if the piece of code that got annoyed said *what*
 had annoyed it!
  otherwise it's can you guess the number Android is thinking of all over
 again.
  #bettererrormessagesplease #soapbox


#patcheswelcome

Though in this case what you will probably find is that the error is
happening down in the HAL for the device's camera, so propagating more
detailed information back up into the Java layer is tricky, which is why it
isn't happening.  Not to say it wouldn't be nice to improve, but probably a
fair amount of effort to do so.

If this is the case, it is also nothing to do with 2.1 but specific to the
Nexus device.  Which is also likely because, as I've said, the 2.1 software
it really very similar to 2.0.1 in all of the generic parts...  and really,
I'll bet there are far fewer differences between the 2.0.1 and 2.1 platforms
than there are between say some version of the platform and one with HTC's
Sense customizations. :}

Anyway, before people jump all over me -- these are all areas we have and
will continue to improve the platform in.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Nexus bug

2010-01-08 Thread Mark Murphy
Matt Kanninen wrote:
 I've found that you have to write firmware and or hardware specific
 camera code.  As such I didn't touch the code inherited that worked on
 every Android handset.
 
 But it doesn't work on the Nexus.  Mind you I saw similar
 setParameters failed errors on other handsets in the logs, but it
 just seemed like the sort of silent error I expect the Android
 framework to make.  Everything worked on the other handsets, it just
 had error messages in the log.  Now it crashes the app.

Could you tell us what is in your Camera.Parameters?

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Training: http://commonsware.com/training
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en