Communication with App Detail Settings using Titanium Intent #13547
-
I want to open the app details- or permission-settings by confirming a alert dialog. If I try to start the intent views/index.xml
styles/index.tss
controllers/index.js
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
click on the window: var win = Ti.UI.createWindow();
win.open();
win.addEventListener("click", function(e) {
var intent = Ti.Android.createIntent({
action: 'android.settings.APPLICATION_DETAILS_SETTINGS',
data: "package:" + Ti.App.id
});
intent.addFlags(Ti.Android.FLAG_ACTIVITY_NEW_TASK);
Ti.Android.currentActivity.startActivity(intent);
}); |
Beta Was this translation helpful? Give feedback.
click on the window: