Running app

Do i have to be connected to the internet if i want to run my app or i can run it offline?