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. Ecosnoop, no.. i want SnoopBigbrother

I would like to request an app that is inspired by an app that was
brought to my attention that for the i-phone and i-touch. The app
goes by the name of cosnoop . What I propose is
an app such as igbrother snoop The most uneasy feeling one can
give bigbrother is to identify him, unclothe him, and expose the
robotic works of its control.

creature possibly having many copycats. What I mean is that at 1st it
would be a way for people to record audio, video and photos available
for all to see threw a central location (website) and/or threw the app
itself. For example people can record the vast network of cameras
(shout cameras in England) plotted on google maps to keep the
redundancy down to a minimum. The next evolution in programming this
app would defiantly be in the organization/user categorization of the
collected data. Later there could be a audio/video blogs submitted
threw this of what they witness and/or run-ins with the cops. Those
being harassed can document that and when the opportunity presents
itself can be used to correct the problem. Finally maybe a community
for people to network and collect friends (like minded patriots) to
combine efforts to keep the man in check, safety in numbers.

Please please take this into consideration, Ill be pushing this idea
until it comes true because no is the time. Im not a programmer nor
have the resources to make this happen, im only a good idea waiting to

Thank you for your time.

2. Simple Launching of an app with an Intent


Thanks in advance for the help. I'm both new and trying to launch the
native music player from my application. I've searched and read all
over the mailing list (and web) for help with this. The best I've
managed is to launch the music player to show a list of songs (that
the selection can only be played once without a background service to
keep running):

This opens up to view all the files, but only plays one at a time,
without playlists or continuing to next track
Intent intent = new Intent(Intent.ACTION_GET_CONTENT);

/* The other option I got working is to specifically call the music
player to play one track.
   although this doesn't seem to work well with the emulator, it does
if you have another media player installed with an actual phone
Intent intent = new Intent(Intent.ACTION_VIEW);

What I would like to do is just start the media player with no data to
send it. Ideally just have it bring the user to the normal main
screen, just like you clicked the music icon to start the app.


3. Android development with PHP

4. Google Earth for android, demo on N1

5. How to run Droid in emulator?


7. ServiceConnectionLeaked warning