Support Branch Linking. To share this application use: https://mf26.app.link/qp6znBGM3v
Support Mapbox Style Intent Receiver. See description for details.
Map Attribution: (Many thanks to our friends at Mapbox and OpenStreetMaps)
© Mapbox (https://www.mapbox.com/about/maps/
© OpenStreetMap http://www.openstreetmap.org/copyright
See recent New York City Health Inspection reports on a map. Click button to see the nearby restaurants and businesses. You will be amazed at the violation descriptions.
Here's a sample:
Evidence of mice or live mice present in facility's food and/or non-food areas,
Facility not vermin proof. Harborage or conditions conducive to attracting vermin to the premises and/or allowing vermin to exist.,
Evidence of rats or live rats present in facility's food and/or non-food areas
Establishment Closed by DOHMH. Violations were cited in the following area(s) and those requiring immediate action were addressed.
source: https://data.cityofnewyork.us/Health/DOHMH-New-York-City-Restaurant-Inspection-Results/xx67-kt59
Includes a test "Share" button which implements an intent receiver. Can be used as a generic Mapbox Style Viewer for Android native.
If you have a mapbox style and a token and want to show the map using native mapbox then you can use the following example: (replace style and token with your map style and token)
try {
Intent sendIntent = new Intent();
sendIntent.setAction(Intent.ACTION_VIEW);
sendIntent.putExtra(Intent.EXTRA_TEXT,
"mapbox://styles/cityregister/cinyzwrq10003a4npcz3lb1t3");
sendIntent.putExtra(Intent.EXTRA_REMOTE_INTENT_TOKEN,
"pk.eyJ1IjoiY2l0eXJlZ2lzdGVyIiwiYSI6ImNpbnhrMHJhcjE3OHh1Mm0zbnJ6YXZseWcifQ.1TP2MzhnoJCdzX_qYns1BA");
sendIntent.setType("mapbox/style");
startActivity(sendIntent);
} catch(Exception e){
Toast.makeText(MainActivity.this, e.getLocalizedMessage(), Toast.LENGTH_LONG).show();
}
This version of Social Health Inspections Map Android App comes with one universal variant which will work on all the Android devices.
If you are looking to download other versions of Social Health Inspections Map Android App, We have 1 version in our database. Please select one of them below to download.