构建Android应用程序在Android平板电脑上运行PHP和MySQL [英] Building Android app for running PHP and MySQL on Android Tablet

查看:782
本文介绍了构建Android应用程序在Android平板电脑上运行PHP和MySQL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在我的Andr​​oid设备上运行PHP + MySQL服务器。人们似乎暗示如 KSWeb 和的Bit网络

I want to run PHP + MySQL server on my Android Device. People seem to suggest applications like KSWeb and Bit Web.

建议其他的解决方案,我安装<一href="https://play.google.com/store/apps/details?id=com.zpwebsites.linuxonandroid&hl=en">application这使我能够在Android 运行Linux。这就要求Android设备,必须铲除。 :(

Other solutions suggested are that I install an application that allows me to run Linux on Android. This requires the Android Device to be rooted. :(

我不希望使用任何其它的应用程序。所以,我想建立类似的应用程序 KSWeb 的自己。我已经搜索周围如何开始构建这样的应用程序,但它并没有帮助至今。关于如何去对此有何指导?

I don't want to use any other application for this. So I would like to build an application similar to KSWeb myself. I have searched around for how to start building such application but it has not helped so far. Any guidance on how to go about this?

我的意思是它怎么可能KSWeb建立这样的事情,没有根。 :o

I mean how is it possible for KSWeb to build something like this, without root. :O

在如何去构建这个应用程序将是非常有帮助的任何指导。

Any guidance on how to go about building this application would be very helpful.

某处有人告诉我,让编译ARMv6的二进制文件,但我不知道如何下手。

Somewhere I was told to get the binaries compiled for ARMv6, but I don't know how to start.

可以 NDK 是我有用处?

请帮助。

推荐答案

我目前维持免费和开源的web服务器解决方案堆叠封装,主要包括的Lighttptd HTTP服务器,MySQL数据库,PHP编程语言。它目前仍处于测试阶段。

I am currently maintaining free and open source web server solution stack package, consisting mainly of the Lighttptd HTTP Server, MySQL database, PHP programming languages. It is still at beta stage.

它可以为您提供有关如何开发这种类型的东西在Android的一个基本思路。

It can give you a basic idea about how to develop this type of stuffs in android.

是的,它的真正的二进制文件必须按顺序使文件的可执行文件编译为ARM CPU。

Yes, its true binaries must compiled for ARM CPU in order make file executable.

您还可以使用NDK,但我建议你去与像 codeSourcery Linaro的

And you can use NDK but i recommend you to go with alternatives like CodeSourcery or Linaro

下面的一些入门教程交叉编译的Linux程序ARM

Here some starter tutorial for cross compiling Linux program to ARM

  • ARM交叉编译
  • <一个href="http://stackoverflow.com/questions/9324772/cross-compiling-static-c-hello-world-for-android-using-arm-linux-gnueabi-gcc">Cross编译静态C的Hello World
  • ARM cross-compiling
  • Cross compiling static C hello world

反正你可以阅读这篇文章我如何交叉编译的DroidPHP

Anyway you can read this article how i cross compile for DroidPHP

这篇关于构建Android应用程序在Android平板电脑上运行PHP和MySQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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