0

I wish to add lines to a .conf file in the root folder programmatically from my app. My users will have root access, and my app's purpose is to help them edit a .conf file. Suggestions/tutorials?

bunbun
  • 2,595
  • 3
  • 34
  • 52

1 Answers1

0

Editing root files cannot be done without root permission: How to create/write file in the root of the android device?

Your users would have to have rooted devices and give the application root permission.

Community
  • 1
  • 1
Nathan Fig
  • 14,970
  • 9
  • 43
  • 57
  • yeah I saw that, and mentioned that my users would have rooted devices. I want to know how to give my app superuser permissions? Sorry if this is unclear – bunbun Aug 01 '11 at 14:21
  • Ah sorry- missed the bit about root access. Might try this then: http://stackoverflow.com/questions/3653504/android-using-super-user-permissions-allowing-access – Nathan Fig Aug 01 '11 at 14:30