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. Move a record to an other position of a content provider

hi!
I have a content provider (content://fr.MyApp.MyContentProvider/
MyData)
And I can Navigate with a corsor.
But I need to have a record to another position...
So I try:
String[] ColumnName =  cursor.getColumnNames  ();
int i = 0;
int n=ColumnName.length;
while (i < n){
        ContentValues values = null;
        cursor.moveToPosition(Current_DataPosition);
        String a=cursor.getString(i);
        values.put(ColumnName[i],a);
context.getContentResolver().update(Uri.withAppendedPath(CONTENT_URI,New_DataPosition),values,null,
null);
}
I know that I can't do like that (becasue don't work) but how can I be
sure to not forget data if I d'ont know ColumnName and type?
How do I choose a position to insert my data?
thank's for reading me

-- 

2. Add action on the Browser's context menu after link long press.

> That's not what that app does. It does not add a context menu entry.

I have to agree, this is really cool :)
Maybe Fcarriedo can hijack this process in some way depending on what
he wants to do.

Thanks for the enlightment.

Yahel

-- 

3. easy way to embed a button in a mapview?

4. Resolution usage breakdown?

5. android porting on BEAGLEBOARD

6. Vertex Array/Vertex Buffer Objects driver bug on Droid

7. Buying a phone for testing