So, I am making a wallpaper, and I want the user to select a folder. So I have a button in the settings that launches the intention to open the image, but what I want is actually just a directory (I think, in the worst case scenario, I can delete the file name from the end). So my first problem: what's the best way to select only a folder?
The second problem is how do I get notified when an intention to complete?
public class FilePreference extends DialogPreference implements View.OnClickListener { public void onClick(View v) {
source share