update eclipse Configuration and MainActivity