This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class MainActivity extends AppCompatActivity | |
implements NavigationView.OnNavigationItemSelectedListener { | |
public static final int REQUEST_ID_MULTIPLE_PERMISSIONS = 1; | |
public static final int MULTIPLE_PERMISSIONS = 10; // code you want. | |
String[] permissions= new String[]{ | |
Manifest.permission.WRITE_EXTERNAL_STORAGE, | |
Manifest.permission.CAMERA, | |
Manifest.permission.ACCESS_COARSE_LOCATION, | |
Manifest.permission.ACCESS_FINE_LOCATION}; |