[TIMOB-24050] Android: Be able to open particular application's system settings.
GitHub Issue | n/a |
---|---|
Type | New Feature |
Priority | Medium |
Status | Closed |
Resolution | Done |
Resolution Date | 2018-01-20T21:05:24.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Android |
Labels | n/a |
Reporter | Shuo Liang |
Assignee | Unknown |
Created | 2016-10-19T00:25:22.000+0000 |
Updated | 2018-08-06T17:34:46.000+0000 |
Try hyperloop?
Hyperloop example (PoC):
You could try
activity.getPackageName()
to get it from the native activity, updated the example.The context is nothing else but the activity, so you can just use the casted activity and get it from there (
var activity = new Activity(Ti.Android.currentActivity);
). See the[android.content.Context](https://developer.android.com/reference/android/content/Context.html)
class that is the super class of all activities.Question answered last year, resolving now.
Closed as completed. If this is in error, please reopen.