README.android
changeset 6816 b3d3ef1e15b5
parent 6678 afb9be20f8d2
child 6962 6ce8edb5577b
equal deleted inserted replaced
6815:5fefa916e039 6816:b3d3ef1e15b5
   136 SDL_AndroidGetExternalStorageState()
   136 SDL_AndroidGetExternalStorageState()
   137 SDL_AndroidGetExternalStoragePath()
   137 SDL_AndroidGetExternalStoragePath()
   138 
   138 
   139 See SDL_system.h for more details on these functions.
   139 See SDL_system.h for more details on these functions.
   140 
   140 
       
   141 The asset packaging system will, by default, compress certain file extensions.
       
   142 SDL includes two asset file access mechanisms, the preferred one is the so
       
   143 called "File Descriptor" method, which is faster and doesn't involve the Dalvik
       
   144 GC, but given this method does not work on compressed assets, there is also the
       
   145 "Input Stream" method, which is automatically used as a fall back by SDL. You
       
   146 may want to keep this fact in mind when building your APK, specially when large
       
   147 files are involved.
       
   148 For more information on which extensions get compressed by default and how to
       
   149 disable this behaviour, see for example:
       
   150     
       
   151 http://ponystyle.com/blog/2010/03/26/dealing-with-asset-compression-in-android-apps/
       
   152 
   141 ================================================================================
   153 ================================================================================
   142  Pause / Resume behaviour
   154  Pause / Resume behaviour
   143 ================================================================================
   155 ================================================================================
   144 
   156 
   145 If SDL is compiled with SDL_ANDROID_BLOCK_ON_PAUSE defined (the default),
   157 If SDL is compiled with SDL_ANDROID_BLOCK_ON_PAUSE defined (the default),