android client for wifi and advertisement control