1. Download the #1 Android News App:   EarlyBird - News for Android
    Dismiss Notice

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

Last Updated:

  1. adamhala007

    adamhala007 Member


    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.

  2. Armuro

    Armuro Active Member

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

    adamhala007 Member

    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. "

Share This Page