What the application should do is to save some recording on the device and then show it in a videoView .
This is the java file:
package com.example.cameravideopreview;
import java.io.IOException;
import android.media.CamcorderProfile;
import android.media.MediaRecorder;
import...
This is the content of the file: MainActivity.xml
package com.example.camera_test;import android.os.Bundle;import android.annotation.SuppressLint;import android.app.Activity;import android.content.Intent;import android.hardware.Camera;import android.view.Menu;import android.view.View;import...
Im using Eclipse created new android project.
First thing i added to the menifest xml file two lines:
<
uses-permissionandroid:name="android.permission.INTERNET"></uses-permission>
<uses-permissionandroid:name="android.permission.STORAGE"></uses-permission>
And this is the complete menifest...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.