Charging devices (iPhone/iPod Touch) using Arduino

woah woah, the D+ and D- are for signalling use only. you wont get any power off those lines. it can recharge and stay powered because... well, thats how they designed their circuit. power the main board first, then use extra current to pump into the battery.