Monday, 6 July 2015

TO LINK TO SETTINGS FROM OUR APP IN ANDROID DEVICE



This is useful when we want user to redirect to settings from app so user could turn on wifi or bluetooth or anything from settings required for app

You already knew how the settings look like but to make you remember what it is

have a look at it 



To link to that here 's the code for it 

Intent dialogIntent = new Intent(android.provider.Settings.ACTION_SETTINGS);
                     dialogIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(dialogIntent);



No comments:

Post a Comment