Mobile web mechanism that determines user leaving web page or locking screen

** This job is about designing a mechanism to solve a single technical problem, not developing an entire app. Please read the spec below carefully.**

I'm working on a project that will mainly run in mobile browsers. I want to detect whether a user leaves the web page (i.e. go back to home screen, switch to other apps or switch to another browser tab). The problem is that I cannot find a way to distinguish whether the user is locking the phone screen or leaving the browser app (e.g. the [login to view URL] event has the same behavior in both cases). I'm looking for an experienced web/mobile developer who can find a way to solve this problem.

## Spec

Extracted project code is available in the attachments ([login to view URL]).

Please edit `[login to view URL]` so the behaviors would match the following cases (you should refresh the webpage before each case to go back to the initial state where the background is green):

1) Lock the screen, wait for 1 minute then unlocks the screen, the background color of the web page should stay green.

2) Leave the browser app, wait for 10 seconds then opens the browser app again. The background color of the web page should be changed to red.

3) Switch to another app directly (leaving the browser app), wait for 10 seconds then opens the browser app again. The background color of the web page should be changed to red.

4) Switch to another browser tab (not leaving the browser app), wait for 10 seconds then opens the browser app again. The background color of the web page should be changed to red.

Please run your prototype on real devices and make sure it works both in the built-in browsers of Android and iOS platform. Then send the demo video to me after applying for this job.

## Payment

As mentioned in the above section, once your proposal is accepted, please submit a demo video of your prototype. If that works well, please hand in the code of the prototype and once I have my in-house developers verify it, you will get paid 100%.

Your implementation MUST pass ALL test cases mentioned above in order to get paid.

## Requirements

- System requirements:

Your solution should work on (including but not limited to) Android 5.0+ and iOS 10.0+ devices.

- Browsers:

Android built-in browser. iOS Safari app.

- Other requirements:

The solution should not incur a huge network/CPU/power consumption. It's okay if the solution needs to do things like playing silent audio, obtaining Geo location though.

Taidot: HTML5, Javascript, Mobile App Development, Web Development

Näytä lisää: user registration page php, user manual page layout size, customize a2billing customer user interface page, free remote web page test screen capture, leaving page script, web site user registration page, user registration page design, redirect user previous page, php user registration page, php mysql user registration page, cakephp user profile page, mysite user profile page drupal, user registration page cnet, alert user leaving site, customize user registration page joomla, flash website intro page full screen, user profile page e107, php user registration page email, show pop user leaves page, user registration page using php

Tietoa työnantajasta:
( 0 arvostelua ) Taiwan

Projektin tunnus: #17605732

14 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hi Sir, I have been creating high quality and excellent mobile applications in the past 5 years. I learned various mobile development frameworks, seasoned with experience and in depth knowledge of the mobile Lisää

$800 USD 15 päivässä
(46 arvostelua)

My motto is to provide high quality work and client satisfaction delivered before your deadline. Android | iPad | iPhone | Laraval I React Native I Hybrid app I Bitcoin | E-Commerce | Cryptocurrencies I PHP5 | Magento Lisää

$888 USD 10 päivässä
(16 arvostelua)
$888 USD 10 päivässä
(21 arvostelua)

Dear Hiring Manager, We are very passionate developers with 5+ years of experience in iPhone/iPad, Android application development. Our skills in specially Ios, Android, Objective C, C, C++, MySql, Git, Swift, A Lisää

$888 USD 10 päivässä
(17 arvostelua)

Hi, Hope you doing well sir i read your message in given below i make sure you that i can help you to build Mobile web mechanism that determines user leaving web page or locking screen as better as per your given Lisää

$888 USD 10 päivässä
(12 arvostelua)

Hello we are pmswebsolution07, we work on wordpress , php , html , css , responsive , website speed optimazation ,woocommerce, bridge theme , be-theme, avada theme, devi theme, psd design, psd to html Lisää

$888 USD 10 päivässä
(12 arvostelua)

Hello, I am expert in website development as well as mobile application development.I have more than 7 years of experience. I have highly skilled professionals who can help you in the best way possible. I read th Lisää

$888 USD 10 päivässä
(2 arvostelua)

Hello there! I can develop this feature(that will answer to all your mentioned cases and will not even bother the cpu ) today. And i can finish it in a few hours.

$800 USD 1 päivässä
(1 arvostelu)

Hello I have gone through your description. Thanks for sharing me details. Please provide me further chance to discuss with you. looking forward to your valuable response. Awaiting for your affirmation response Lisää

$800 USD 2 päivässä
(1 arvostelu)

Hello chief, Greetings of the day, I would like to inform you that, I have experience with Android SDK, different versions of Android, and how to deal with different screen sizes. I am very good understanding Lisää

$888 USD 10 päivässä
(1 arvostelu)

have 5 years of experience in the mobile application ( iPhone / iPad ) and App admin development. I have developed the TAXI apps, google map, Event App, Jab Postal App, Restaurant App, Dating App and other apps with cl Lisää

$888 USD 10 päivässä
(0 arvostelua)

Hello Sir! Greetings of the day!! I have read your job description you need a Mobile web mechanism that determines user leaving web page or locking screen. Before we go ahead I had some queries: - May I know th Lisää

$888 USD 10 päivässä
(0 arvostelua)
$888 USD 10 päivässä
(1 arvostelu)

JAYMAN INFOTECH PVT LTD is a contemporary Website design and development company with a focus on user-centered design while helping our clients achieves the desired result. we are a custom software development company Lisää

$888 USD 45 päivässä
(0 arvostelua)