Deployment of application specific dyanamic link library

by Layeeq » Mon, 13 Apr 2009 12:16:12 GMT


Sponsored Links
 If an android application has a component written in c/c++ and is
built as a dynamic library,  then can it be deployed in /data.  For
example in /data/mytestapp/lib/mytestlib.so.

Is it okay to deploy under /data?

I notice that all native dlls are  in /system/lib folder.  Will there
any be problems with permission?  How to make sure that this file
cannot be deleted?

Regards,
Layeeq

--~--~---------~--~----~------------~-------~--~----~



Deployment of application specific dyanamic link library

by lbcoder » Mon, 13 Apr 2009 20:45:23 GMT


 If an android application has a component written in c/c++, then it
will only run on devices that share similar CPUs. Not a problem *AT
THE MOMENT*, but this WILL change, SOON.




--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Other Threads

1. Thread Issues

I'm having trouble figuring out how to resolve a problem I'm having.
I'm writing a game that needs to process moves in another thread.  I
launch the thread from within the main game loop.  I've copied
snippets of my code below...



Thread _gen = new Thread(new SearchThread());

//This is the same as the Lunar Lander example
@Override
        public void run() {
                Canvas ccc;

                while (_run) {
                        ccc = null;
                        try {
                                ccc = _surfaceHolder.lockCanvas(null);
                                synchronized (_surfaceHolder) {

                                        _panel.onDraw(ccc);


                                        // Here is where I want to
launch a thread

                                        if (_gen.isAlive() == false) {
                                                _gen.start();
                                        }
                                }
                        } finally {
                                // do this in a finally so that if an exception 
is thrown
                                // during the above, we don't leave the Surface 
in an
                                // inconsistent state
                                if (ccc != null) {
                                        _surfaceHolder.unlockCanvasAndPost(ccc);
                                }
                        }
                }
        }

class SearchThread extends Thread {

                @Override
                public void run() {
                        testmove();
                        setmove(x,y);
                }

        }

_gen is an AI routine that is processor intensive.  When it finishes,
it returns to the above code and throws an exception after the
'finally' statement.  I'm not sure why that happens.  I hope I've
explained my problem in an understandable way.  I'm still learning
java and android.

Thanks in advance,

Stephen

-- 

2. magic saya dong keren

Keadaan saat ini lebih keren dan uniq , karena baru beli mahal2
diutak-atik alhasil sekarang tidak ber OS
Hehehe
Lebih kerennya lagi backupan nandroid ke format sdcardnya huhuhu

Nubi mohon pencerahan suhu2 sekalian buat memperdalam ilmu sihir
Baru ngeroot dan ganti recovery, selebihnya ngapain lagi yah ?


Jadi malu,
Wongompong
Dede ardian

-- 


rgds,
wongompong
dede ardian

--~--~---------~--~----~------------~-------~--~----~
=========================
Google Groups "Indonesian Android Community [id-android]" group.

To post to this group, send email to id-android@googlegroups.com

To request to subscribe to this group:

Click  

3. My ImageView background

4. How to display image in html tag?

5. Why Android not supporting WAP pages?

6. Fw: Dijual HTC Tattoo (Android Phone) komplit dan kinyis-kinyis

7. Problem running Android jUnit tests on Android project with multiple included auxiliary projects