Android Question Save the Keygenerator key in random access file

Discussion in 'Android Questions' started by shashkiranr, Feb 20, 2015.

  1. shashkiranr

    shashkiranr Active Member Licensed User

    Hi All,

    I am trying to save the generated key from key generator in a random access file. when i retrieve the key its coming as null.

    Any idea how to save and retrieve keys from random access file?

  2. Peter Simpson

    Peter Simpson Expert Licensed User

  3. Erel

    Erel Administrator Staff Member Licensed User

    Why don't you use KeyValueStore class?
  4. shashkiranr

    shashkiranr Active Member Licensed User

    Hi Erel and Peter,

    Thank you for your reply. I am using the keyvalueStore class. I corrected my mistake. I was not saving the key but was saving the key generator as a whole. I corrected it and now it is retrieving from the randomaccess file. :)

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice