java - How to get default camera storage location when the photo is taken? -


environment.getexternalstoragedirectory().getabsolutepath(); 

above code absolute path of sd card. don't know how storage location of picture taken using in-built camera in android phone.

can give me possible code question .

it's in environment class. see javadoc environment.directory_dcim. pass value getexternalstoragepublicdirectory() final directory.


Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -