[android-porting] Re: Can I create a single static library with mm and reinstall the apk?

2010-11-10 Thread Samuel Skånberg
nt /system so it's writeable. Cheers! On Nov 10, 4:22 pm, Hamilton Vera wrote: > Never tested but you can try to export the LD_LIBRARY_PATH > > export LD_LIBRARY_PATH /system/lib:/sdcard/yourlibs_dir/ > > If it works, give us a feedback. > > []'s > &g

[android-porting] Can I create a single static library with mm and reinstall the apk?

2010-11-10 Thread Samuel Skånberg
I'm developing a system application apk and I'm using mm to develop the program since it will put in the /packages/app directory. I don't want to use ndk-build because mm will be used to build the whole system, including my apk file. The problem is that if I use shared libraries, they will be put

[android-porting] Re: How to connect to a binder c++ service?

2010-11-04 Thread Samuel Skånberg
will need to use this magic function in libandroid_runtime to do this: > >    extern jobject javaObjectForIBinder(JNIEnv* env, const sp& val); > > The header for this is currently in core/jni/android_util_Binder.h. > > 2010/10/22 Samuel Skånberg > > > > > Hello

Re: [android-porting] Re: How to connect to a binder c++ service?

2010-10-22 Thread Samuel Skånberg
ace. Until aidl can > generate C++ stubs, I think it is easier than maintaining both C++ and > Java > interfaces. > > 2010/10/20 Samuel Skånberg > >> Well, those links were about JNI. I don't think I should have to use >> JNI, do you? My service is implemented in C+

[android-porting] Re: How to connect to a binder c++ service?

2010-10-21 Thread Samuel Skånberg
.google.com.br/url?sa=t&source=web&cd=5&ved=0CDwQFjAE&url=h... > > http://davanum.wordpress.com/2007/12/09/android-invoke-jni-based-meth... > > []'s > > Hamilton Vera > > 2010/10/20 Samuel Skånberg : > > > > > > > Hello, > > &g

[android-porting] How to connect to a binder c++ service?

2010-10-20 Thread Samuel Skånberg
Hello, I want to create a binder service in C++ and be able to bind to that service from java. My question is how? I have mimicked the implementation in frameworks/base/camera/tests/CameraServiceTest/ CameraServiceTest.cpp. It compiles nicely without any warnings and I can run it. But how do I con