can someone tell me what pocket HAL is I really dont know
Pocket Hal is a "Hardware abstraction layer" which really means that it gives you a uniform library that you can write your code for and it should run on many different devices.
Basically what it does is give you a uniform display and backbuffer area and allows thier rotation as well as creation of surfaces.
There is more to it, but thats its basic functionality.