Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
check location service is enable or not in android device
Post Flair (click to view more posts with a particular flair)
Post Body

sorry for asking this but i am not a mobile app developer. we are using mobile device management (mdm) to manage android enterprise mobile device but the mdm did not has the feature to enforce location service to enable in settings app.

i would like to ask how developer code their app if the app requires location service to enable in device level before can use the app? is there such coding way to always check if device location service is on or not when the app is launch to use? if location service is off, a pop-up will prompt user to on it and the app will be shutdown if location service is off until user on it?

Edit 1: the location service at device level i referring to is the below (in red):

https://preview.redd.it/n8ntcgrx1ji81.png?width=593&format=png&auto=webp&s=91ced3ccf192ecd5262b85e82cf1d0ea78ea59b4

Author
Account Strength
90%
Account Age
4 years
Verified Email
Yes
Verified Flair
No
Total Karma
737
Link Karma
183
Comment Karma
554
Profile updated: 3 days ago
Posts updated: 3 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
2 years ago