Code for Android Application for the Basestation