You can get the path of sdcard from this code:
File extStore = Environment.getExternalStorageDirectory();
Then specify the foldername and file name
for e.g:
"/LazyList/"+serialno.get(position).trim()+".jpg"
More Related Contents:
- Picasso v/s Imageloader v/s Fresco vs Glide vs Coil [closed]
- Android Gradle plugin 0.7.0: “duplicate files during packaging of APK”
- How to get current memory usage in android?
- Change application’s starting activity
- How to use custom font in a project written in Android Studio
- Usage of forceLayout(), requestLayout() and invalidate()
- Show GIF file with Glide (image loading and caching library)
- How to test android referral tracking?
- NDK Resolution Outcome: Project settings: Gradle model version=5.4.1, NDK version is UNKNOWN error
- How to check edittext’s text is email address or not?
- Android Volley + JSONObjectRequest Caching
- I can’t install intel HAXM
- You need to use a Theme.AppCompat theme (or descendant) with this activity. Change to Theme.AppCompat causes other error
- Could not find com.android.tools.lint:lint-gradle Android Studio 3
- Rotate zoom drag image in android imageview
- Google Geocoder service is unavaliable (Coordinates to address)
- How to update Google Play Services for Android Studio 2.2 emulators?
- Android MediaRecorder – “start failed: -19”
- Add gradient to imageview
- React-Native :java.lang.UnsatisfiedLinkError: couldn’t find DSO to load: libhermes.so
- filling a circle gradually from bottom to top android
- “Calling this from your main thread can lead to deadlock and/or ANRs while getting accesToken” from GoogleAuthUtil(Google Plus integration in Android)
- Android Emulator on Windows 10
- capture permission granted complete event
- How can I test fragments with Robolectric?
- How to solve (Could not initialize class org.codehaus.groovy.reflection.ReflectionCache) issue in react native
- android: what is the difference between focused, enabled, pressed, and selected states?
- Error “Could not load SSL library” on Android with TidHTTP
- Android – Error building Player: CommandInvokationFailure: Failed to re-package resources
- Android 13 – READ_EXTERNAL_STORAGE_PERMISSION still usable