title: How to run (not only install) an android application using .apk file?
body: <p>Is there any command on <code>cmd.exe</code> that would allow me to start the main activity of a particular android application using the <code>.apk</code> file of that application. Please note that I know this command which only installs an android application:</p>
  
  <pre><code>adb install myapp.apk
  </code></pre>
  
  <p>This command will only install <code>myapp</code> onto the emulator and I have to manually run this application from the emulator (by performing single click on its icon). </p>
  
  <p>What I want to do is use a command which not only installs the application but also starts its main activity (please note that I have only its <code>.apk</code> file so I don't know what the package name or any activity name is).</p>