VNC Server & Client : Source Code For Sale

mmanso

Active Member
Licensed User
Longtime User
As it's been discussed before (from page 1 till page 9) , we will use the same method as the Teamviewer Alternative which will be IDs instead of IP and Port and this method will enable you to connect publicly.

For me, the main goal of this project should be the ability to connect through VNC to an Android device's IP address and control it. Things like ID's, cloud based stuff and things like that should be secondary and released after a stable client / server (ip) scenario.

This is just my oppinion.

Cheers.
 

sfsameer

Well-Known Member
Licensed User
Longtime User
For me, the main goal of this project should be the ability to connect through VNC to an Android device's IP address and control it. Things like ID's, cloud based stuff and things like that should be secondary and released after a stable client / server (ip) scenario.

This is just my oppinion.

Cheers.
Hello,

Everyone has his/her own needs, and with every update we do on projects we try to meet almost everyone's needs.

So the next update will not replace the IP and Ports completely, it will add an extra feature (IDs) just like RealVNC which means there will be 2 ways to connect, publicly and locally.

Thank you,
Saif
 

tmtube73

Active Member
Licensed User
good morning everyone, maybe it has already been asked I don't know English well, I ask if you know when the version will be ready that also allows you to interact on mobile devices, open apps, restart the phone or similar.

thank you.
 

sfsameer

Well-Known Member
Licensed User
Longtime User
good morning everyone, maybe it has already been asked I don't know English well, I ask if you know when the version will be ready that also allows you to interact on mobile devices, open apps, restart the phone or similar.

thank you.
Hello,

The next update will be announced by the end of this week.

You can control the device using accessibility services (touch, gestures, typing text) and file manager.

Thank you,
Saif
 
Last edited:

sfsameer

Well-Known Member
Licensed User
Longtime User
Hello Everyone :)

We have just finished implementing the Remote Control in the B4A VNC Server, Below is a small demo :


We are currently testing this feature, once it's ready we will release the updated source code.

Thank you,
Saif
 

moster67

Expert
Licensed User
Longtime User
Does it support landscape mode?
It is a bit difficult to handle a remote desktop from an android phone in portrait mode😂
 

sfsameer

Well-Known Member
Licensed User
Longtime User
No...
...If destination device is in portrait mode 😁
Hello,

The B4A VNC Viewer is already in landscape mode
1626197190181.png



1626197351296.png



Thank you,
Saif
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hello everyone :)

We are more than happy to release the new update B4A VNC Server : Input service

You can now control the android device (Taps & Gestures)

Please use the same download link we sent you earlier to download the new update.

in the .zip file you will find a new file under the name : "B4AVNCServerUpdated.zip"
it will contain the library (.jar + .xml) + B4A sample project.

*Make sure to replace the old B4AVNCServer.jar + B4AVNCServer.xml with the new updated libraries in the B4AVNCServerUpdated.zip file.

The next update will be announced by the end of this week.

Thank you,
Saif
 
Last edited:

amorosik

Expert
Licensed User
May be some files are missing ?
(in debug mode on Cat S60 with Android 6.0, after installation, when i try to start app)


B4X:
Logger connesso a:  BullittGroupLimited S60
--------- beginning of crash
--------- beginning of main
Copying updated assets files (1)
*** Service (starter) Create ***
** Service (starter) Start **
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__write_chk" referenced by "/data/app/com.b4xcode.vncserver-2/lib/arm64/libvncserver.so"...
    at java.lang.Runtime.loadLibrary(Runtime.java:372)
    at java.lang.System.loadLibrary(System.java:1076)
    at net.christianbeier.droidvnc_ng.MainService.<clinit>(MainService.java:110)
    at net.christianbeier.droidvnc_ng.MainWorkerClass.startserver(MainWorkerClass.java:34)
    at com.b4xcode.vncserver.starter._service_start(starter.java:178)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at com.b4xcode.vncserver.starter.handleStart(starter.java:100)
    at com.b4xcode.vncserver.starter.access$000(starter.java:8)
    at com.b4xcode.vncserver.starter$1.run(starter.java:71)
    at anywheresoftware.b4a.objects.ServiceHelper$StarterHelper.onStartCommand(ServiceHelper.java:237)
    at com.b4xcode.vncserver.starter.onStartCommand(starter.java:69)
    at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3010)
    at android.app.ActivityThread.access$2200(ActivityThread.java:150)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1442)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5417)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
java.lang.RuntimeException: Unable to start service com.b4xcode.vncserver.starter@a3d0e5b with Intent { cmp=com.b4xcode.vncserver/.starter }: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__write_chk" referenced by "/data/app/com.b4xcode.vncserver-2/lib/arm64/libvncserver.so"...
    at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3027)
    at android.app.ActivityThread.access$2200(ActivityThread.java:150)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1442)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5417)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__write_chk" referenced by "/data/app/com.b4xcode.vncserver-2/lib/arm64/libvncserver.so"...
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:175)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at com.b4xcode.vncserver.starter.handleStart(starter.java:100)
    at com.b4xcode.vncserver.starter.access$000(starter.java:8)
    at com.b4xcode.vncserver.starter$1.run(starter.java:71)
    at anywheresoftware.b4a.objects.ServiceHelper$StarterHelper.onStartCommand(ServiceHelper.java:237)
    at com.b4xcode.vncserver.starter.onStartCommand(starter.java:69)
    at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3010)
    ... 8 more
Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__write_chk" referenced by "/data/app/com.b4xcode.vncserver-2/lib/arm64/libvncserver.so"...
    at java.lang.Runtime.loadLibrary(Runtime.java:372)
    at java.lang.System.loadLibrary(System.java:1076)
    at net.christianbeier.droidvnc_ng.MainService.<clinit>(MainService.java:110)
    at net.christianbeier.droidvnc_ng.MainWorkerClass.startserver(MainWorkerClass.java:34)
    at com.b4xcode.vncserver.starter._service_start(starter.java:178)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
    ... 15 more
