0

Possible Duplicate:
Creating a product SDK: How do I add a native lib (.SO) and a jar with the SDK I am creating?

I'm trying to use com.android.SystemClock in an app, which calls a native method. I need to load the library that this native method belongs to (i.e. System.loadLibrary(...)). The method is defined in the file: frameworks/base/core/jni/android_os_SystemClock.cpp. How do I figure out which library this belongs to and load it as well?

Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189
user1193425
  • 269
  • 1
  • 4
  • 11

1 Answers1

0

Inspect the make files and find out what libs it builds. Look for LOCAL_MODULE. That said, it is probably in libandroid_runtime.so.

And then again, if it is not part of the public SDK, you shouldn't be using it. It may change, break, not work on some devices, etc.

Nikolay Elenkov
  • 52,576
  • 10
  • 84
  • 84