Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: how to do screen to screen messaging under Android?


This question is answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 4 - Last Post: Aug 26, 2017 6:59 AM Last Post By: Darrel Christen...
Darrel Christen...

Posts: 25
Registered: 12/19/07
how to do screen to screen messaging under Android?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 21, 2017 9:15 AM
I have a need to run some code on a screen (form/frame) when something happens on another screen under Android.

Under Windows I use good old messaging - screen A sends a message "up" to the main form, which in turns sends a message "down" to screen B, and screen B runs some code.

How do I do the same kind of thing under Android?

Multi-platform app using Delphi 10.01 developing on a Windows 10 64-bit machine.

drc :)

Eli M

Posts: 1,346
Registered: 11/9/13
Re: how to do screen to screen messaging under Android?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 24, 2017 7:12 AM   in response to: Darrel Christen... in response to: Darrel Christen...
Darrel Christen...

Posts: 25
Registered: 12/19/07
Re: how to do screen to screen messaging under Android?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 25, 2017 6:32 AM   in response to: Eli M in response to: Eli M

That appears to be for communicating between 2 different applications, I need a way for different screen (forms/frames) within the same app to be able to talk to each other.

Unless I'm missing something? Maybe a code sample somewhere of how a single app uses intents to send messages within itself?

drc :)

Eli M

Posts: 1,346
Registered: 11/9/13
Re: how to do screen to screen messaging under Android?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 25, 2017 8:34 AM   in response to: Darrel Christen... in response to: Darrel Christen...
Darrel Christen...

Posts: 25
Registered: 12/19/07
Re: how to do screen to screen messaging under Android?  
Click to report abuse...   Click to reply to this thread Reply
  Posted: Aug 26, 2017 6:59 AM   in response to: Eli M in response to: Eli M

THANKS for the links, with those in hand I'll be able to do the simple sharing of screen activity I need to.

drc :)

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02