app is automatically starts if i close the app using option from notifier component, is there any solution for this… this problem occured when i use splash screen function on Screen1
above image is the block section of Screen1
app is automatically starts if i close the app using option from notifier component, is there any solution for this… this problem occured when i use splash screen function on Screen1
above image is the block section of Screen1
Can you send a test apk ?
TechScanner.apk (4.2 MB)
when you select ‘yes’ from notifier to exit the app from Screen1 the app closes and starts again… i dont know why…
What happens if you do it like this?
@techcvr
I have testet your apk and it works for me how it should.
I click on yes and then the apk is closed without restart.
@Kodular
Can you please test to this apk?
For me it works perfect.
i tested the apk completelt from different angles…
if i press back button on my phone just after opening the app, it shows the notification to exit and if i choose Yes then it works.
But if i go to the second page by clicking on the “Scan QR Code” button then press back button on my phone 2 times to exit, the auto restart problem comes out…
kindly view this video to see what is the problem - goo.gl/kti4h5
Thanks
How do you close your second screen?
Show blocks.
this is what i have in my second screen(qrcodeScreen)
and i wanted to ask you one more thing… why there is a blue question mark icon on 1st block in the image given above, when i click on that some error messages shows up -
and this is the aia file -
TechScanner_copy.aia (32.3 KB)
When you go back to screen 1 then you do not have to open it again.
Use in your case the close screen block.
And the blue helper icon is there that for commits.
i understand what you are saying but what if i go from “Screen1” to “qrcodeScreen” 4 to 5 times then if i press back button from “qrcodeScreen”, it redirects to the “Screen1” which is perfect but if i press back button again then it redirects to “qrcodeScreen” and this process will go on for 4 to 5 times. thats by i used the close block on “Screen1”. so if you have any other solution then kindly guide me…it will be great…
@techcvr i am not an expert but when i face this problem after that i just put close screen it automatically goes to last screen. So except open screen1 just put block of clise screen and try and let me know if problem solved
thanks for the help man (@apnapak)… now im facing another problem…
when i press back button just after opening the app. its works perfectly, and if i go to the second screen and then i press back button, it comes to the screen one and again i press the back button to exit, it displayes an error message and a notification with end application option… kindly see the error screenshot below
As i told you before i am not an expert but i think problem is in your block section maybe with activity starter please share your block section here … or maybe some expert can explain this without seeing blocks… thanks …
@techcvr on screen one do you set when press back button then close application…
Or simply exit with notifier …
ALL THE BLOCKS ARE GIVEN ABOVE
SCREEN 1 BLOCK IMAGE - https://community.makeroid.io/uploads/default/optimized/2X/9/9afbb1ee84768053dce69ce390e7159eb70a7f23_1_690x349.png
SCREEN 2 BLOCK IMAGE - https://community.makeroid.io/uploads/default/original/2X/4/4787756e37c4480c45a3197ce544800d0872abb0.png
AND I DID EXIT WITH NOTIFIER
already did that… problem fixed
Ok good thats what i told you before…
Its easy . Just make little changes in your blocks