Android popupMenu for earlier version
<p>What I want to do is I want to use <strong>PopupMenu</strong> when device is later ICS, for earlier version, it will automatically change to <strong>contextmenu</strong>.</p>

<p>It can be controlled by code?</p>
