Gerardo52 Member Licensed User Jun 15, 2024 #1 Hi, This is the rror I see during compilation of my project in attach: Error B4A line: 24 End Sub shell\src\b4a\example\main_subs_0.java:174: error: method _process_globals in class b4xmainpage_subs_0 cannot be applied to given types; b4xmainpage_subs_0._process_globals(); ^ required: RemoteObject found: no arguments reason: actual and formal argument lists differ in length 1 error Please Help Attachments B4A.zip B4A.zip 279.2 KB · Views: 416
Hi, This is the rror I see during compilation of my project in attach: Error B4A line: 24 End Sub shell\src\b4a\example\main_subs_0.java:174: error: method _process_globals in class b4xmainpage_subs_0 cannot be applied to given types; b4xmainpage_subs_0._process_globals(); ^ required: RemoteObject found: no arguments reason: actual and formal argument lists differ in length 1 error Please Help
DonManfred Expert Licensed User Longtime User Jun 15, 2024 #2 Gerardo52 said: Please Help Click to expand... If it is a b4xpages project you need to use the link in mainpage to export it. Upvote 0
Gerardo52 said: Please Help Click to expand... If it is a b4xpages project you need to use the link in mainpage to export it.
Gerardo52 Member Licensed User Jun 15, 2024 #3 Thank you. I don't know this particular procedure. Can you show me an example here? Many thanks in advance Upvote 0
Thank you. I don't know this particular procedure. Can you show me an example here? Many thanks in advance
Sagenut Expert Licensed User Longtime User Jun 15, 2024 #4 Gerardo52 said: Thank you. I don't know this particular procedure. Can you show me an example here? Many thanks in advance Click to expand... In the upper part of your B4XMainPage you will see a line with CTRL + CLICK TO EXPORT Modify the ending name (Project.zip) to suit your app. Then click on it while keeping CTRL pressed on keyboard. Upvote 0
Gerardo52 said: Thank you. I don't know this particular procedure. Can you show me an example here? Many thanks in advance Click to expand... In the upper part of your B4XMainPage you will see a line with CTRL + CLICK TO EXPORT Modify the ending name (Project.zip) to suit your app. Then click on it while keeping CTRL pressed on keyboard.
Gerardo52 Member Licensed User Jun 15, 2024 #5 Thanks indeed. If I understood well I must click over the project file or over the line in the source code? Thank you Upvote 0
Thanks indeed. If I understood well I must click over the project file or over the line in the source code? Thank you
Sagenut Expert Licensed User Longtime User Jun 15, 2024 #6 Gerardo52 said: Thanks indeed. If I understood well I must click over the project file or over the line in the source code? Thank you Click to expand... Over the line in the source code Upvote 0
Gerardo52 said: Thanks indeed. If I understood well I must click over the project file or over the line in the source code? Thank you Click to expand... Over the line in the source code
Gerardo52 Member Licensed User Jun 15, 2024 #8 Done but it gives always the same: Error B4A line: 24 End Sub shell\src\b4a\example\main_subs_0.java:174: error: method _process_globals in class b4xmainpage_subs_0 cannot be applied to given types; b4xmainpage_subs_0._process_globals(); ^ required: RemoteObject found: no arguments reason: actual and formal argument lists differ in length 1 error I see you have the donate button... Can you fix this and monday I will charge some money Bank is closed now in Italy... Upvote 0
Done but it gives always the same: Error B4A line: 24 End Sub shell\src\b4a\example\main_subs_0.java:174: error: method _process_globals in class b4xmainpage_subs_0 cannot be applied to given types; b4xmainpage_subs_0._process_globals(); ^ required: RemoteObject found: no arguments reason: actual and formal argument lists differ in length 1 error I see you have the donate button... Can you fix this and monday I will charge some money Bank is closed now in Italy...
Sagenut Expert Licensed User Longtime User Jun 15, 2024 #9 I will try to check in the afternoon. Right now I am not in front of pc. I will see if I can do something with your first attachment. Upvote 0
I will try to check in the afternoon. Right now I am not in front of pc. I will see if I can do something with your first attachment.
Sagenut Expert Licensed User Longtime User Jun 15, 2024 #11 @Gerardo52 please try to export your project correctly, if not we can't test it. You should see this line in your code, in B4XMainPage You have to click on that text, it will become clickable while you keep pressed CTRL on your keyboard. It will generate a file called Project.zip if you change nothing, but it would be better if before clicking you change Project.zip into something that identify your app (example MyApp.zip). Upvote 0
@Gerardo52 please try to export your project correctly, if not we can't test it. You should see this line in your code, in B4XMainPage You have to click on that text, it will become clickable while you keep pressed CTRL on your keyboard. It will generate a file called Project.zip if you change nothing, but it would be better if before clicking you change Project.zip into something that identify your app (example MyApp.zip).
Gerardo52 Member Licensed User Jun 15, 2024 #12 Hi this is the exported file. Thenk you very much Attachments TopGroup.zip TopGroup.zip 257.6 KB · Views: 401 Upvote 0
Sagenut Expert Licensed User Longtime User Jun 15, 2024 #13 You must delete the Process_Globals sub from B4XMainPage. You can add B4X: Public pippo As String = "1" in Process_Globals in the Main, but I would prefer to add a separate Code Module for public variables. See the example. *** EDIT *** I changed the Package Name to avoid overwriting your existing app. Attachments TopGroup.zip TopGroup.zip 258 KB · Views: 414 Upvote 0
You must delete the Process_Globals sub from B4XMainPage. You can add B4X: Public pippo As String = "1" in Process_Globals in the Main, but I would prefer to add a separate Code Module for public variables. See the example. *** EDIT *** I changed the Package Name to avoid overwriting your existing app.
Gerardo52 Member Licensed User Jun 15, 2024 #14 Thank you indeed. I will let you know Thanks again Upvote 0
Gerardo52 Member Licensed User Jun 18, 2024 #15 Thank you Sagenut. The aspps work fine now thanks to your suggestion. Do I must do some donation for this? Let me know. Thanks again Upvote 0
Thank you Sagenut. The aspps work fine now thanks to your suggestion. Do I must do some donation for this? Let me know. Thanks again
Sagenut Expert Licensed User Longtime User Jun 18, 2024 #16 Gerardo52 said: Thank you Sagenut. The aspps work fine now thanks to your suggestion. Do I must do some donation for this? Let me know. Thanks again Click to expand... I wrote you privately. Upvote 0
Gerardo52 said: Thank you Sagenut. The aspps work fine now thanks to your suggestion. Do I must do some donation for this? Let me know. Thanks again Click to expand... I wrote you privately.