android - How to get a DialogPreference to popup so that I can create a wizard-style UI? -


i have number of preferences need set , want guide user through flow popping individual preference dialogs (listpreference, edittextpreference etc.), 1 @ time can create wizard-style ui.

as user fills in pref, closes , next 1 opens up.

as far know, user has click on preference dialog popup.

is there way programmatically?

you can use onitemclick perform click on preference item.

get preference position preference order.

int position = findpreference("language").getorder(); 

language preference key.

then, onitemclick on preference item position.

getpreferencescreen().onitemclick(null,null,position,0); 

Comments

Popular posts from this blog

c++ - How to add Crypto++ library to Qt project -

jQuery Mobile app not scrolling in Firefox -

How to use vim as editor in Matlab GUI -