I want to programatically change a Sensor name, more specifically, I want to Rename it.
Is it possible to change it’s name, and if so how can I do it?
Because I can change the value “Android.os.Build.Product” by renaming “ro.product.name” in the file “build.prop” in “system” folder. So is there any similar ways to rename the sensor?
I personally can’t see how can be useful to change a Sensor name, but anyway, it’s not possible. The Sensors framework from android can be used only for the following tasks:
You can also refer to the Sensor api docs and see that the only method which uses the name is read only:
getName()and thus, you simply can’t change a Sensor name.