B4X FEED Service 'Run_App' that not start secondary app when it is in background

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Service 'Run_App' that not start secondary app when it is in background است. این موضوع تا کنون 73 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Service 'Run_App' that not start secondary app when it is in background
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
73
پسندها
0
آخرین ارسال توسط PracticalSoft
وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
Jun 6, 2020
11,593
4,507
'Run_App' is a service write in B4A designed to be started automatically when the operating system is started and to wait for the receipt of sms
When the smartphone receives a text message, Run_App service reads the sms body, and if present the command START_PROG = com.peppe.app_1 starts the code to run the app whose package is com.peppe.app_1
Well, the program seems to work as intended but only if it is started manually and the focus is on the main form
If another app is launched and the focus switches to the latter, the Run_App program does not seem to work anymore
I inserted some log lines in it to understand if the sms is received, interpreted correctly, and the attempt to start com.peppe.app_1 is performed and in fact it is so, all the code seems to be executed correctly, but the app_1 program does not start

B4X:

کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
Then recap the line...



 

وضعیت
موضوع بسته شده است و نمی‌توان پاسخ جدیدی فرستاد.
عقب
بالا