I have an iframe inside a webview that opening a link. The link opens in the same window for iOS, and it opens in a new window for Android. I need to detect when this new window (also a new activity, since it launches a heavyweight window) is opened. I've tried tracing out $MyWindow.activity and Ti.Android.currentActivity but it doesn't return anything. How do I do this?
↧