Skip to content

Tag: android

Socket won’t send data after blocking queue .take()

Edit: I’ve found the problem ( see answer below ) I’m trying to write an Android application to send data to a running termux instance via TCP. In termux, I have netcat listening for incoming TCP connections and printing data to stdout using the command nc -l localhost 8080. In my android app, I h…

I can’t store values in the database DAO android

Hi I can’t store values in the database DAO android. I have User.class: DAO database: My Dtababase class is: My code Now my code don’t store new User(i can’t print “ok you are pretty”).Why? I have another question: i know that when you store data in the database you use threads b…