小编Tar*_*ras的帖子

Android上没有互联网的强制门户网站

美好的一天.我需要WiFi热点上的Captive Portal,它可以在没有互联网的情况下工作,并弹出通知或自动打开登录页面.我正在使用Mikrotik和RouterOS 6.27.我创建了热点,然后在DNS中添加了一个RegExp

.*= HOTSPOT_IP_ADDRESS

它在Windows和iOS中运行良好,因为它们的强制门户检测基于获取某些网站的响应.Afaik - 任何回应.但对于Android,它必须是一些特殊的响应,空的内容或状态代码204 - 我仍然不确定.

我试图模仿谷歌页面给出204或空响应并使用此模拟页面重定向到我的服务器,但它没有帮助Android显示通知.

所以我需要帮助才能在没有互联网的情况下在Android中进行强制门户通知

谢谢.

wifi android-wifi mikrotik

13
推荐指数
0
解决办法
2971
查看次数

Delphi SOAP数组问题

我有一个用delphi创建的SOAP应用程序.

输入到服务器正确.但输出总是空的.r对象(响应)已创建,但length(r.notes)始终为0.如果我执行没有数组的应用程序,它也可以正常工作.问题出在哪儿?3天的谷歌搜索和尝试不同的combinatios没有帮助.

接口:

////////////// INPUT ///////////////////////
type TClientInformationStructure= class(TRemotable)
  private
    fClientApplicationName:string;
    fClientApplicationPassword:string;
    fRequestIdentifier:string;
    fStartSequenceNumber:integer;
    fNumberOfNotes:integer;
  published
    property ClientApplicationName:string read fClientApplicationName  write fClientApplicationName;   //Name of calling application
    property ClientApplicationPassword:string read fClientApplicationPassword write fClientApplicationPassword;          //Password that calling application must use to call the service
    property RequestIdentifier:string read fRequestIdentifier write fRequestIdentifier;//Transaktionsid from calling system that is stamped in all loggings for service,
                                                                                       //so that later it is easy to compare client and server logs. May be null.
    property StartSequenceNumber:integer …
Run Code Online (Sandbox Code Playgroud)

arrays delphi soap

7
推荐指数
1
解决办法
8854
查看次数

标签 统计

android-wifi ×1

arrays ×1

delphi ×1

mikrotik ×1

soap ×1

wifi ×1