3

What is the main difference between .so file and .jar file in android? Is it possible to change using of .so with using of .jar file?

Nininea
  • 2,671
  • 6
  • 31
  • 57
  • http://stackoverflow.com/questions/9809213/what-are-a-and-so-files http://stackoverflow.com/questions/12079230/what-exactly-does-a-jar-file-contain – sUndeep Feb 06 '15 at 08:28

2 Answers2

2

.so are Shared Objects are linked during the runtime. If there are any changes in your .so you dont need to recompile. source

.jar are Java Arhive files -fundamental archive files, built on the ZIP file format. They can contain anything:classes,images,text Wikipedia

Community
  • 1
  • 1
Maky
  • 521
  • 5
  • 21
1

.so files are typically C or C++ libraries, while .jar files are a zip-format archive used for Java.

Also, could you explain the second part more? What do you want to do?

juunas
  • 54,244
  • 13
  • 113
  • 149
  • i need to import so file in my xamarin project. honestly I try to use C4000 china device's barcode reader in xamarin. In documentation second step is : Put libDeviceAPI.so file to the directory \libs\armeabi\. (operation system is android, demo code is written in android studio) – Nininea Feb 06 '15 at 09:13