Is there a concept like DLL in Andoirds?

by Prashant Shelar » Fri, 16 Apr 2010 14:01:49 GMT

Sponsored Links

I know that we can use a concept "Java Package" but I just wanted to
know that whether Android has provided a DLL concept where I can my
most of the functionality.

Is there any concept like DLL on Android OS?

Can we develop a DLL for better modularization and other benefits on

Thanks and Regards,


Is there a concept like DLL in Andoirds?

by Kitzy » Sat, 17 Apr 2010 01:30:37 GMT

 You can create libraies in C/C++ and share them with your
applications. Look at the NDK to see if that may help. 



Sponsored Links

Is there a concept like DLL in Andoirds?

by Indicator Veritatis » Wed, 21 Apr 2010 07:03:57 GMT

 So the short answer to his original question, whether or not there is
a 'DLL concept' in Android, is 'no'.

If he really wants to, he can use the NDK as you suggest, but that
sounds like a lot of custom work for trying to support a C/C++
paradigm in a Java world, an approach that is likely to offer more
pain than profit. Android is based on Java, it is only to be expected
that the Java way will be more natural.

> >

Is there a concept like DLL in Andoirds?

by Kitzy » Thu, 22 Apr 2010 22:43:08 GMT

 If you download the NDK and look at the examples, it really isn't that
difficult to add a library.  In fact, it is recomended to place any
mathmatical processes into c/c++ code rather than java to speed up

Once you have the c library, you can drop the file into your android
lib directory on any of your projects and it will be compiled into you


> > >

Other Threads

1. Sending some data when requesting XML

I have been using this code to parse some XML data from a specific
server :

URL url = new URL("");
                URLConnection conn = url.openConnection();
            InputStream is = conn.getInputStream();
 Xml.parse(is, Xml.Encoding.ISO_8859_1, new ExampleHandler(myAdapter,

Now I was wondering can I add a String or something to this request so
that, for example, I might be supplying the device's unique ID to this
request for the XML file ?
So I don't just want to parse the XML but I also want to send along a
Thanks in advance !


2. changing the current date/time


I'm now trying to change the current date and time of the device. I
know that it comes from the network, but some users like to
synchronize the clock with their server's clock, even if it differs.

Can this be done programatically, not being a superuser?




3. Unable to update gui

4. Layout Design Question

5. Activity does not close on back key

6. Emulator takes too much time to show up - any solution?

7. ViewFlipper.showNext() not working in timer