I am a cameraman and I want to make an app for my Moto Droid that will
calculate my depth of field given four inputs. I am literally brand
new to javascript and this programming stuff, so I was wondering if
anyone could help me out.

I have a very basic GUI set up using Droiddraw which allows me to
input my 4 variables, which are:

Focus (@+id/focust)
Focal Length (@+id/flt)
Aperture (@+id/apt)
Circle of Confusion (@+id/coct)

just to get things started, can someone show me how to use these
values to calculate several other values? I would like the app to give
me:

near focus
far focus
hyperfocal point
total depth of field.

Equations for this calculation are located here: 
http://www.dofmaster.com/equations.html

I think I can figure out formatting, calculation buttons, etc. but
coding the actual math is more than a bit confusing...

Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to