chjk Member Licensed User Longtime User Feb 8, 2017 #1 Why UI show dialog, service will be suspended? Heartbeat timer and socket, etc. in the service can not work. How to solve it? Thanks very much!
Why UI show dialog, service will be suspended? Heartbeat timer and socket, etc. in the service can not work. How to solve it? Thanks very much!
Erel B4X founder Staff member Licensed User Longtime User Feb 8, 2017 #2 You cannot show any UI except of toast messages from services. Start an activity and show the dialog there. Upvote 0
You cannot show any UI except of toast messages from services. Start an activity and show the dialog there.
chjk Member Licensed User Longtime User Feb 9, 2017 #3 Yes, I was in the main activity display dialog(use input dialog), and did not show in the service! The above UI refers to Ativity. Last edited: Feb 9, 2017 Upvote 0
Yes, I was in the main activity display dialog(use input dialog), and did not show in the service! The above UI refers to Ativity.
Erel B4X founder Staff member Licensed User Longtime User Feb 9, 2017 #4 The question is not clear. What exactly are you trying to do and which error did you get? Upvote 0
chjk Member Licensed User Longtime User Feb 9, 2017 #5 Error is Heartbeat timer and socket, etc. in the service can not work, When activity show dialog. At this time the App and server heartbeat transmission failure. Upvote 0
Error is Heartbeat timer and socket, etc. in the service can not work, When activity show dialog. At this time the App and server heartbeat transmission failure.
Erel B4X founder Staff member Licensed User Longtime User Feb 9, 2017 #6 I understand. No events will be raised when a modal dialog is displayed. The solution is to avoid showing a modal dialog. Show a regular panel instead at the center of the screen. Upvote 0
I understand. No events will be raised when a modal dialog is displayed. The solution is to avoid showing a modal dialog. Show a regular panel instead at the center of the screen.