This answer may not be directly answering the question. but i am posting it that it may help others to save time.
I needed to do hide the Nav bar completely. Even when user click the screen it should stay hidden.
Nothing of the above worked for me.
I wrote a class after couple of days of googling this topic long time ago. I end up on this class.
UtilsTaskBar.java
I couldn't test it everywhere, but it works on 4.**
NOTE: I used this class for special purpose applications, which is not for typical users.
If you hide the Navigation bar with this class, it wont be shown again till u restart the device or you show it again with same class.
So use it only if you really need it.