As of Android L NDK, __system_property_get is __system_property_get deleted ( https://groups.google.com/a/chromium.org/forum/#!topic/chromium-reviews/keQP6L9aVyU ). Is there another API in Android L NDK to access the same property values?
__system_property_get
I went with popen as described in fooobar.com/questions/21128 / ...'s answer to run getprop . Sort of
popen
getprop
std::string command = "getprop ro.product.model"; FILE* file = popen(command.c_str(), "r"); if (!file) { // error } // read the property value from file pclose(file);
Source: https://habr.com/ru/post/1206115/More articles:Delete item, but bind all data and events - javascriptApache starts unexpectedly after changing a document in httpd.conf - apacheConvert base64 buffer -> utf8 encoding node.js - javascriptinclude_path fatal xampp error - phpAndroid: When do we use getIntent ()? - androidDeploying AWS with Rails - configuration file in .ebextensions - ruby-on-railssafe static destructors when multiple threads call exit () - c ++Creating a temporary fifo name on a * nix system - linuxspring 4.1.1, mockmvc and donβt want to encode the HTTP request HTTP GET request - javastrangely slow fast sorting of large tables - c ++All Articles