Hi,

Awhile back I wrote some customized code that modified the underlying
framework to perform some tasks I needed to do.  Unfortunately, that
implementation was coupled and statically compiled with the rest of
the android framework code, which I soon learned was not supported
practice.  I was then referred to the PlatformLibrary example to use
as an example for supporting customized framework code without having
to modify the android framework.

Now that I finally have some time to do this and refactor that code I
wrote a while back, I'm now looking at this sample.  However, I think
I've spent way too much time trying to even get this to work and run
on the emulator.  I've googled the groups for any answers, and even
though there are some references to it, I never got it to completely
work.  I think I've pushed through the proper files to the emulator
(.so, .jar, .xml permissions file) yet everytime I do an adb install
on the PlatformLibraryClient I continue to get a
INSTALL_FAILED_SHARED_LIBRARY error.  I even 'make clean' a couple of
times and tried to retrace my steps, but nothing worked!  The only
thing I managed to work is having the client code recognize the APIs
from the PlatformLibrary class without throwing a compile error in
Eclipse.

Anyway, I hope this is not too much to ask, but if anyone out there
has gotten it to work, can someone post the correct steps on how to do
it from the moment we do a 'repo sync' on the branch, including what
make commands to invoke, what proper files to push to the emulator,
etc?  I'm working on cupcake at the moment, and as I mentioned, I
started on a clean build first, it didn't work, then followed the
steps I've seen on the other group postings, that didn't work (pushing
the client on the emulator that is), redo everything using make clean,
etc.

Thanks.  Really appreciate this.  I hope someday soon these steps/
tutorial will be posted on the developer.android.com site.

MB


-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

To unsubscribe from this group, send email to 
android-porting+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to