Back to project page FloatCamera.
The source code is released under:
Apache License
If you think the Android project FloatCamera listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.kenai.camera; /*w ww. j av a 2s .co m*/ import com.kenai.function.message.XToast; import com.kenai.function.mzstore.XMZyanzheng; import android.app.Service; import android.content.Intent; import android.os.IBinder; public class KenaiService extends Service{ CameraService myCameraService; @Override public void onCreate() { super.onCreate(); myCameraService=CameraService.getSingleton(getBaseContext(), null); myCameraService.xCreate(); if(!XMZyanzheng.get_isLawful(getBaseContext())){ XToast.xToast(getBaseContext(), "??????????????"); stopSelf(); } } @Override public void onDestroy() { super.onDestroy(); myCameraService.xDestroy(); } @Override public IBinder onBind(Intent intent) { // TODO Auto-generated method stub return null; } }