Thanks for your quick reply !
With root access I mean write/read on a system file (ex : /efs/wifi/.mac.info).
I've tried the code that @Lord_of_the_Galaxy gave but It's obviously not a processing code and does not work with it (probably need some import or code modification that I've absolutely no idea).
never tried that; yet, looking to the linked code i think that it can work, at least for os<5; of course in order to get it running with p5 and android mode 3.XXX there are some changes to make (this code lauches a new activity...); of course also your phone has to be rooted before...Before lolypop 5.0 there was a special permission to declare in the manifest (android.permission.ACCESS_SUPERUSER); now this is deprecated and i dont know if there is a new (dangerous!)"permission" to declare; probably no...
Answers
What is root access? What do you mean with writing on a system file? More details....
Kf
You might want to have a look at this - https://guilleml.wordpress.com/2015/01/21/asking-for-root-in-your-android-app/
Thanks for your quick reply ! With root access I mean write/read on a system file (ex : /efs/wifi/.mac.info). I've tried the code that @Lord_of_the_Galaxy gave but It's obviously not a processing code and does not work with it (probably need some import or code modification that I've absolutely no idea).
Yeah, but it wasn't an actual answer. Just something you might want to look at.
Yes it was very interesting but sadly I haven't actually the knowledge to adapt it for processing.
@akenaton might be able to help you out
@wladimir===
never tried that; yet, looking to the linked code i think that it can work, at least for os<5; of course in order to get it running with p5 and android mode 3.XXX there are some changes to make (this code lauches a new activity...); of course also your phone has to be rooted before...Before lolypop 5.0 there was a special permission to declare in the manifest (android.permission.ACCESS_SUPERUSER); now this is deprecated and i dont know if there is a new (dangerous!)"permission" to declare; probably no...