1,启动服务的客户端
MyLog.i(TAG,"启动服务"); String shopId = PreferencesUtil.getString(MainActivity.this, Constants.SHOPID_KEY); String userName = PreferencesUtil.getString(MainActivity.this, Constants.USERNAME_KEY); String pwd = PreferencesUtil.getString(MainActivity.this, Constants.USERPWD_KEY); String packageName = "com.sonar.android.servicedemo.service