You still need to create the function, and add to system but else the code is simple: System.loadLibrary("'C' Code");