Is there a concept like DLL in Andoirds?

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


Sponsored Links
 Hello,

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
Android?

Thanks and Regards,
Prashant.

--



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.

 http://developer.android.com/sdk/ndk/index.html 

-Kitzy



>


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
processing.

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
APK.

Sincerely,
-Kitzy





> > >



Other Threads

1. How to prevent animation when starting new task?

Hi,

I have the same issue as you but did not find any solution either :( .

In my case i use a TabHost where each tab has its own activity and at some
point i need to switch to another tab from one tab activity. As it is not
possible to do that from a tab activity, the best way i found is to restart
a new instance of the tabactivity and to finish the current one (ugly i
know...). I specified the NO_ANIMATION flag as well with no success, i still
have a animation.

Thierry.


2010/3/5 greenrobot <kont...@greenrobot.de>

> 

2. How to prevent GLSurfaceView destruction

Hi list,

I am currently porting a 3D app on Android. This app consists of a 3D view
(embedded in a GLSurfaceView) and of menu screens (for settings, search ,
etc.).

My main activity is the one containing the GLSurfaceView. It's always the
root of it's task. The problem is that my GLSurface gets destroyed whenever
I launch another activity and all the GL objects (VBOs, textures) that I
created in the GL context get deleted/invalidated along. So whenever my
users go in the menu, the 3D scene has to be fully reloaded. Wouldn't there
be a way to prevent the surface's destruction ?

Thanks for any help.

Florent.

-- 

3. What is <protected-broadcast> in android manifest file?

4. Stopped unexpectedly on a real phone but not on the simulator

5. Tool to synchronize String properties betweens differents languages

6. EditText uncontrollable/unpredicatable soft keyboards

7. Activity restart crash after OS kills it