Giter Site home page Giter Site logo

Comments (5)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
This will not work. You can't load dynamic libraries from /sdcard it's mounted 
with permissions to prevent that.

You should create a zip file with this c files and use the Py4A installer to 
install it (if you change the extension to egg then it will automatically let 
you uninstall it later)

For testing purposes I suggest you use adb to push the files into /tmp and load 
from there, that works on some devices

Original comment by [email protected] on 18 Feb 2011 at 5:38

from python-for-android.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
But I was able to load shared libraries from /sdcard.  That's precisely what I 
tested when I copied libc.so over to the same directory as libSDL.so on 
/sdcard/lib.  I can load /sdcard/lib/libc.so, but not /sdcard/lib/libSDL.so.

Now I'm suspecting dependencies.

I will try zipping the dependent libraries together to see if that helps.  
Thanks.

Original comment by [email protected] on 18 Feb 2011 at 5:51

from python-for-android.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
do print libc, I'm quite sure you got the catched libc, you can't load a 
library with teh same name more than once in Android AFAIK.

Original comment by [email protected] on 18 Feb 2011 at 6:12

  • Changed state: Accepted

from python-for-android.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024
python_for_android_r6.apk has a basic file handler, that may simplify managing 
these issues.
I can confirm that Android will not load .so files directly from sdcard.

Original comment by rjmatthews62 on 20 Mar 2011 at 7:08

from python-for-android.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 27, 2024

Original comment by rjmatthews62 on 20 Apr 2011 at 3:47

  • Changed state: Done

from python-for-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.