This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Using the curl library from C++ on Windows | |
curl is a project containing a command line tool and a library that can be used to transfer data using a variety of protocols, including, of course, HTTP and HTTPS. The library API is written in C, but there are various C++ wrappers on top of it. One of those is curlcpp. In this article, I will show how to build these libraries for Windows with Visual Studio. | |
Here is an example, using curlcpp, of how to get weather data from https://openweathermap.org. | |
#include "curl_easy.h" | |
#include "curl_form.h" | |
#include "curl_ios.h" | |
#include "curl_exception.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
How-to Write a Kernel Module for Android | |
In this article I will describe how you can write a kernel module for Android or its after market product like CyanogenMod. As we all know Android is based upon and using the GNU/Linux kernel. Therefore, writing/building kernel modules for android is same as writing/building a kernel module for the common Linux found on our desktop or server machines. However, if you ever try to build kernel module for android using the guidelines written for the desktop Linux machine you could possibly not be able do build it. According to my knowledge and experience, the reason behind that possible module build failure is the integrated build environment of Android Open Source Project (AOSP). In order to write and build a kernel module for android you need to first download the android source. In this tutorial I am using CyanogenMod 11 but you can use also the android source from the AOSP. Moreover, I am using the AOSP android emulator for demonstrating this tutorial. However, I hav |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- LDPlayer ver 9.0.45(9) | |
Android version 9 | |
Kernel 4.4.146 #1 Thu Apr27 10:42:33 (ST 2023) | |
Build Number PQ3A 190705.003 release keys | |
$modinfo vboxsf.ko | |
vermagic: 4.4.146 SMP preempt mod_unload modversions | |
- To compile a linux kernel module: | |
git clone https://android.googlesource.com/kernel/goldfish/ -b android-goldfish-4.4-dev |