Comments (4)
Hi @danidask, can you provide me in a gist a server code sample?
I changed sometime ago the HTTP POST library and might be not well tested.
If you want to see the log, the best is to have ADB installed in your system
adb logcat
I will create a new issue to introduce a logging mechanism that writes up in a .log file
from phonk.
Ok, this is the server's code, but you can test it even if there is no server listening.
https://gist.github.com/danidask/e6ad97fee659062cb5449d96038d1b85
from phonk.
Apparently the Javascript Engine (Mozilla Rhino) has a different data type for a concat String. Adding toString seems to solve the problem 334bcc1
On the other side I included a logging mechanism #2
I'm going to fix a couple of things more and upload a new version in a couple of days. I will write you back here once ready :)
from phonk.
I close the issue. There is a lot of rework in the last release, maybe hopefully was fixed? :)
from phonk.
Related Issues (20)
- Sending Byte arrays through BLE
- Site: phone.app - certificate expired on 11/10/2021 HOT 3
- No example for sms send/receive HOT 2
- vertical slider and midi device examples HOT 1
- Can not access the webpage HOT 1
- getting started link on README does not work HOT 1
- Voice recognition without the recognizer's UI HOT 1
- Is it possible in PHONK to create a transparent widget that hovers over other activities ... HOT 1
- How to do linear layouts?
- `PHttpServer` and `PFtpServer` won't be stopped
- TypeScript declaration HOT 3
- Multithreading HOT 4
- Widget TextList: text size doesn't apply HOT 2
- `NativeArray.subarray` is broken
- Widget `.text()` and `.html()` don't set `.props.text` HOT 12
- `PLinearLayout.add` with weight doesn't work
- android.local:8585
- Provide PHONK apps as sharing target
- Crash at launch on Samsung Galaxy Ace 4, Android 4.4.4
- Support for the Android Accessibility Framework?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from phonk.