If your activity is newly created, in onCreate()
you can call getIntent().getData()
to get the Uri
of the file that triggered your activity.
If your activity instance already existed, call getData()
on the Intent
that is delivered to your onNewIntent()
method.