Connect to the microcontroller directly from the world. Is this possible?

could you implement a smartphone app which on app startup does this sequence automatically?