1. Check out our companion app, Forums for Android! Download from Google Play

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

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

  1. adamhala007

    adamhala007 Member
    Thread Starter
    5

    Jul 18, 2013
    6
    0
    5
    Male
    Slovakia
    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.
     

    Advertisement

  2. Armuro

    Armuro Active Member
    36

    Jul 15, 2013
    30
    8
    36
    Ph.D. Candidate
    Michigan
    To decode the file, you first need to know how the file is encoded...
     
  3. adamhala007

    adamhala007 Member
    Thread Starter
    5

    Jul 18, 2013
    6
    0
    5
    Male
    Slovakia
    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

Loading...