how show link location settings using window phone api. able show link enable wifi, cannot find anywhere how show location setting
you cannot that.. because location settings specific each , every application. how implementation expected ms well. otherwise app rejected. so, application should have settings option user can disable , enable location access application. while accessing location must consider phone location access settings too.
geocoordinatewatcher g = new geocoordinatewatcher(); g.start(); if (g.permission.equals(geopositionpermission.granted)) { // check application level access , proceed } else if (g.permission.equals(geopositionpermission.denied) || g.permission.equals(geopositionpermission.unknown)) { // code/message user notifying location access being disabled @ device level }
Comments
Post a Comment