i wanted access phone camera on button click event in phone's web browser. there plugin access phone camera if open application in phone's web browser. (with out using mobile app).
what best way achieve functionality in liferay porlet.
this not liferay-specific problem - it's rather web application problem. there plenty of hits if search "html5 camera access" or related terms. stackoverflow has lot of them, e.g. here , here. questions older - in case that's good: html5 got more wide spread , while not might have been supported when question asked, we're lot further along way.
i have no experience integration - i'm suspecting you'll have make use of <portlet:resourceurl/>
in order process of input through ajax when want process results in liferay, on server side. basic problem, accessing image web page, has pure html5 solution, totally independent of liferay.