Solar powered wireless webcam

Hello,
I would like to make a bird box that has a wireless webcam attached and transmits to a nearby android tablet.  My problem is how to power the webcam because I cannot have electrical leads trailing around the garden.  Has anyone ever tried to connect a webcam to a solar panel.  What type of panel would be needed?  how would they connect? Is it even possible?
I'm more used to building the actual bird boxes. I haven't a clue about webcams and solar panels, so any advice would be really welcome.
Thanks.