I have downloaded Application Protection application from market. It allows me to protect to open any application with password.
i.e. 我已保护“Lost Application with Application Protection”。
现在,我开始联系Lost App。 我在Logcat中发现以下记录。
1-start: Intent{ act=android.intent.action.MAIN cat=[android.intent. category. LAUNCHER] flg=0x10200000 cmp=com.android.linkionlost/.Connection Lost } from pid 5746
2-start: Intent{flg=0x10000000 cmp=com.ruimaninfo.approtect/.ui.Screen Locker } from pid 5494
这首先意味着我的申请启动,在plica子保护启动后,它自行开展活动。
因此,我的问题是:
How Application protection(Downlaode from market) know that which package is launched? and As programmer how can we know the same thing?
谢谢。