Hi.
How can I make use of the packages and classes of a ready built
library in the framework's sources?
This is how I propagate the existence of the library in an Android.mk
which is placed under mydroid/external/mylib/
===================================
# in the Android.mk
# declaring the library IceAndroid.jar
h
LOCAL_PATH := $(my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE:= libiceandroid
LOCAL_PREBUILT_STATIC_JAVA_LIBRARIES := libiceandroid:IceAndroid.jar
include $(BUILD_MULTI_PREBUILT)
===================================
Then in the Android.mk under mydroid/frameworks/base/
===================================
...
LOCAL_SHARED_LIBRARIES := libiceandroid
LOCAL_MODULE := framework
...
===================================
I want to use the library's functionality in the
android.app.Application class for example. The library IceAndroid.jar
includes a package called Ice. But every time I build with "make" I
get the following error:
target Java: framework (out/target/common/obj/JAVA_LIBRARIES/
framework_intermediates/classes)
frameworks/base/core/java/android/app/Application.java:25: package Ice
does not exist
import Ice.Communicator;
^
Why?
Any advice is welcome.
Regards,
Patrick
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"android-framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-framework?hl=en
-~----------~----~----~----~------~----~------~--~---