Help with a shake-flashlight battery charger?

I'm working on a project that uses one of these to charge some batteries for backpacking, ala kipkay. However, I know nothing about electronics and how to make this sort of thing. I understand that the charge rate for the batteries would have to be constant, how do I achieve that?

blkhawk5 years ago