SharedPreferences myPrefs =
youractivityname.this.getSharedPreferences("myPrefs", MODE_WORLD_READABLE);
  SharedPreferences.Editor prefsEditor = myPrefs.edit();



On Sun, Mar 10, 2013 at 12:15 AM, Jonathan S <[email protected]> wrote:

> in Shared1, Context.MODE_PRIVATE
> in Shared2, 
> getContext().getSharedPreferences<http://developer.android.com/reference/android/content/Context.html#getSharedPreferences%28java.lang.String,%20int%29>("top5",
> Context.MODE_PRIVATE)
>
> On Saturday, March 9, 2013 4:43:08 AM UTC-5, lselwd wrote:
>>
>> I have problem working with SHARED PREFERENCES, I think is project
>> specific... i used the same before without errors but now get error.... see
>> attachments, well?
>>
>  --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>



-- 
Thanks& Regards
Deepa M

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to