I am using only one project to port lite and full versions for that I am just updating Manifest file package names.
My project structure is like this
My Ap
String packageName = this.getClass().getPackage().getName();
will work definitely.