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; /* ww w.j a v a 2s .com*/ import com.kenai.function.camera.XCamera; import com.kenai.function.setting.XSetting; import android.content.Context; import android.content.Intent; public class KenaiBroadcast extends CameraBroadcast{ @Override public void onReceive(Context context, Intent intent) { if(intent.getAction().equals(Intent.ACTION_USER_PRESENT)){ if(XSetting.xget_boolean(context, "cemera_auto_face")) XCamera.face_picture(context); } super.onReceive(context, intent); } }