getenv("TMPDIR") returns NULL . Any suggestions on what a temporary folder is / where to create it?
getenv("TMPDIR")
NULL
As far as I know, there is no global / tmp in Android, you should use a cache .
Use getCacheDir() to get the tmp directory .
getCacheDir()
http://developer.android.com/guide/topics/data/data-storage.html#filesInternal and http://developer.android.com/reference/android/content/Context.html#getCacheDir%28%29
Source: https://habr.com/ru/post/914213/More articles:Is there a way to configure the Maven POM version from the command line? - javasql store, when only a decade / century is known - dateEditing and focusing Java FX 2 cells - javafx-2How to Check if Datatable Null or Nothing - vb.netPostgresql and brackets - operator-precedenceQuick partitioning of a sorted array into two sorted subarrays - c #Quick sort is not sorting correctly - c #random function: higher values โโappear less often than lower - mathConnection reset when receiving a packet in a UDP server - c #how to shift random number generator - c ++All Articles