Just read the threads in the android development section?
Those will answer all of your questions?
Or just google it?

Is this so hard that you have to open up a new thread for this?
----------------------------------------------------------------------------------------------------------------------------
||
|| LG Optimus 4X HD (P880)
|| Android Version 4.4.4 Kitkat
|| Recovery TeamWin Recovery Project 2.7.0.0
|| Kernel Iodak v10 Beta
|| Rom Version Vanir maintained by Laufersteppenwolf

||
----------------------------------------------------------------------------------------------------------------------------