Disguising front camera as regular camera at system level
<p>I am writing an application based on a closed-source SDK which works with regular camera. When there is no camera resource available, the SDK automatically throws an exception and stops any function call. However, perhaps due to negligence, the SDK does not consider the front camera as a valid camera. The developer of this SDK has "noticed the issue and started considering to fix it", but a few months have passed and the problem is still there. </p>

<p>I want to fix it by myself - the application will be only used on Nexus 7 (running Android 4.2), which has only one camera. I presume I can safely do that and it is possible. What is the simplest way to achieve this?  </p>
