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; /*from w w w. j a v a 2s .c om*/ import android.content.BroadcastReceiver; import android.content.Context; import android.content.Intent; public class CameraBroadcast extends BroadcastReceiver { Context context; @Override public void onReceive(Context context, Intent intent) { this.context = context; if(intent.getAction().equals("com.kenai.camera.face")){ context.startService(new Intent(context,CameraFaceService.class)); abortBroadcast(); } if (intent.getAction().equals("com.kenai.camera.take_picture")) { context.startService(new Intent(context, CameraTake_pictureService.class)); abortBroadcast(); } } }