当前位置: 首页 > news >正文

南同网站建设hr系统管理软件排名

南同网站建设,hr系统管理软件排名,做交易网站需要用到的软件有哪些,建公司网站外贸每当在 Android 移动设备上调试网页时#xff0c;开发人员往往都会不自觉陷入调试的泥潭中去。《Android开发指南》提供了一个解决方案#xff0c;却有点繁琐复杂。因此#xff0c;许多 Web 开发人员会倾向于使用类似 Firefox Firebug 的或像 WebKit 的 Web Inspector 之类的… 每当在 Android 移动设备上调试网页时开发人员往往都会不自觉陷入调试的泥潭中去。《Android开发指南》提供了一个解决方案却有点繁琐复杂。因此许多 Web 开发人员会倾向于使用类似 Firefox Firebug 的或像 WebKit 的 Web Inspector 之类的工具进行调试因为它们的确容易使用而且功能强大。不过即使开发人员使用了这些工具但又有另外一个问题就是调试的结果与最终设备上显示的完全不同。对此我们决定去创建一套属于自己的解决方案——就是根据 Android 团队所提出标准解决方案衍生出来的这么一个工具——而实际上却又要简单得多的工具。我们称它为“RemoteJS”RemoteJS 允许您调试真正运行在 Android 设备中 JavaScript 代码或者说就是一个在你工作站上所运行的仿真器。 Developers often run into debugging hurdles when testing web pages for Android mobile devices. And, while the Android Developers Guide provides a solution, it’s a bit cumbersome and complex. So, many web developers often turn to tools like Firefox’s Firebug or Webkit’s Web Inspector because they are easy to use, powerful, and convenient. However, what developers often find when using these tools is that the end result is quite different on the actual device. We decided to create our own solution — a tool based on the standard solution proposed by the Android team, but much simpler to use. We call it RemoteJS, a tool that enables you to debug your JavaScript code while running on an Android device or emulator from your workstation. Build RemoteJS 构建 RemoteJS 程序是一个相当直截了当的过程。首先请确认您已安装了 Qt 框架。然后在Sencha 实验室源码库全新的“Android 工具”那里下载我们 RemoteJS 源代码。构建桌面应用程序如下 Building the application is a fairly straight forward process. First, confirm that you haveQt framework installed. Then, download the RemoteJS source code from our brand new Android Tools repository on Sencha Labs.Build the desktop application as follows: [plain] view plaincopy git clone git://github.com/senchalabs/android-tools.git   cd android-tools/remotejs/src/desktop   qmake  make    接着需要做的的就是安装 Android SDK将设备联入计算机或启动你的模拟器。下面的截图是位于模拟器旁边一个的 RemoteJS 工具用来检测来自Sencha Touch 的例子 Next, all you need to do is install the Android SDK, plug your device in (or launch your emulator), and you’re ready to go. Here’s a screenshot of the RemoteJS tool running next to an emulator, inspecting anexample from Sencha Touch: 该程序会自动安装一个包包的名字与设备上的名称相同。这个工具实际上是代替 Android 浏览器的网页加载器。由于两款程序都是使用同一款的 Web 浏览器引擎所以从程序员角度看不需要顾忌那些一致性的担心。用于正是这两个应用程序相同。欲了解工作原理及实施细则请参阅自述文件。只需在控制台上输入 URL 就可以打开网址。如果你输入不包括开头的协议就默认是“www”的。如果你连接超过一个以上的设备您将会在一个列表中作出选择。同样当您断开连接的设备时它会侦测这一事件然后它会回落到刚才唯一连接着的设备。然后等待直到你再次连接下一个设备。请注意要输出一些内容你需要使用console.log。 The program automatically installs a package with the same name on the device.  This tool will actually be the one loading your page, instead of the Android browser.  This doesn’t represent any concern from the developer’s perspective, since the web engine component that is used is exactly the same on both applications. For further details on how it works and the implementation details, please refer to theREADME. To open a specific URL, just enter it on the console.  If you don’t include the protocol, only addresses starting with “www” will be validated.  If you have more than one attached device, you’ll be presented with a list to choose from.  Similarly, it will detect when you disconnect the device already being used.  It will then fall back to the only attached device left, if that’s the case, or wait until you connect one again. Please note that in order to actually get some output back, you need to make use of console.log. 编写远程调试的脚本 Scriptable Remote Debugging 我们认为既然 GUI 版本的工作那么好于是我们可以写类似而且无缝的东西。主要目标是充分利用 Python 中已选择实现的语言自动化页回归测试。为此写一个Android 调试桥Android Debug BridgeADB的 Python 模块便可以非常灵活地从您的主机上写脚本。自然一个 RemoteJS 外壳版本也写在 adb 模块的顶部。它侦听 stdin 输入的 JavaScript 命令然后输出结果到 stdout。这里马上就有一个例子调试另一个Sencha Touch 的例子 We thought that since the GUI version worked so well, we could write something similar that would run headlessly.  The main goal was to automate page regression tests, taking full advantage of Python, the chosen implementation language.  For that, anAndroid Debug Bridge (adb)Python module was written, which allows for very flexible scripting from your host. Naturally, a shell version of RemoteJS was also written on top of the adb module.  It listens for JavaScript commands on stdin and output results to stdout.  Here’s the tool in action, debugging another Sencha Touch example: 未来 Coming Up 源代码不断在变化我们计划为这些工具注入更多的功能。欢迎你以任何方式参与贡献。adb Python模块将有可能远程自动注射设备上记录的事件并可在任何时候进行截图。这将使线性的自动检查一致性成为可能。所以敬请关注并不妨 clone 我们公共库上的Android 工具包然后亲自试一试。所有可用都遵循 MIT 许可。 The source code is changing constantly, and we plan to extend the capabilities of these tools.  You’re more than welcome to contribute in any way. With the adb Python module, it will be possible to remotely automate the injection of recorded events on the device and grab screenshots at any point.  This will allow automated verification of behavior consistency along time. Stay tuned and please feel free to clone our android-tools public repository to play around with the tools and code.  All is available under the MIT license. REFERENCES:http://blog.csdn.net/zhangxin09/article/details/7069583
http://www.pierceye.com/news/743009/

