tag:blogger.com,1999:blog-89878749563391212.post4660608964876493020..comments2024-03-25T17:53:11.127-07:00Comments on Android-er: A simple exercise of Video Capture using MediaRecorderUnknownnoreply@blogger.comBlogger38125tag:blogger.com,1999:blog-89878749563391212.post-21953702697951730692015-12-22T02:46:52.279-08:002015-12-22T02:46:52.279-08:00Hello,
I want to use video recorder without c...Hello,<br /> I want to use video recorder without clicking on Button means I want start video recording when we call activity. Please tell me how can we do that?Anonymoushttps://www.blogger.com/profile/09534336849090180832noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-41467612132119731242015-08-18T21:16:43.729-07:002015-08-18T21:16:43.729-07:00Hello I doing my apps which is CCTV application.
i...Hello I doing my apps which is CCTV application.<br />i need to insert live streaming cctv (nvr, ahd)<br />then it can be record the video, capture, playback. I hope you can help me.<br />Thank youAnonymoushttps://www.blogger.com/profile/10250443437294928586noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-30259658774054872402015-05-31T03:08:12.744-07:002015-05-31T03:08:12.744-07:00How to compress video size without ffmpeg.<b>How to compress video size without ffmpeg.</b>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-80723404404990871482015-03-12T12:34:32.239-07:002015-03-12T12:34:32.239-07:00hello mostafa Hussien,
sorry, I also lost the fil...hello mostafa Hussien,<br /><br />sorry, I also lost the files.<br /><br />Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-21820367707163444402015-03-11T18:27:06.380-07:002015-03-11T18:27:06.380-07:00hello sir i am trying to built an app to streaming...hello sir i am trying to built an app to streaming live video from my laptop camera and send the video to mobile or desktop ...... can you help me plz :)Anonymoushttps://www.blogger.com/profile/02816806893708787080noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-64862466237423958772015-03-11T18:23:06.566-07:002015-03-11T18:23:06.566-07:00The "download file" link doesn't wor...The "download file" link doesn't work.<br /><br />Please upload the source again.<br /><br />ThanksAnonymoushttps://www.blogger.com/profile/02816806893708787080noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-87277074755861645082013-09-20T18:25:26.511-07:002013-09-20T18:25:26.511-07:00@Vinodkumar N.V you need to give diferent names to...@Vinodkumar N.V you need to give diferent names to your files, if you are only using setOutPutFile("/sdcard/myvideo.mp4")<br />all your videos will go to that direction, and will overwrite your already existing files, you need to give a diferent name every time, you can try with this:<br /><br />private String file = Environment.getExternalStorageDirectory.getAbsolutePath()+ "/Video_" + System.currentTimeMillis() + ".3gp";<br /><br />setOutputFile(file);<br /><br />you give the current time in millis as name, and now you can storage many videos as you want, you can try to put custom names to your files tooAnonymoushttps://www.blogger.com/profile/10647243537873589050noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-86892286440763792582013-07-29T05:54:20.427-07:002013-07-29T05:54:20.427-07:00Hi..i used this code.....All videos is not storing...Hi..i used this code.....All videos is not storing properly...the new one is replacing the old video.....plz let me know..<br />Anonymoushttps://www.blogger.com/profile/04608455614032952382noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-2728038792925249602013-03-22T06:28:10.298-07:002013-03-22T06:28:10.298-07:00Hello Android Er,
I am working on a project in wh...Hello Android Er,<br /><br />I am working on a project in which i am putting one android phone to my robot which will send all it have in its camera view to another mobile via bluetooth, so that it can control the robot, i m really confused from where to start with.. I have made an app to control robot via bluetooth, now i need help for live video streaming...could u help me pls...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-34396005123037174522012-06-12T12:21:12.763-07:002012-06-12T12:21:12.763-07:00please note: This exercise cannot run on Android 2...please note: This exercise cannot run on Android 2.3 and higher, refer <a href="http://android-er.blogspot.hk/2011/10/simple-exercise-of-video-capture-using.html" rel="nofollow">A simple exercise of Video Capture using MediaRecorder, for Android 2.3 or higher for updated version</a>.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-71781240645791116812012-06-12T11:38:23.499-07:002012-06-12T11:38:23.499-07:00hello sir,
i try to make this example, but ican ru...hello sir,<br />i try to make this example, but ican run on my android phone(galaxy pocket)<br />it's said "the application cameraexam(proses com.camera.exam) has stopped unexpectedly.<br />please try again<br />FORCE CLOSED<br /><br />n when i try in my eclipse it appear long cat many times<br /><br />what should i do sir ?RNdohttps://www.blogger.com/profile/11935032528255420416noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-74152189160133224892012-04-18T02:14:46.777-07:002012-04-18T02:14:46.777-07:00Hello, Thank you for this code.
But i want to now ...Hello, Thank you for this code.<br />But i want to now if it's possible to use it for IP camera either then the intergreted camera?ensi_nanouhttps://www.blogger.com/profile/13794203532002662693noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-77308671964422911932012-01-30T20:52:53.691-08:002012-01-30T20:52:53.691-08:00hi i found a solution you have to use a surfacevi...hi i found a solution you have to use a surfaceview to capture the video and extends the surfaceholder.callback methos.....check it working....pratikhttps://www.blogger.com/profile/03380920441946973044noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-22280661316902192512012-01-24T05:01:36.245-08:002012-01-24T05:01:36.245-08:00thanks for this example...!!
But can you help me i...thanks for this example...!!<br />But can you help me in one problem..??<br />I want to store the captured video at different location rather at its default location..<br />But it is not working...<br /><br />I have tried with..."setOutputFile()" method but not getting a result...<br />It stores the video at its default location only...<br />Pls Help me...??pratikhttps://www.blogger.com/profile/03380920441946973044noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-2402938298200322722011-10-24T03:16:49.174-07:002011-10-24T03:16:49.174-07:00hello chilltime,
Thanks for your comment, I re-te...hello chilltime,<br /><br />Thanks for your comment, I re-test it on Nexus One running 2.3.6, it cannot work as before!<br /><br />Now the updated version is here: <a href="http://android-er.blogspot.com/2011/10/simple-exercise-of-video-capture-using.html" rel="nofollow">A simple exercise of Video Capture using MediaRecorder, for Android 2.3 or higher</a>.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-48947203224919475192011-10-21T14:20:42.702-07:002011-10-21T14:20:42.702-07:00bhavna,
Mine was working fine until i tried it on...bhavna,<br /><br />Mine was working fine until i tried it on 2.3, and on preview it shows a blank screen, its been pissing me off, I also try to implement a flash light while my video is recording but it crashes. when i start recording if the flash light is on, any help will suffice.<br /><br />Here is my flash light code when I press the button. <br /><br />Button flash = (Button) findViewById (R.id.flash);<br /> flash.setOnClickListener(new Button.OnClickListener(){<br /><br /> @Override<br /> public void onClick(View arg0) {<br /> // TODO Auto-generated method stub<br /> if(camera == null){<br /> camera = Camera.open();<br /> parameters = camera.getParameters();<br /> parameters.setFlashMode(Parameters.FLASH_MODE_TORCH);<br /> camera.setParameters(parameters);<br /> <br /> }else{<br /> parameters.setFlashMode(Parameters.FLASH_MODE_OFF);<br /> camera.setParameters(parameters);<br /> camera.release();<br /> camera = null;<br /> }<br /> <br /> }});<br /><br />I tried putting it in my on surface create method but that doesnt help.chilltimehttps://www.blogger.com/profile/11509482673432914888noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-81511940295893240822011-10-20T09:53:28.180-07:002011-10-20T09:53:28.180-07:00hello bhavna,
do you want to start doing somethin...hello bhavna,<br /><br />do you want to start doing something using Android code, from webpage. Refer the article: <a href="http://android-er.blogspot.com/2011/10/run-android-java-code-from-webpage.html" rel="nofollow">Run Android Java code from Webpage</a>.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-70626056773963080092011-10-20T02:59:10.850-07:002011-10-20T02:59:10.850-07:00hello Chilltime,
I didn't got blank screen in...hello Chilltime,<br /><br />I didn't got blank screen in preview,,, my videoRecording application is working f9....bhavnahttps://www.blogger.com/profile/09872997194646965641noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-48385294862276150552011-10-20T02:57:18.922-07:002011-10-20T02:57:18.922-07:00friends,,
I have a new topic to discuss hope u hel...friends,,<br />I have a new topic to discuss hope u help me,,,<br />Well in my android application i opened a html page using WebView. <br />My html page containing Create video Button,,, <br />Now I want that when i click that button it takes the path of video file stored in sdk i.e in .mp4and uploads its,,,<br /><br />Hope my problem is clear to u,,,,now suggest something,,,,<br /><br />I think addJavaScriptInterface method is used here,,,,,bhavnahttps://www.blogger.com/profile/09872997194646965641noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-46346630690213398862011-10-18T14:59:30.412-07:002011-10-18T14:59:30.412-07:00bhavana did you solve the problem of the black scr...bhavana did you solve the problem of the black screen on preview?chilltimehttps://www.blogger.com/profile/11509482673432914888noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-35390154087356533642011-10-03T21:08:54.392-07:002011-10-03T21:08:54.392-07:00well at last,,, my target is completed.
it looks ...well at last,,, my target is completed.<br /> it looks very easy now,,,,,,bhavnahttps://www.blogger.com/profile/09872997194646965641noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-13807716268111856142011-10-01T00:27:43.464-07:002011-10-01T00:27:43.464-07:00hello Mr.Android Er,
thanks for the reply, actuall...hello Mr.Android Er,<br />thanks for the reply, actually sir my application is not working on real device i.e samsung Galaxy.<br />I know that we have to check this application on real device it can't run on emulator.<br />well sir its my request to u if u have its original source code which is working truly than send to my mail id i.e bhavnavrma@gmail.com.<br />I have an Programming Android book of O'REILLY.<br />its code also not working,, feeling like looser now..<br /><br />thanks ,<br />bhavnabhavnahttps://www.blogger.com/profile/09872997194646965641noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-37012913444148759872011-09-30T10:30:21.280-07:002011-09-30T10:30:21.280-07:00hello bhavna,
pls. try Chilltime suggestion.hello bhavna,<br /><br />pls. try Chilltime suggestion.Erikhttps://www.blogger.com/profile/04983894331825656853noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-63126949823669363872011-09-30T06:20:48.913-07:002011-09-30T06:20:48.913-07:00hi,,
ts code is not working on android 2.2.
I donn...hi,,<br />ts code is not working on android 2.2.<br />I donn't knw whr i had done a mistake plz suggest me :-(bhavnahttps://www.blogger.com/profile/09872997194646965641noreply@blogger.comtag:blogger.com,1999:blog-89878749563391212.post-59972609996226418072011-09-30T06:19:08.486-07:002011-09-30T06:19:08.486-07:00Sir ,
this code is not working on real device.
plz...Sir ,<br />this code is not working on real device.<br />plzz suggest me if u have my answer?<br />/******its gives force close on android 2.2 devicebhavnahttps://www.blogger.com/profile/09872997194646965641noreply@blogger.com