TeamViewer alternative : Source code for sale

sfsameer

Well-Known Member
Licensed User
Longtime User
Great job!
and if you still want to continue with the MariaDB then try the step 3 :
 

vfafou

Well-Known Member
Licensed User
Longtime User
I've changed to OpenJDK. I have a new compilation error:
B4X:
Compiling generated Java code.    Error
src\b4j\example\rdpws.java:383: error: cannot find symbol
    _callback(CompresTheImage((bytes)));
    ^
  symbol:   method _callback(byte[])
  location: class rdpws.testingclass
1 error

javac 11.0.1
I think I'm missing something! ?
 

sfsameer

Well-Known Member
Licensed User
Longtime User
That means you have downloaded the OpenJDK but did you put it in the path in the IDE?
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Of course!
Could you please take a screenshot of your paths in the B4J because this error occurs only because of 2 reasons :
1- OpenJDK is not installed or the path is not configured correctly
2- You have modified the code and the _callback sub doesn't exists (keep in mind it's case senstive)

Also Could you please check the JAVA_Home variable and see if the latest jdk is installed and remove the old versions as well.
 

Louis Moskowitz

Member
Licensed User
Longtime User
Thanks, that did work and I am sure the software does work. It is just that the installation is rather hectic and I am would really like to know how many people have actually done the installation and are using it so I can get some independent feedback before carrying on.
 

sfsameer

Well-Known Member
Licensed User
Longtime User
The thing with this project is that it's very complicated and very large so everything has to be set in order.
we are really really doing our best to keep updating the support page
 

vfafou

Well-Known Member
Licensed User
Longtime User
Hello Saif,
This is my Paths configuration of B4J:

I've added the JAVA_HOME variable:

but still appears the same error!

I haven't modified your code!
The only mod I want to do is to make the app work with MariaDB but I'll first see it working with MS/SQL and after I'll make any mod!
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Hello,

To help you better could we connect to your device remotely to help you get through this problem ?
and after we are finished we will share the support results here
Thank you,
Saif
 

sfsameer

Well-Known Member
Licensed User
Longtime User
We have updated the .zip file that we have sent you guys.
The update is in the file : TeamviewerAlternativeB4A.zip

We have removed a library that we never used and it was there as unused library so we have removed it form the internal libraries + the B4A Libraries.

Just for clarification :
The library name : B4AAccessibilityServices
We have previously downloaded it and tested it to see if it's going to work as we need but it only made to send text to what'sapp so we never used it but forgot to uncheck it from the libraries tab in B4A.

and eventually we created our own java code in the service : svc_accessibility


*Keep in mind that this library is free of charge and was released in b4x previously so no harm done
Sample code from the (svc_accessibility) service :
svc_accessibility:
override
    public void onAccessibilityEvent(AccessibilityEvent event)  {



Thank you,
Saif
 
Last edited:

vfafou

Well-Known Member
Licensed User
Longtime User
Hello,

To help you better could we connect to your device remotely to help you get through this problem ?
and after we are finished we will share the support results here
Thank you,
Saif
I'll send you a PM right now!
 

vfafou

Well-Known Member
Licensed User
Longtime User
Saif,

After your remote help, it seems that the Release (obfuscated) mode prevents the compilation.
After your change to simple Release mode, it compiles!
Thank you very much!
 

sfsameer

Well-Known Member
Licensed User
Longtime User
Saif,

After your remote help, it seems that the Release (obfuscated) mode prevents the compilation.
After your change to simple Release mode, it compiles!
Thank you very much!
You are the most welcome
 

hibrid0

Active Member
Licensed User
Longtime User
If file stream is needed maybe not work with mariadb or mysql. ???
 
Last edited:

sfsameer

Well-Known Member
Licensed User
Longtime User
I file stream is needed maybe not work with mariadb or mysql. ???
The filestream was supposed to be needed in the next update, but because a lot of users are converting to other database engines so we will not use it in the future so you can remove it for now.

 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…