Thanks for all the help! 
 
I'll give this a whirl and let you know how it works out.
 
B.

On Monday, July 16, 2012 5:42:24 PM UTC-7, TreKing wrote:

> Do you have any further insights as to how I can get this button to return 
>> the user to the mainactivity screen?  
>
>
> Get the Preference in code:
>
> http://developer.android.com/reference/android/preference/PreferenceActivity.html#findPreference%28java.lang.CharSequence%29
>
> Then set the intent programmatically.
>
> http://developer.android.com/reference/android/preference/Preference.html#setIntent%28android.content.Intent%29
>
> The intent itself would probably just be an explicit one referencing your 
> main activity, perhaps with the CLEAR_TOP flag (I think that's the one) to 
> wipe your stack.
>
>
> -------------------------------------------------------------------------------------------------
> 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

Reply via email to