A bubble-template approach for assembling Ni-Co oxide hollow microspheres with an enhanced electrochemical performance as an anode for lithium ion batteries.