G
GuestK00178
Guest
Ive been trying to get this implemented for awhile now but havnt had any luck. Lets say you added a line to the build.prop in a rom and needed a value to it changed with a toggle. So, when a user pressed a toggle, it would switch from value (0) to (1). Would this be formated in a PreferenceManager? "Not the greatest in java yet"
BuildProp.setProp("qemu.hw.mainkeys", "0");
BuildProp.setProp("qemu.hw.mainkeys", "1");
I'm not really sure what you're asking, but if you want a toggle you might want to wait for the next update. I think I've got getProp working without root (finally) but I haven't had time to test it yet.
Also, you will have to reboot for the softkeys to toggle.
Sent from my Galaxy Nexus