You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I am using Nanohttpd in Android to create an app that receives bytes from other instance of the same app. In my case, my application works and send data normally to a web service, but when I tried to send data between two instance of this application, when I debugged I saw strange bytes like trash or for example different encoding. I tried to use InputStream from NanoHttpd.
Hello, I am using Nanohttpd in Android to create an app that receives bytes from other instance of the same app. In my case, my application works and send data normally to a web service, but when I tried to send data between two instance of this application, when I debugged I saw strange bytes like trash or for example different encoding. I tried to use InputStream from NanoHttpd.
My code send data with a java code:
In Android, I want to read bytes from the last code, my code is:
Can you help me? I need to use main java sample to send bytes, sometimes I need to writeUtf etc., because I've an app that works the same.
Thanks
The text was updated successfully, but these errors were encountered: