Android的AIR的StageWebView问题 [英] Air for android StageWebView issue

查看:979
本文介绍了Android的AIR的StageWebView问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我目前正在创建一个应用程序,有一个的StageWebView显示一个网站的内容。当我在正常的Andr​​oid浏览器加载该页面时,我得到了认证弹出,它允许用户登录,如下所示:

I'm currently creating an app that has a stagewebview to display the contents of a website. When i load this page in the normal android browser i get the authentication popup which allows the user to login as shown below :

当我测试影片闪光灯毫升亲们,这是我所得到的:

When i test the movie in flash cc pro, this is what i get :

但是,当我把APK到设备并播放,没有在对话的迹象,它只是直行到未授权页面没有给我签的选项。

But when i put the APK on to the device and play it, there is no sign in dialog, it is just going straight to the not authorized page without giving me the option to sign in.

谁能帮我这个IM pretty的停留在一个固定。

Can anyone help me out with this im pretty stuck on a fix.

感谢

推荐答案

本的StageWebView差异都提到了以下博文 的https://helpx.adobe.com/air/kb/stagewebview-differences-platforms-air-sdk.html

The stagewebview differences are mentioned in the following blogpost https://helpx.adobe.com/air/kb/stagewebview-differences-platforms-air-sdk.html

它清楚地说

**HTTP authentication dialog is not implemented on mobile (iOS/Android)**

Currently no default UI is implemented on mobile for HTTP authentication. On
desktop HTTP authentication uses the default OS dialog for authentication. 
Event though the authentication dialog is disabled, the developer can create 
their own UI and use the URLRequest API to do basic or digest authentication.

这篇关于Android的AIR的StageWebView问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