- Jun 6, 2020
- 11,593
- 4,508
Hi all!
Next little problem in my app:
I have realized a "no action service" which is active when user do nothing in my app. This can be happen on every activity in my app.
But after the initialization of my notification object with ...
B4X:
... and after the using in this command ...
B4X:
... I cannot change the target activity.
So I tried to stop the foreground service by this first ...
B4X:
... in order to build a new notification object and a new "StartForeground"...
Next little problem in my app:
I have realized a "no action service" which is active when user do nothing in my app. This can be happen on every activity in my app.
But after the initialization of my notification object with ...
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
... and after the using in this command ...
B4X:
Service.StartForeground(1, notification)... I cannot change the target activity.
So I tried to stop the foreground service by this first ...
B4X:
Service.StopForeground(1)... in order to build a new notification object and a new "StartForeground"...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید