A 34-year-old man was injured after an explosive device detonated in a backpack in Philadelphia's Kensington neighborhood.