Originally Posted by malani_manish
Thing is I want to make my build compatible with devices having 4.0 is there any work around for these APIs in 4.0?
Specifically, HomeScreen was included in 4.1, so you are out of luck on 4.0 devices. hideSource was in 4.2 so that would also be a no.
Sometimes, one is able to write code that implements the same function as something provided in a later API, but when it comes to manipulating the state of RIM applications this is rarely the case.