droidVncServer icon indicating copy to clipboard operation
droidVncServer copied to clipboard

Building from source

Open robertoimai opened this issue 12 years ago • 1 comments

I built the apk from source and and worked just fine. However, I was experimenting with it and if I change the package name, I get a black screen everytime I connect with a VNC client. I changed from org.onaips.vnc to org.onaips.vnc1 and everything seems to work properly, except for the black screen. Is there something I'm missing? Do I need to recompile the daemon or wrappers to use a new package name? I also notice that I get 404 when I browse http://ipaddress:5801 instead of the standard java applet page. Any help is appreciated.

robertoimai avatar Dec 29 '12 18:12 robertoimai

Just as an update, the part that is failing is this:

int initFlinger(void) inside flinger.c I get this on my logcat. /data/data/com.mypackage/lib/libandroidvncserver.so - stack corruption detected: aborted

This error is thrown on line 420 of droidvncserver.c initGrabberMethod(); Which calls for initFlinger() mentioned above.

Here is what I've done: Changed common.h: #define DVNC_FILES_PATH "/data/data/com.mypackage/files/" #define DVNC_LIB_PATH "/data/data/com.mypackage/lib/" Recompiled.

Still unable to make it work :(

robertoimai avatar Jan 30 '13 19:01 robertoimai