[Application] set packageId for current app
Merge pull request #289 from xuzhang/dev

[Application] set packageId for current app