Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Cross-Platform-Entwicklung (https://www.delphipraxis.net/91-cross-platform-entwicklung/)
-   -   Delphi [Android] Add an item to the context menu (https://www.delphipraxis.net/195382-%5Bandroid%5D-add-item-context-menu.html)

danten 23. Feb 2018 14:25

[Android] Add an item to the context menu
 
Hi, how do I create an association in the context menu and run my program?

I have a program that encodes and decodes the text.

The user receives an encrypted SMS, marks the text, and displays "Open in My Program" in the menu. Same menu like copy, paste ....

Copied text is saved to the clipboard and inserted into the text box of my application.

It must be functional on all mobile devices.

Thank you

mjustin 24. Feb 2018 08:20

AW: [Android] Add an item to the context menu
 
Zitat:

Copied text is saved to the clipboard and inserted into the text box of my application.
Your application (fortunately) is not allowed to copy text from the SMS / messaging app to your app, or to modify their context menus.
However, your app may register a clipboard change listener.
This way, users may select and copy text, and your listener will be called.

danten 3. Mär 2018 17:33

AW: [Android] Add an item to the context menu
 
Zitat:

Zitat von mjustin (Beitrag 1394549)
Zitat:

Copied text is saved to the clipboard and inserted into the text box of my application.
Your application (fortunately) is not allowed to copy text from the SMS / messaging app to your app, or to modify their context menus.
However, your app may register a clipboard change listener.
This way, users may select and copy text, and your listener will be called.

Thanks


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:59 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz