I think you mean save the position of the seekbar (eg users preference)
then you can use shared prefs .
this thus:
onCreate reads the shared prefs and sets the value of the seekbar
your 'save' function then writes the value to shared prefs.



On 14 July 2013 17:34, Keith Zettler <[email protected]> wrote:

> So we come full circle . How exactly can i save/restore this seekbar if
> user uses back button or activity is destroyed. Does anyone have a seekbar
> specific example ?
>
> On Saturday, July 13, 2013 12:32:01 AM UTC-4, TreKing wrote:
>>
>>
>> On Fri, Jul 12, 2013 at 7:07 PM, Keith Zettler <[email protected]>wrote:
>>
>>> This activity is called via intent from the first activity. If i back
>>> button from this activity to the first activity the seekbar value returns
>>> to zero when i get back.
>>
>>
>> http://developer.android.com/**training/basics/activity-**
>> lifecycle/recreating.html<http://developer.android.com/training/basics/activity-lifecycle/recreating.html>
>>
>> ------------------------------**------------------------------**
>> ------------------------------**-------
>> TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
>> transit tracking app for Android-powered devices
>>
>  --
> --
> 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.
>
>
>



-- 
Sent from an Ubuntu Desktop.

Ubuntu Speech 
input<https://play.google.com/store/apps/details?id=com.nds.ubuntuspeechinput>is
now available on Google Play, along with Magnetic
Door Alarm 
app<https://play.google.com/store/apps/details?id=com.nds.magneticdooralarm>
.

-- 
-- 
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