AGB  ·  Datenschutz  ·  Impressum  







Anmelden
Nützliche Links
Registrieren
Zurück Delphi-PRAXiS Programmierung allgemein Cross-Platform-Entwicklung Delphi [Android] Add an item to the context menu

[Android] Add an item to the context menu

Ein Thema von danten · begonnen am 23. Feb 2018 · letzter Beitrag vom 3. Mär 2018
Antwort Antwort
danten

Registriert seit: 19. Feb 2012
Ort: Czech Republic, Prag
126 Beiträge
 
Delphi 10.1 Berlin Architect
 
#1

[Android] Add an item to the context menu

  Alt 23. Feb 2018, 14:25
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
Daniel
  Mit Zitat antworten Zitat
mjustin

Registriert seit: 14. Apr 2008
3.004 Beiträge
 
Delphi 2009 Professional
 
#2

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

  Alt 24. Feb 2018, 08:20
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.
Michael Justin
  Mit Zitat antworten Zitat
danten

Registriert seit: 19. Feb 2012
Ort: Czech Republic, Prag
126 Beiträge
 
Delphi 10.1 Berlin Architect
 
#3

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

  Alt 3. Mär 2018, 17:33
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
Daniel
  Mit Zitat antworten Zitat
Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht

Forumregeln

Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are aus

Gehe zu:

Impressum · AGB · Datenschutz · Nach oben
Alle Zeitangaben in WEZ +1. Es ist jetzt 08:53 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