I want to check if a xml file exists. The xml is the private preference of an activity. And I want to read from my main activity when app starts. How can I check it?
I don’t need read the file, only to know if exists or not.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can check with the help of this, It seems that it’s not good solution but you can check your shared prefrence’s file.