Android App: BACK button to act like HOME button

Cancelled Posted 7 years ago Paid on delivery
Cancelled Paid on delivery

My Android app use Twitter authentication to login.

In this moment, always the user clicks on App icon, the App use the flow:

1) App icon >> 2) Login Screen >> 3) Twitter Authentication Screen >> 4) Main App Screen

1st Issue: The HOME button makes the flow (xRanky icon >> Main App Screen), ONLY after the smartphone is reseted on the first time. The HOME button has to make the flow (xRanky icon >> Main App Screen) WITHOUT reset the smartphone.

2) 2nd issue: I have tried to make the BACK button to act like HOME button (xRanky icon >> Main App Screen), but the BACK button was only disable when I put the code below in all activities:

@Override

public void onBackPressed() {

moveTaskToBack(true);

}

DESCRIPTION OF THE JOB

. After the 1st SUCCESSFUL Login and Twitter Authentication, when the user clicks on the BACK button OR HOME button (Android buttons), the App has to stay in background (NOT quit).

. In this case, If the user clicks on the App icon again, the flow will be:

1) xRanky icon >> 4) Main App Screen

The App:

[url removed, login to view]

ONLY place a bid if you understood the requirements and can make the job for the bid value. AUTOMATIC BID WILL BE DELETED

Thanks

I have tried to use the code below to Back button act like Home button, but it is not working:

@Override
public void onBackPressed() {
moveTaskToBack(true);
}

1st issue: The HOME button is making the app quit. Only after the smartphone is reseted on the first time, the HOME button put the App in background (NOT quit)

2nd issue: I have tried to make the BACK button to act like HOME button with the code above, but the BACK button is only disabled.

DESCRIPTION OF THE JOB
. After the 1st SUCCESSFUL Login and Twitter Authentication, when the user clicks on the BACK button OR HOME button (Android buttons), the App has to stay in background (NOT quit).

Android Mobile App Development

Project ID: #11614510

About the project

8 proposals Remote project Active 7 years ago

8 freelancers are bidding on average $36 for this job

nwlfst

hi, I have understood your requirement, can do it today.

$20 USD in 1 day
(5 Reviews)
3.5
ccaring

Hello, I am an experienced Android developer and can help you with this. I have developed many applications and have experience in Activity Life cycle management. The thing you want to solve is same activity manage More

$40 USD in 3 days
(3 Reviews)
1.8
psgraphica1

Hi we can fix the issue for you, the description is very nicely presented in here, please provide us the code link, we can start work.

$20 USD in 1 day
(0 Reviews)
0.0
rakoty

I am android developer with 2 years of experience but I haven't got the opportunity here in freelancer yet as android developer I offer you this low bid as i don't haven't previous feedback for android before

$15 USD in 1 day
(0 Reviews)
0.0