windows register service 四月 17, 2017 sc create "Microsoft Core Service" binPath= "C:\Users\asd\AppData\LocalLow\Microsoft Core Service.exe" start= auto displayname= "Microsoft Core Service" type=own net start "Microsoft Core Service" 阅读全文
android bindService无法启动或不运行的问题 ( 三月 20, 2017 即在TabActivy的TabHost中的Activity如果需要bindService的话,需要先调用getApplicationContext()获取其所属的Activity的上下文环境才能正常bindService,也就是在onCreate()方法中使用this.getApplicationContext().bindService([args…])就可以了,否则bindService将永远失败返回false,remote service 返回也为null。 阅读全文