相关文章:

  • 青岛网站制作服务装饰设计素描
  • 物流网站公司站外调用WordPress评论
  • 免费的行情网站下载安装拍艺术照
  • 佛山网站设计多少钱兴国做网站
  • 自己可以做网站生意好做吗手机制作音乐的软件app
  • 国土政务网站建设制度下载购物app
  • 阿里云一键建站网站网站前端浏览器兼容如何做
  • 如何看一个网站的备案在哪里做的多媒体资源库网站建设
  • 店铺推广软件广州推广优化
  • 做读书笔记的网站wordpress主题miku
  • 淘掌门官方网站wordpress注册验证邮箱验证
  • 牡丹江市建设局网站网站功能项目报价
  • 网站系统管理网站制作报价ihanshi
  • 陈村网站开发网站应该如何进行优化
  • 做网站什么语言最好电商有哪些平台app
  • 做号网站做旅游网站运营
  • 陕西省西安市网站建设公司都江堰网站建设
  • 怎么做网站xml地图导航条 Wordpress
  • 网站建设合同或方案书网站备案多长时间
  • 广州学生做网站山东德州网站建设哪家最专业
  • 类似pc蛋蛋的网站建设建设官方网站意义
  • 公积金门户网站建设方案阿里国际站韩语网站怎么做
  • 粉色大气妇科医院网站源码软件系统app开发
  • 跨境自建站模板建设个公司网站需要多少费用
  • 帮客户做ppt什么的在哪个网站泰安做网站多少钱
  • 如何查网站空间游戏网站开发找什么人可建
  • 网站备案图标怎么添加为农村建设网站报告
  • 网站建设公司成都北京有哪些炫酷的网站页面
  • 中医医院网站建设需求网络优化这个行业怎么样
  • 做兼职网站的主要参考文献洪栾单页网站建设