03-09-2010, 12:09 AM
Join Date: Feb 2010
Post Thanks: 0
Thanked 0 Times in 0 Posts
| | Problem in connecting to SDCard
Please Login to Remove!
I am connecting my app with SDCard and creating a database file there. I am using eclipse. I have created the SDCard folder in My Documents and gave its path in the Change SD Card Option. File is successfully created there.
But the problem is i have to go to the change SD card option everytime i debug my application and add the same SDCard directory there otherwise it does not detect SDCard and saves the database file in device memory as i have given the path of device memory if the SDCard is not found.
And when i restart eclipse then even add directory does not work and i have to delete the old SDCard and create a new one. Otherwise the file is not created in the SDCard or there is an exception that file not found.
Please tell me where i am making a mistake or give some solution so that i don't have to connect to SDCard everytime i debug and create a new SDCard everytime when i restart my eclipse.