title: is it possible to see application data from adb shell the same way I see it mounting SD card?
body: <p>I am testing an Android application.<br>
  I would like to keep an eye on the content of       </p>
  
  <pre><code>/sdcard/Android/data/com.myapplication   
  </code></pre>
  
  <p>while the app is running.<br>
  But my app does not work correctly if the sd card is mounted as disk drive on PC (accesses pictures and videos).<br>
  So I thought I could use adb shell. But it doesn't let me access that same folder:  </p>
  
  <pre><code>ls /sdcard/Android/data/com.myapplication  
  /sdcard/Android/data/com.myapplication: Permission denied
  </code></pre>
  
  <p>Looking on Stack Overflow, I found this way to see application data via adb shell:    </p>
  
  <pre><code>run-as com.myapplication
  </code></pre>
  
  <p>and doing so I find myself in the folder  </p>
  
  <pre><code>/data/data/com.myapplication
  </code></pre>
  
  <p>What I'm confused about is that the data I see here are different from the data I see browsing the sdcard content via PC.  </p>
  
  <pre><code>$ ls
  ls
  files
  databases
  shared_prefs
  lib
  </code></pre>
  
  <p>I see under files something that was also under the sdcard Android/data/com.myapplication folder, but not what I was looking for. Besides, all other folders are different.<br>
  Is there a correlation between this </p>
  
  <pre><code>/data/data/com.myapplication
  </code></pre>
  
  <p>folder accessible via adb and the</p>
  
  <pre><code>/sdcard/Android/data/com.myapplication 
  </code></pre>
  
  <p>folder accessible via PC?<br>
  Is there a way to see in adb shell the files present in the latter?</p>