I have an application which detects at runtime which OS the device supports and perform some operations. The problem I am facing is as follows:
If the OS detected is 4.2 I want to use File API (which is not available in 4.1) so the problem comes in compilation as the application will not compile with 4.1 and I do not want o compile with 4.2.
Is there any way such problem can be resolved. thanks in advance for any hints you can give me.