Project

General

Profile

[UE] How to port lighttpd for Android(AOSP11/12) in source code

Added by Anonymous over 1 year ago

I trying to integrate the Lighttpd web server into the android(AOPS11/12) source code.

How to integrate Lighttpd in AOSP11/12 into the source.

Best regards,
Naren K


Replies (7)

RE: How to port lighttpd for Android(AOSP11/12) in source code - Added by gstrauss over 1 year ago

I trying to integrate the Lighttpd web server into the android(AOPS11/12) source code.

It does not appear that you are trying. Instead, you're asking someone to tell you how to do it:

How to integrate Lighttpd in AOSP11/12 into the source.

If you are actually trying, what have you tried? What problems did you run into?

Please carefully re-read How to get support

Then start with the wiki page InstallFromSource.

RE: How to port lighttpd for Android(AOSP11/12) in source code - Added by Anonymous over 1 year ago

you're asking someone to tell you to do it:

Sorry, that was not my intention. I am seeking help from this forum to get some ideas to integrate the Lighttpd into the android source code.

Before posting questions in this forum I tried diff ways to integrate Lighttpd into the android source code.
Please find below :

1. Followed this (https://hex.ro/wp/blog/php-and-lighttpd-for-android/), but shared (php-5.4.2_lighttpd_1.4.29_armv5.tar.gz & php-5.3.8_lighttpd_1.4.29_armv5.tar.gz) files
are not working for downloading. I am unable to proceed next step.

2. Followed this link (https://hamer--blog-logdown-com.translate.goog/posts/141723-how-to-port-lighttpd-to-android?_x_tr_sch=http&_x_tr_sl=zh-
CN&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=sc) to integrate lighttpd in android source code.
Unfortunately, the android11/12 code is not matching their suggestion patch.

3. Followed this link (https://github.com/nredko/lighttpd-arm), Cloned this code, and followed the suggested steps. Clone source code not able to compile in android studio.

4. Floowed this link (https://github.com/DroidPHP/DroidPHP/issues/93) I am able to generate the API but it's not running the Lighttpd server.

Am I going the proper way? Now I am completely blocked and I am new to this work.

Can you please suggest to me any steps or documents integrate "lighttpd" into the Android(AOSP11/12) source code?

RE: How to port lighttpd for Android(AOSP11/12) in source code - Added by gstrauss over 1 year ago

Can you please suggest to me any steps or documents integrate "lighttpd" into the Android(AOSP11/12) source code?

I have not attempted to build lighttpd under the Android environment, which is why I asked for more details. I asked:

What problems did you run into?

Details include information beyond "it did not work".

RE: How to port lighttpd for Android(AOSP11/12) in source code - Added by Anonymous over 1 year ago

I have cloned compiled "lighttpd-arm" source code. Do you have any idea how we will get to know source code compiled successfully (because apk is not generated) and how to test this code.

RE: How to port lighttpd for Android(AOSP11/12) in source code - Added by gstrauss over 1 year ago

Do you have any idea how we will get to know source code compiled successfully (because apk is not generated) and how to test this code.

Yes, I do, or else I would have not told you that your best starting point is https://github.com/nredko/lighttpd-arm.

I also know from that question that you have no idea what you are doing or where to begin. You are not only asking someone to do it for you, you are asking someone to walk you through every step along the way.

If you have never created a trivial, "Hello World!" program using this toolchain, you should start there.

This site is not a how to use Android NDK. Full stop.

For the links you posted above that you said you "tried", you very clearly did not try anything, but you have exhausted my patience with your lying.
Please go away and start here: https://developer.android.com/ndk/guides/

    (1-7/7)