开发者

Is there any DLL or DLL like concept in Android?

开发者 https://www.devze.com 2022-12-26 20:45 出处:网络
We know that we can use a concept \"Java Package\", but I just wanted to know whether Android has provided a DLL or DLL like concept where we can write a
  1. We know that we can use a concept "Java Package", but I just wanted to know whether Android has provided a DLL or DLL like concept where we can write a most of the functionality.

  2. Or can we use Activity for 开发者_运维问答serving a purpose of DLL.

Is there any concept like DLL on Android OS? Can we develop a DLL for better modularization and other benefits on Android?

Thanks and Regards, Prashant.


I am not sure why you are specifically looking for DLL. What I realize is that you need something like a library for code reuse. Java Packages (jar files) serve the same purpose of modularization.

If you want to code in C++ look into Android NDK and create a .so file (Linux equivalent for DLL)

May be you are looking for some sort of content provider that can help you with sharing across applications.

0

精彩评论

暂无评论...
验证码 换一张
取 消