Launching a dialog from preferences?

by jsdf » Sun, 08 Mar 2009 07:41:38 GMT


Sponsored Links
 Hi,
Is there a way to launch a dialog (say, the dialog I show to users the
first time they launch the app) from a preferences entry?

I don't see any examples doing this in the API Demos, nor have I seen
it out in the wild.

I do see a class called DialogPreference, but this doesn't seem to be
what I want.

Thanks.
--~--~---------~--~----~------------~-------~--~----~



Launching a dialog from preferences?

by Mark Murphy » Sun, 08 Mar 2009 07:57:41 GMT


 


If you just need it from the preferences activity, you could always put
it as an option menu choice.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 

Android Training on the Ranch! -- Mar 16-20, 2009
 http://www.bignerdranch.com/schedule.shtml 

--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


Launching a dialog from preferences?

by Stoyan Damov » Mon, 09 Mar 2009 07:07:41 GMT


 Search this list for SeekBarPreference. Marc Tan (thanks again Marc)
shared an example of a DialogPreference subclass which displays a seek
bar. You can use it as a starting point to create your own dialog and
stick whatever you need in it.

Cheers




--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. how to install the 'Radar' package to the android platform?

Hi,

How to install the 'Radar' package to the android platform?
When I run an application it said 'Please install Radar package'

Thank you.
--~--~---------~--~----~------------~-------~--~----~

2. How to compile external packages using android toolchain.

Hi,

Can anyone please help me out that how can i compile external packages
inside Android ??

Actually i want to compile an external package (not part of the Android file
system) using android tool chain

So how can i do it ?

Thanks & Regards
Nimit Manglick

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. OMX AAC Decoding on Hardware

4. ServiceManager( 472): error in addService

5. MediaStore.Images.Media.INTERNA L_CONTENT篓_URI

6. Working on an FAQ that includes a list of ports. Wondering if I have them all listed.

7. wpa_supplicaent