Do you use libcurl for Android development a lot?

Updated on technology 2024-02-11
13 answers
  1. Anonymous users2024-02-06

    Curl is a well-known open-source file transfer protocol implementation software, which includes the implementation of many common and uncommon protocols such as HTTP, HTTPS, FTP, etc. In the latest version of curl, the official source ** actually includes the android build file (, but there is still some work to be done to compile it. The curl version I'm using is 7

  2. Anonymous users2024-02-05

    libcurl is a network library developed in C that supports a variety of network protocols.

    There are many different ways to compile the C language**. This uses the compilation method under the UNIX platform. Even if you're using a different operating system, you can still get a lot of useful information by reading this document.

    Compiling your compiler must know the location of the libcurl header file. So at compile time, you need to set the path to include the header file. You can use the curl-config tool to get this information:

    curl-config –cflags

    After compiling the source code (in this case, the source is not the source of libcurl, you are writing your own program), you must also link the object file into a single executable. You'll want to link the libcurl library, as well as other libraries that libcurl depends on, such as the opensll library. Of course, some other operating system libraries may be required.

    Finally, you need to set some compilation options, which can be simplified by using the curl-config tool

    curl-config –libs

    Whether to use SSL

    Custom compilation libcurl. Unlike other libraries, libcurl can be custom compiled to support certain features such as SSL transport, such as HTTPS and FTPS, depending on the actual needs. If you decide that you need to support SSL, you must set it up correctly at compile time.

    You can use curl-config to tell if the libcurl library supports ssl:

    curl-config –feature

  3. Anonymous users2024-02-04

    Works as lib on properties-> android is library.

    Use lib's project properties->android and click add to add the above project.

  4. Anonymous users2024-02-03

    When you access https, you mean the server certificate (SSL certificate), right? You don't have to develop this yourself.,Just apply for a free one.,The compatibility and stability of the web link is better.。

  5. Anonymous users2024-02-02

    Open coredump to get the core file, and use gdb to analyze the core file.

  6. Anonymous users2024-02-01

    How do you compile, cocos2dx can't be compiled directly, to compile the main project includes compilation. You can refer to the tests file and turn a few environment variables into your own path before running it. The jni directory of your main project and also refer to the corresponding files in tests, which are mainly to add the dependencies of cocos2d-x projects.

  7. Anonymous users2024-01-31

    curl offt t t multiple definitions. It's obviously a problem with curl, i.e. a problem with the configurable argument. You see if it is caused by the introduction of unnecessary header files, detailed information should be there.

  8. Anonymous users2024-01-30

    Compile your own library under the Android system, it's not called cross-compilation.,Hehe.。 Please post the steps, error message.

  9. Anonymous users2024-01-29

    All data, contacts, text messages, notes, and other data that cannot be cleared can be deleted on your phone and wait for the sync.

    This answer comes from the official Meizu MX2**.

  10. Anonymous users2024-01-28

    Has anyone successfully compiled it?,Post the complete information?,I'm running into this problem now.。

  11. Anonymous users2024-01-27

    After configue passed, I got an error when making : home fedora android:148:

    error: conflicting types for 'curl_off_t'/home/fedora/android/:172:

    error: previous declaration of 'curl_off_t' was herein file included from :75:

    Excuse me, everybody. What's going on?

  12. Anonymous users2024-01-26

    Five threads.

    Handles can be locked separately.

    Alternatively, implement an array of handles, with each thread using only the data from its own handle.

    Because libcurl itself has a curl variable, using five curls ensures that there are no conflicts.

  13. Anonymous users2024-01-25

    At present, the frameworks are mainly open source frameworks, which can be found on github:

    1. Inner volley, 2. android-async-http

    3. Afinal framework.

    4. Xutils framework.

    5、thinkandroid

    6、loonandroid

    There are mainly the following modules: capacity.

Related questions
20 answers2024-02-11

I heard that the Internet access is fast and requires the configuration of the machine. Symbian software is also a lot of standby can also be, although WP is smooth, but it seems that normal use will be more than Symbian cost traffic. .In fact, WP7 only consumes traffic. And because of the machine.

9 answers2024-02-11

XML, but you can do it in **.

To give you a way to judge the kanji, private boolean ischinese(char c) {.} >>>More

17 answers2024-02-11

The right brain is mainly responsible for controlling sensation and imagination, and developing a child's right brain has a great effect on innovation ability. Here are 3 things you can do to develop your child's right brain: >>>More

5 answers2024-02-11

On the Windows 7 development platform, the Android Studio development tools use the following methods to limit the maximum number of characters that can be entered in EditText. >>>More

12 answers2024-02-11

There is no framework within Android for the time being.

It's good to do it yourself according to the principle of MVC layering, and some open sources like Facebook also have a lot of open source libraries. You can think about using it. >>>More