开发者

android phone as server? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I want to host a web server on phone ,but is it good idea ? I have to consider about the limited amount of memor开发者_如何学Cy , battery etc . Any ideas on how to tackle these issues ? If so , what type of web servers can be used ?

Thanks in advance


It is possible but only a good idea in unusual circumstances

  • Most mobile networks are not set up for inbound traffic, so you'd need to be on wifi sourced from something that was (or service lan-local clients)

  • Without rooting, you cannot open traditional ports for major services, but only unprivileged higher number ports

  • android is not really designed to keep something always running without user interaction; you can use a boot complete receiver, and wakelocks and it may generally work but it's not what the platform was designed to insure. Or with root you can modify the startup files and run command-line programs without ever starting the android runtime.

  • You'd almost certainly want a power supply

  • You can buy a comparable embedded arm platform more suited to this use for less than a reliable source of android phones would run, something like a beagle-board variant with wired ethernet.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