I am creating Database it runs perfectly. I can access database on simulator but can’t on real device. Anybody can help me how can i get root rights to access data folder when running app on real device?
Share
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 don’t provide enough detail about where you are writing your database files. It sounds like you are trying to write to an area you are not allowed. You shouldn’t get root access. The easy thing to do is save in your app’s private area. You can also try external storage.