Comment by vesperto on Android Broadcast Receiver not starting (Kotlin)
Deprecated in favor of...?
View ArticleComment by vesperto on How to generate a QR Code for an Android application?
IF you're generating a QR code for a thermal printer, use Bitmap.Config.ARGB_8888.
View ArticleComment by vesperto on How can I bind serversocket to specific IP?
Using "127.0.0.1" will still spawn an IPv6 server as shown by netstat -letW in adb shell.
View ArticleComment by vesperto on Why does my service always bind to ipv6 localhost...
using server = ServerSocket(8080, 8, InetAddress.getByName("127.0.0.1")) on the device i tried with Android 11 still produces an IPv6 server as shown by netstat -lte (and not a tcp46 connection as seen...
View ArticleComment by vesperto on Android UDP socket sends data only once?
It's a Michelle Dubois socket.
View ArticleComment by vesperto on convert a char* to std::string
Weird how std::to_string() will accept just about any tipe... except char*.
View ArticleComment by vesperto on Makefile that distinguishes between Windows and...
If using cygwin or in a mingw shell, you'd have rm in path and still be in windows.
View ArticleComment by vesperto on Cross compile libcurl for arm-linux-gnueabi-gcc
Where do you get the --host= parameter value from?
View ArticleComment by vesperto on keeping file across android app uninstall/reinstall
@blackapps source for that? It's marked deprecated in the docs.
View ArticleComment by vesperto on Alternatives to gettext?
@gili how often do you actually need to "maintain" such a stable tool in such a stable context? Lastest release february 2024.
View ArticleHow to set character set using ESC/POS?
More specifically, what is the difference between ESC t and ESC R and when should i use them?How does it tie with the character encoding of the byte arrays i may send to the printer?EditAs a...
View ArticleProgram segfaulting in release version only
I have an executable that is segfaulting in release but not in debug. I assume it's a wrong call to a printf-family function.When running i get this:*** buffer overflow detected ***: ./mybin...
View ArticleAnswer by vesperto for Program segfaulting in release version only
Well, as it turns out, the original text (not "Some text") took 19 chars plus the %d, which is "always" one digit. Even so, that's 20 chars in a char aCharArr[20], producing a char array that is not...
View ArticleAnswer by vesperto for GLib.Error: Required gtk+ version 3.20, current...
I've since got it to work on Xenial, but the app doesn't work correctly: the File, Edit, ... menu options don't work, for instance.From my ever-growing notes, i got it to work by compiling...
View ArticleGLib.Error: Required gtk+ version 3.20, current version is 3.18 (7)
I have an old program written in Python2 i need to use, but it's not getting along with Ubuntu Xenial's dependencies.I had to manually fetch these in order to get it to...
View Articleupgrading GTK from 3.18 to 3.20 in msys for python 2
I managed to get an old Python 2 app running on Xenial, but the menus aren't working and i've since borked that particular installation (can be recovered i guess). I was told this "used to work in a...
View Article