A relay device that relays a message transmitted from a terminal device to a server through a communications network. The image capture device may take pictures and the mobile device may determine whether the pictures contain a readable code, such as a QR Code or foreign text. The battery does not need to be dismantled and taken out when charging, so that the charging becomes simple and easy to be operated.