On Sat, Jan 29, 2011 at 10:23 AM, markus <[email protected]>wrote:

> I've tried several ways, eg.
>
> ( (android.preference.DialogPreference)
> prefMgr.findPreference( "abc" )).showDialog(null);
>
> but with no result. (This does not work because it is a protected method).
>

An easy way to access a protected method is to create your own class that
extends the class in question and exposes the protected function.

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