Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mathstuf/derelictandroid
NDK bindings using Derelict
https://github.com/mathstuf/derelictandroid
android d derelict
Last synced: about 7 hours ago
JSON representation
NDK bindings using Derelict
- Host: GitHub
- URL: https://github.com/mathstuf/derelictandroid
- Owner: mathstuf
- Created: 2014-04-12T05:02:40.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-17T06:21:32.000Z (over 10 years ago)
- Last Synced: 2024-06-11T17:05:17.540Z (5 months ago)
- Topics: android, d, derelict
- Language: D
- Size: 137 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
DerelictAndroid
===============Dynamic bindings to the [Android NDK](https://developer.android.com/tools/sdk/ndk/index.html) version r9d for the D Programming Language.
For information on how to build DerelictAndroid and link it with your programs, please see the post [Building and Using Packages in DerelictOrg](http://dblog.aldacron.net/forum/index.php?topic=841.0) at the Derelict forums.
For information on how to load the Android libraries via DerelictAndroid, see the page [DerelictUtil for Users](https://github.com/DerelictOrg/DerelictUtil/wiki/DerelictUtil-for-Users) at the DerelictUtil Wiki. In the meantime, here's some sample code.
```D
// This example shows how to import all of the DerelictAndroid bindings. Of course,
// you only need to import the modules that correspond to the libraries you
// actually need to load.
import derelict.android.android;void main() {
// Load the android library.
DerelictAndroid.load();// Now Android functions for all of the Android headers can be called.
...
}
```