Added protocols for android gui