Changeset 227 for cpp/common/nonstd.h


Ignore:
Timestamp:
04/20/14 01:48:23 (10 years ago)
Author:
Maciej Komosinski
Message:

Android compilation and access to RESOURCES and HOME files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/nonstd.h

    r220 r227  
    8181#ifdef __ANDROID__
    8282 #define GET_APP_HOME getAppHome()
    83  #define GET_APP_RESOURCES "./" //w APK trzymamy w katalogu w "assets", bo w "res" nie ma podkatalogow ani odwolywania sie po nazwach
     83 #define GET_APP_RESOURCES "/resrc/" //inside APK, resources are kept in the "assets" subdirectory (in the "res" subdirectory there is no support for subdirectories nor accessing files by name). The prefix /resrc/ is just an indication that lets mfile easily discriminate between HOME (r/w) and RESOURCES (r) locations
    8484#endif
    8585
Note: See TracChangeset for help on using the changeset viewer.