Use Higher api level featurers in the lower api level devices

I have developed my application by using sdk version 10.In lower version doesn't have the features which is available in the higher version's.Is there any api is available to use the higher level api features in the lower api level devices.

Note: For example we unable to get the camera count in the api level 8, but we can get the details in the api level 9.If we try to use that feature application shows the exception.


That is not possible you need to implment that, or use some compatibility pack to get the functionallity.

But note that not everything is possible to emulate. E.g. the Base64 classes to implement is easy, but it is impossible to add the NFC functionallity to older releases because the needed hardware is missing.

You can simply check the actual android version and build a switch so you won't call any functions that are not aviable to that device. That is possible with the constant android.os.Build.VERSION.

Need Your Help

python struct pack double

python networking struct.pack

I want to convert -123.456 into a C double for network transmission in python. So I tried this:

Rename part of file name based on exact match in contents of another file

linux sed rename file-rename mv

I would like to rename a bunch of files by changing only one part of the file name and doing that based on an exact match in a list in another file. For example, if I have these file names:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.