1. Are you ready for the Galaxy S20? Here is everything we know so far!

How can I decode a file and get its content to my Android app?

Discussion in 'Android Development' started by adamhala007, Jul 18, 2013.

  1. adamhala007

    adamhala007 Lurker
    Thread Starter

    Hi!

    I'm beginner in Android programming and I'm working on an Android app, that connects to a .crl file on the Internet and gets some data from it. I need to be able to decode this file (like the ASN.1 JavaScript decoder) and then use the decoded data.

    My question is, how can I access the decoded data from my Android app? Is there some way to reference the decoded text online? Or is there a way, to include the decoder in my Android app?

    Thanks for helping.
     



    1. Download the Forums for Android™ app!


      Download

       
  2. Armuro

    Armuro Newbie

    To decode the file, you first need to know how the file is encoded...
     
  3. adamhala007

    adamhala007 Lurker
    Thread Starter

    I don't know exactly how is it encoded, but the webpage which contains the ASN.1 JavaScript decoder says "This page contains a JavaScript generic ASN.1 parser that can decode any valid ASN.1 DER or BER structure whether Base64-encoded (raw base64, PEM armoring and begin-base64 are recognized) or Hex-encoded. "
     
Loading...

Share This Page

Loading...