You have to load your library in your Activity
static {
System.loadLibrary("example");
}
Make sure your .so file in your lib folder or /system/lib/ in the device where your try to run the application.
Add this to your Example.c
jint Java_com_example_pjtest_get_time(JNIEnv *env)
{
time_t ltime;
time(<ime);
return ctime(<ime);
}