add app entry background and foreground event
Merge pull request #3 from htlxyz/v3quick

add app entry background and foreground event