Moved some methods related wit android API to AndApplication library.