Android Question Spotlight Menu, remove sign "="

vecino

Well-Known Member
Licensed User
Longtime User
Hello, I'm trying Spotlight Menu and each item from the menu goes out at the end a sign "=".
What is it for? Can it be deleted?
Thanks.

 
Last edited:

Xfood

Expert
Licensed User
I'm not at home today, I have slightly modified this class, tomorrow I could send them to you
 

Attachments

  • Screenshot_20210910-212511.jpg
    510.3 KB · Views: 206
Upvote 1

Xfood

Expert
Licensed User
As promised, here is the modified class with a small usage example

B4X:
'                descrizione   ,material ico, colore,   dim, bitmap,font awesome
    splight.additem("Info Programma",Chr(0xE88F),Colors.Black,18,Null,Chr(0xF05A))
 

Attachments

  • SpotLight.zip
    12.6 KB · Views: 193
Last edited:
Upvote 1

vecino

Well-Known Member
Licensed User
Longtime User
Thanks, friends, I had not seen that the source code is there.
What tool to use to add the change to the .jar / .xml file?
 
Upvote 0

Xfood

Expert
Licensed User
Thanks, friends, I had not seen that the source code is there.
What tool to use to add the change to the .jar / .xml file?
I don't think I understand,
jar is a compiled format, you can't add / remove code without having the source
 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
My knowledge about java is almost nil.
I thought the source code could be compiled somehow to get the .jar.
I mean SpotLight comes in a .jar library and you had to re-create it once you edited the source code you posted.
Isn't that right?
 
Upvote 0

Xfood

Expert
Licensed User
My knowledge about java is almost nil.
I thought the source code could be compiled somehow to get the .jar.
I mean SpotLight comes in a .jar library and you had to re-create it once you edited the source code you posted.
Isn't that right?
sorry brother, I still don't understand,
SpotLight is a class in b4x source format,
then just insert it in your b4x project (if necessary adapt it to your needs) and then with your b4A, B4j, B4i compile the project
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
I thought the source code could be compiled somehow to get the .jar.
The Sourcecode of the Library is available. AS B4XCODE! Why not just take this and edit it? NO NEED to use or patch or decompile any jar.
Use the bas-file instead of library and edit it as needed. You can compile it to a library if you want, sure.

 
Upvote 1

Xfood

Expert
Licensed User
the example I shot is in b4x code source format, I don't understand the problem ....

 
Upvote 1

vecino

Well-Known Member
Licensed User
Longtime User
Thanks, friends, I thought it was necessary to use the .jar library.
So can I remove the library and use only the class?


 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
I have often wondered what that option is for.
What kind of library will it create?, but I have never tried it.
Thank you very much!!!!!
? ? ?
 
Upvote 0

ilan

Expert
Licensed User
Longtime User
i think there should be a link in the first post to point what library you are talking about.
it would be simpler to help you like this.

as @DonManfred already mentioned it is much simpler to use the class and work with it.
the code should be simple to understand.
 
Upvote 0

vecino

Well-Known Member
Licensed User
Longtime User
Thank you, I have already posted the link.
I am testing with the classic form of "activity", does it also work with B4Xpages?
Best regards.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…