I have a simple device driver activated, and I wonder if I can write an app that would interface with it. That is activate the functions such as open(), ioctl(), etc. I have compiled an executable which I wrote in C, and it does the same thing. But I want to implement this in an app so I can run it quickly and interface with the program via a UI. I am looking at implementing this with JNI; I wonder if there an easier way to do this.
Asked
Active
Viewed 42 times
1 Answers
0
If you have control over the kernel driver then its possible to do it purely in Java. Just use RandomAccessFile with read&write. You will not be able to call ioctl though

skoperst
- 2,259
- 1
- 23
- 35