Android Open Source - FloatCamera Kenai Service






From Project

Back to project page FloatCamera.

License

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.

Java Source Code

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;
  }
}




Java Source Code List

cc.kenai.mainlib.face.XFace.java
com.kenai.camera.CameraBroadcast.java
com.kenai.camera.CameraEnv.java
com.kenai.camera.CameraFaceService.java
com.kenai.camera.CameraPreview.java
com.kenai.camera.CameraService.java
com.kenai.camera.CameraTake_pictureService.java
com.kenai.camera.CameraTime.java
com.kenai.camera.KenaiActivity.java
com.kenai.camera.KenaiBroadcast.java
com.kenai.camera.KenaiService.java
com.kenai.camera.PushMessageReceiver.java
com.kenai.camera.StatebarService.java
com.kenai.function.camera.XCamera.java