G1 camera focal length

by anoop » Fri, 29 May 2009 23:56:35 GMT

Sponsored Links
 I am a graduate student at USC, developing applications based on
Android. Currently, I am working on application development using
camera. I need to know exact focal length of camera on G1 for some of
my calculations. Can anyone point me to correct information site or
data sheet for camera device present on G1 phone ?


Other Threads

1. How to build EditText view like that in Android Market where "X" button appears for clearing text?

I've just been playing around with this solution and it works, sort
of, but feels a little hacky.

I was wondering if this alternative might work:

1. Use a LinearLayout and set the background to be the same
StateListDrawable used by EditText - I can't get this to work, but
then again I'm a newbie when it comes to StateListDrawables.
2. Add an EditText as the first child of the LinearLayout. Set the
background of the EditText to transparent.
3. Add an ImageView as the second child of the LinearLayout. Set the
src to be the "X" drawable.

This has the advantage of not having views on top of each other (where
one provides the image, and the other listens for the events).

Also, if, for example, the text is empty, then we can set the
visibility of the ImageView to GONE, so that the cross is no longer
visible AND the hint text has more space.

If this is a sensible approach, would appreciate some pointers on how
to configure the LinearLayout so its "behaves" like an EditText...


2. Problems updating my app on Android Market and switching to copy protection

I have uploaded an update for my app on Android Market. And at the
same time I have enabled the copy protection of the app. When I
downloaded my the update, there was an exception and the app crashed.
I had to reinstall it. After reinstall it worked fine...

Exception was:
W/zipro   ( 1103): Unable to open zip '/data/app-private/...':
Permission denied
D/asset   ( 1103): failed to open Zip archive '/data/app-private/...'
W/ResourceType( 1103): No package identifier when getting value for
resource number 0x7f090000

Is this a know bug when switching to copy protection? Or is there
another reason this error occured?



3. Can not find my own App in Android Application with G!

4. Publish Android application by mean of a deal from person in US already has the merchant account!

5. change the height of a view on runtime

6. Preference and type

7. How to programmatically disable the soft keyboard?