googlearchive / android-Camera2Video

Migrated:
https://github.com/android/camera
Apache License 2.0
1.21k stars 569 forks source link

Where is the video file getting stored? #94

Closed sandy124356 closed 5 years ago

sandy124356 commented 5 years ago

Hi I am new to Android. I just set up and ran this in simulator, i want to know where the video is stored? Can i check in computer or its available only in the emulator phone? Please let me know the path where i can go and play..

Also, I tried connecting my Huawei Honor 9N phone through USB... set developer options and USB debugging modes ON.. , but still i am not able to see my phone available to run this app in my phone.. Please suggest. (when i am using the Assistant troubleshoot option, there are 3 steps... step1: i can see my phone under "android studio detected following USB devices connected to " step 2: Enable USB debugging. (done) step3: Restart ADB.. done no use.. still

Please help.

himeshmyk commented 5 years ago

Hello, you should see the recording in the Android folder of your phone or of the emulator's Android SDK storage. /storage/Android/data/com.example.camera2video

ZhangXinNan commented 5 years ago

I found the recorded video from 'adb shell'

hero2qltechn:/ $ ls -lh /storage/emulated/0/Android/data/com.example.android.camera2video/files/                                            
total 2.1M
-rw-rw---- 1 u0_a151 sdcard_rw 4.3M 2019-06-10 16:36 **1560155758428.mp4**

but I can not find this video by other ways.

codingjeremy commented 5 years ago

This sample has been migrated to a new location (check README for more information).

As recommended by GitHub, we are closing all issues and pull requests now that this older repo will be archived.

If you still see this issue in the updated repo, please reopen the issue/PR there. Thank you!