你怎么可以做手机到服务器时,开发模拟器或Wi-Fi是不是一种选择? [英] How can you do phone-to-server development when simulators or Wi-Fi are not an option?

查看:156
本文介绍了你怎么可以做手机到服务器时,开发模拟器或Wi-Fi是不是一种选择?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作在一个组织中的多个手机(iPhone /黑莓/ Android版),其中无线网络连接是严格禁止的项目。该项目的性质采用了手机的相机使模拟器程序不是一个选项,它需要能够进行通信的服务器上,因此需要某种形式的连接。

I'm working on a project for multiple mobile phones (iPhone/BlackBerry/Android) in an organization where Wi-Fi is strictly forbidden. The nature of the project employs the phones' camera so simulator programs are not an option, and it needs to be able to communicate to a server, so some form of connectivity is required.

所以我的问题是,我不能用手机的摄像头,以及有它不是我的开发机或集群QA沟通。我不能让手机以无线方式,因为上述的Wi-Fi禁令在网络上。我可以把它传达了使用3G或不管它用于连接互联网,但随后就看不到我的本地机器或我们的QA环境,因为这些都不是对外界可见。我不能只使用模拟器,因为我需要使用相机。

So the problem I have is that I can't use the camera of the phone as well as have it communicate with either my development machine or a QA cluster. I can't get the phone to be on a network wirelessly because of the aforementioned Wi-Fi ban. I can have it communicate over the Internet using 3G or whatever it uses to connect, but then it can't see my local machine or our QA environment because those aren't visible to the outside world. And I can't just use the simulator because I need to use the camera.

我看到它的方式我唯一真正的选择是模拟通信从文件加载绝技映像的服务器,然后测试实际的手机到服务器的通信时,通信一块去生产,或者做的多少测试,我可以一些其他的Wi-Fi网络上,像一个在我家。

The way I see it my only real options are to simulate the communication to the server with "stunt" images loaded from files and then test the actual phone-to-server communication when the communication piece goes to production, or do as much testing as I can on some other Wi-Fi network, like the one at my house.

如果这些电话具有以太网插口 - 或可以共享它们附连到设备的网络连接 - 我的问题将得到解决。或者,如果模拟器可以使用,比如说,通过USB连接一个网络摄像头(这不会模拟手机实际拍照的功能,但可能会比没有好)。不同的手机平台有不同的模拟器事实是不可避免的,但局势进一步复杂化。

If these phones had Ethernet jacks - or could share the network connection of the machine they're attached to - my problem would be solved. Or if the simulators could use, say, a webcam attached via USB (which would not simulate the capabilities of the actual camera in the phone but might be better than nothing). The fact that different phone platforms have different simulators is unavoidable but complicates the situation further.

有没有人跑进前,这个问题并具有创造性的解决方案?

Has anyone ran into this issue before and has an inventive solution?

推荐答案

检查周围的WiFi禁止的规则。看看你是否可以使用连接到您的Mac开发一个密封的法拉第笼的房间,没有外网访问内的机场防爆preSS。您的组织可能已经进入这样的房间。

Check the rules around the wifi prohibition. See if you can use an Airport Express wired to your development Mac inside a sealed Faraday cage room with no external network access. Your organization may already have access to such rooms.

或者看看你是否能克隆你的QA服务器(与非机密的测试数据)是一个外部的测试设备或测试网站上。

Or see if you can clone your QA servers (with non-confidential test data) at an outside test facility or test site.

这篇关于你怎么可以做手机到服务器时,开发模拟器或Wi-Fi是不是一种选择?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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