add support for multiple devices

suport for gingerbread