You need Explosive Gel, which you pick up from the Batmobile early in the game. Once you have it, cracked walls become shortcuts and hidden routes rather than scenery.
On PS3, the sequence goes roughly like this:
Switch on detective mode with L2.
Find a wall that looks weak or fractured.
Use the left directional button to select the gel.
Hold L1 and R1 to spray it on.
When you want it to blow, press L1 and R2.