Skip to main content
Participant
September 19, 2011
Question

issue with calling url using custom uri from page loaded in stagewebview

  • September 19, 2011
  • 5 replies
  • 1364 views

I am using stageWebView for showing webpage in my mobile app but don't know how to move back to my app once it gets loaded. In application descriptor file, I had already registered custom uri scheme (myapp://) for IOS devices and from the loaded page inside stageWebView, I was trying to call following URL myapp://webcam. But nothing had happened. It neither called LOCATION_CHANGE event of StageWebView not called INVOKE_EVENT of nativeapplication.

How can I fix this issue?

Thanks in advance,

Mamta

This topic has been closed for replies.

5 replies

Adobe Employee
September 19, 2011

Hi,

Does your application get launched correctly if you invoke it by clicking a myapp: link from the standalone Safari browser?       

ria_mamtaAuthor
Participant
September 20, 2011

Hi Ashutosh,

yea it gets launched correctly from safari. But my problem is with the link(which is using custom uri scheme e.g myapp://backtoapp) in the loaded page inside StageWebView. It is not allowing app to moveback to app from StageWebView. Moreover these two event listeners INVOKE_EVENT(native application) and LOCATION_CHANGE(stagewebview) are not responding. Dont know what should I do in order to move back to app area(mainView.mxml) from StageWebView(native browser).

Thanks,

Mamta

Adobe Employee
September 20, 2011

Hi,

Could you try listening for the LOCATION_CHANGING event and use navigateToURL() to launch the myapp: URI from the handler?