Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

226
Views
¿Cómo obtener la ruta del archivo desde el contenido uri usando la intención del selector?

Cuando selecciono cualquier archivo pdf del almacenamiento y lo abro a través de la intención del selector (Intent_View), quiero obtener la ruta de ese archivo en esta intención.

 override fun onNewIntent(intent: Intent?) { super.onNewIntent(intent) receivedIntent = intent receivedType = receivedIntent?.type if (receivedIntent?.data != null) { receivedUri = receivedIntent?.data!! Log.i("path", "onNewIntent: ${receivedIntent?.data!!}") if (receivedType == "application/pdf"){ findNavController(R.id.fragmentContainerView).navigate(R.id.pdfReader) } else if(receivedType == "application/epub+zip"){ findNavController(R.id.fragmentContainerView).navigate(R.id.epubFragment) } } }
over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!