Trying to do the sample app which i modified in windows