35
Views
7
Comments
Solved
Back Button android not working properly
Question
Application Type
Mobile

Hi,

    What my requirement is Login page is my home page and Dashboard screen two other screen. While I press back in screens come back to pervious Once, I reached a Dashboard screen. I want show popup Are you want to Logout something like that if they press yes means back to login screen and Again open a app means It will comes from login page only not in Dashboard screen. How to do that...

2024-06-24 04-49-49
Princi
Solution

Hello @Mariselvam K


Just adding more into @Gourav Shrivastava comment. Just click on above image and use this component for your reference.

First try to download the demo file and use it. You will get some idea like how this back button function will work in Android App. This will surely help you out for your problem.

Regards

Prince

UserImage.jpg
Md Mansur

Hi @Mariselvam K 

After logout you want to come login screen or dashboard screen??

if you want to come login scree than on logout button call login screen like this

or you want to come dashbaord Screen call screen like this:

Or I have attached Oml so go though this


Popup_Demo.oap
UserImage.jpg
Mariselvam K

Hi @Md Mansur 

Can you share OML for my reference

UserImage.jpg
Md Mansur

I already share Oml File

Popup_Demo.oap
UserImage.jpg
Md Mansur

Hi

If you fulfill you Requirement through this suggestion or Oml so Marked as a solution & Like also  

Its will help other developer or Community Member


Thanks 

Md Mansur

2024-07-12 05-57-50
Gourav Shrivastava
Champion

Hello @Mariselvam K,

You can use the Android back button forge component, it helps you handle back-button events.


Thanks 

Regards Gourav Shrivastava

2024-06-24 04-49-49
Princi
Solution

Hello @Mariselvam K


Just adding more into @Gourav Shrivastava comment. Just click on above image and use this component for your reference.

First try to download the demo file and use it. You will get some idea like how this back button function will work in Android App. This will surely help you out for your problem.

Regards

Prince

2024-05-30 10-12-48
Anushka singh

Hello

This link will help you because the user is the same problem, it can help you Click here

Thanks!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.