[android-developers] Re: Problem reading/saving a preference
I decided to pull my preference files, and I noticed something
interesting. I have two file, the main preference file that contains
two values to other preferences, and another file called imagePref
which only stores the imagePref string with the correct information.
How would I go about reading this one?
On Jan 17, 8:12 pm, GT <burlysk...@gmail.com> wrote:
> I tried this, and it didn't do it. For some reason it is either not
> saving the \sdcard\DCIM\image.png or it is having trouble retreiving
> the string from the preferences
>
> On Jan 17, 7:37 pm, Xavier <wutie...@gmail.com> wrote:
>
>
>
> > Hello GT,
>
> > I doubt that you put the file's absolute path to preference and you
> > new a file with parent directory path and child path.
>
> > How about creating file this way: "File f = new File(imageBg);" ?
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home