Is there any DLL or DLL like concept in Android?

2019-06-20 08:59发布

  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.

标签: android dll
1条回答
地球回转人心会变
2楼-- · 2019-06-20 09:39

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.

查看更多
登录 后发表回答