Android Question How to code the command link

Theera

Well-Known Member
Licensed User
Longtime User
There are many arguments in the command link which is still error code (it's not covered the under line of the command link. How do I solve it?

B4X:
'Ctrl + click to copy Jar File: ide://run?file=%WINDIR%\System32\b4x_cba.exe&args=-action&Args=buildtime -dateformat dd/MM/yyyy -timeformat HH:mm:'
 
Solution
Theera each argument must be added like this

&Args=A&Args=B

if you have a space you need to to this

&Args=A&Args=B&Args=Hello+World

Also you are missing the seconds off the time format. Should be HH:mm:ss

tchart

Well-Known Member
Licensed User
Longtime User
Theera each argument must be added like this

&Args=A&Args=B

if you have a space you need to to this

&Args=A&Args=B&Args=Hello+World

Also you are missing the seconds off the time format. Should be HH:mm:ss
 
Upvote 0
Solution

Theera

Well-Known Member
Licensed User
Longtime User
Theera each argument must be added like this

&Args=A&Args=B

if you have a space you need to to this

&Args=A&Args=B&Args=Hello+World

Also you are missing the seconds off the time format. Should be HH:mm:ss
Please to check b4x_cba compileonlyagain , I think it's not ok for me.It has error while compiling.
 
Upvote 0

tchart

Well-Known Member
Licensed User
Longtime User
Please to check b4x_cba compileonlyagain , I think it's not ok for me.It has error while compiling.
As already explained this error is expected. The only way to stop the launch is to return an error - this was advice from Erel.

Note the action doesn’t do a compile it merely returns an error that stops B4X launching the compiled app.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…