1. Download our Official Android App: Forums for Android!

Apps file access

Discussion in 'Android Development' started by alex42, Jul 25, 2010.

  1. alex42

    alex42 Lurker
    Thread Starter
    Rank:
    None
    Points:
    5
    Posts:
    3
    Joined:
    Jul 25, 2010

    Jul 25, 2010
    3
    0
    5
    I'm trying to write an app which is strongly based on somebody else's code (which is in C). This code needs to open two files in order to run. I've put these files in the jni folder, with the native code, but I can't get the code to open them successfully. I suspect that the problem is that I have been unsuccessful at guessing how to write even such a simple relative file path for Android, but I haven't been able to find anything at all about file paths in any resource.
     

    Advertisement

Share This Page

Loading...