--------- beginning of system
 

sfsameer

Well-Known Member
Licensed User
Longtime User
May be some files are missing ?
(in debug mode on Cat S60 with Android 6.0, after installation, when i try to start app)


B4X:
Logger connesso a:  BullittGroupLimited S60
--------- beginning of crash
--------- beginning of main
Copying updated assets files (1)
*** Service (starter) Create ***
** Service (starter) Start **
java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__write_chk" referenced by "/data/app/com.b4xcode.vncserver-2/lib/arm64/libvncserver.so"...
    at java.lang.Runtime.loadLibrary(Runtime.java:372)
    at java.lang.System.loadLibrary(System.java:1076)
    at net.christianbeier.droidvnc_ng.MainService.<clinit>(MainService.java:110)
    at net.christianbeier.droidvnc_ng.MainWorkerClass.startserver(MainWorkerClass.java:34)
    at com.b4xcode.vncserver.starter._service_start(starter.java:178)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at com.b4xcode.vncserver.starter.handleStart(starter.java:100)
    at com.b4xcode.vncserver.starter.access$000(starter.java:8)
    at com.b4xcode.vncserver.starter$1.run(starter.java:71)
    at anywheresoftware.b4a.objects.ServiceHelper$StarterHelper.onStartCommand(ServiceHelper.java:237)
    at com.b4xcode.vncserver.starter.onStartCommand(starter.java:69)
    at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3010)
    at android.app.ActivityThread.access$2200(ActivityThread.java:150)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1442)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5417)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
java.lang.RuntimeException: Unable to start service com.b4xcode.vncserver.starter@a3d0e5b with Intent { cmp=com.b4xcode.vncserver/.starter }: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__write_chk" referenced by "/data/app/com.b4xcode.vncserver-2/lib/arm64/libvncserver.so"...
    at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3027)
    at android.app.ActivityThread.access$2200(ActivityThread.java:150)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1442)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:148)
    at android.app.ActivityThread.main(ActivityThread.java:5417)
    at java.lang.reflect.Method.invoke(Native Method)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Caused by: java.lang.RuntimeException: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__write_chk" referenced by "/data/app/com.b4xcode.vncserver-2/lib/arm64/libvncserver.so"...
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:175)
    at anywheresoftware.b4a.BA.raiseEvent(BA.java:193)
    at com.b4xcode.vncserver.starter.handleStart(starter.java:100)
    at com.b4xcode.vncserver.starter.access$000(starter.java:8)
    at com.b4xcode.vncserver.starter$1.run(starter.java:71)
    at anywheresoftware.b4a.objects.ServiceHelper$StarterHelper.onStartCommand(ServiceHelper.java:237)
    at com.b4xcode.vncserver.starter.onStartCommand(starter.java:69)
    at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3010)
    ... 8 more
Caused by: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "__write_chk" referenced by "/data/app/com.b4xcode.vncserver-2/lib/arm64/libvncserver.so"...
    at java.lang.Runtime.loadLibrary(Runtime.java:372)
    at java.lang.System.loadLibrary(System.java:1076)
    at net.christianbeier.droidvnc_ng.MainService.<clinit>(MainService.java:110)
    at net.christianbeier.droidvnc_ng.MainWorkerClass.startserver(MainWorkerClass.java:34)
    at com.b4xcode.vncserver.starter._service_start(starter.java:178)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.shell.Shell.runMethod(Shell.java:732)
    at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:348)
    at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:255)
    at java.lang.reflect.Method.invoke(Native Method)
    at anywheresoftware.b4a.ShellBA.raiseEvent2(ShellBA.java:144)
    ... 15 more
--------- beginning of system
Hello,

Just tested it and it's working fine, make sure you have OpenJDK11

1626200714055.png



Thank you,
Saif
 

Xfood

Expert
Licensed User
I can't wait to try it, as soon as I get back, after dinner I try this fantastic update.
Thanks Saif.😉
 

amorosik

Expert
Licensed User
Also make sure to replace the old B4AVNCServer.jar + B4AVNCServer.xml with the new updated libraries in the B4AVNCServerUpdated.zip file.

I am retrying after checking, but the requirements seem fine to me
May I know if you have tried it with Android 6.0 too?


Immagine1.png
Immagine2.png



Immagine3.png
 

amorosik

Expert
Licensed User
Hello,

We have tried with Android 8-9-10.

The minimum Android version is : 7

Thank you,
Saif


Exactly what functions are needed for the Vnc server project to work properly, and are not present in Android versions prior to 7 ?
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Exactly what functions are needed for the Vnc server project to work properly, and are not present in Android versions prior to 7 ?
Hello,

One of them is the error you faced when you used android 6.

50% of this library is built using NDK and some of the internal functions are built for android version 7 and higher.

The minimum android version is : 7

Thank you,
Saif
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hello everyone :)

We have updated the B4A VNC Server project, please use the same download link to download the updated B4A VNC Server version.

The update was in the Main Module which had a bug regarding the Accessibility Service that disabled the media projection service.

Thank you,
Saif
 
Top