Finally got the intent to launch from the interface class. Starting to work on the wifi connection.