Definition at line 33 of file AndroidUtil.java.
◆ getPackageInfoVersionCode()
| static final int org.jau.sys.AndroidUtil.getPackageInfoVersionCode |
( |
final String | packageName | ) |
|
|
static |
- Returns
- null if platform is not Android or no Android Context is registered via
StaticContext.init(..), otherwise the found package version code of packageName is returned.
Definition at line 58 of file AndroidUtil.java.
◆ getPackageInfoVersionName()
| static final String org.jau.sys.AndroidUtil.getPackageInfoVersionName |
( |
final String | packageName | ) |
|
|
static |
- Returns
- null if platform is not Android or no Android Context is registered via
StaticContext.init(..), otherwise the found package version name of packageName is returned.
Definition at line 70 of file AndroidUtil.java.
◆ getTempRoot()
| static File org.jau.sys.AndroidUtil.getTempRoot |
( |
| ) |
throws RuntimeException |
|
static |
- Returns
- null if platform is not Android or no Android Context is registered via
StaticContext.init(..), otherwise the context relative world readable temp directory returned.
Definition at line 82 of file AndroidUtil.java.
The documentation for this class was generated from the following file: