How do you get past the camera people in hearthome city in Pokemon platinum?

You need to defeat the hearthome city gym leader and get to solacean town.