How to get the application id in Android?
<p>I need to uniquely identify Android app installed on any Android device. I know that every Android device has unique id and every application is like a Linux user for Android.</p>

<p>But there are cases when two applications can have same userID if they are signed with the same key and are designed to share content.</p>

<p>Is there any way to identify unique id for every application on every android device ? I want to broadcast something based on this unique id and then the application should receive that and act accordingly.</p>

<p>Can we also get the application id / user id via code ?</p>

<p>Thanks in advance !!</p>

<p>Cheers,
Prateek </p>
