i am trying to establish a link over the internet to commit some kind of text messages to an abroad indy tcp based server
those messages contains sometimes some arabic letters or content
from pc everything is ok, but when i come to use it on android by establishing
tcpserver.IOHandler.DefStringEncoding := indytextencoding_utf8;
the application crashes(it just closes) on loading without giving any errors.
am i missing something here ?? why this should be an error ?
Related
In my project, I'm using sms_maitained version 0.2.5 and I'm trying to send message of about 230 characters. But I'm getting RESULT_ERROR_GENERIC_FAILURE.
I've already gone through a lot of resources like this and this. I'm pretty sure:
there isn't any network issue
have proper permissions
no dual sim issue
receiver number is correct
Because, I am able to send messages; if the message length is shorter.
I found this java code, which divides and send longer message but I'm not good in java, and my project is in flutter so I'll prefer to do it natively on flutter. Also if I do it manually for android then I've to fix it for iOS separately.
ArrayList<String> texts = smsManager.divideMessage(text);
smsManager.sendMultipartTextMessage(phone, null, texts, null, null)
Please tell me, if there is any solution available!
This solved issue with sending long SMS messages.
In your pubspec.yaml put this:
sms_maintained:
git:
url: https://github.com/andreimc/flutter_sms.git
I found it here: https://github.com/geordyvcErasmus/flutter_sms/pull/15
I was recently messing around with the AppleScripts aspect of the Messages app on macOS Sierra and found the Mixed Message Case.applescript file, and changed the the appropriate handler in the Messages preferences.
Nothing seemed to happen when it should have (on a message received, change the text to mixed case, e.g. "hello" -> "HeLlO"). I checked the functionality of the script with some display dialog debug statements and it seems fine, though the message contents aren't being changed.
This begs the question: how does one change incoming or outgoing messages with AppleScript?
My webstart runs fine whenever there is internet connection. It also runs fine when I disconnect from wifi. But it does not work if my computer is connected to public wifi (ie. coffeeshop, airport, etc) such that if I open a browser it forwards me to a html page that asks me to click on a button to connect to internet.
Basically Java webstart thinks that the html welcome page is the new update to my jnlp file so it replaces my jnlp with the welcome page html. Of course that will fail to parse, so I get a parse error and I cannot recover from it unless I completely remove my webstart application from cache and re-download and re-install it.
Has anyone else experienced this? Is there a way to prevent this issue?
I submitted a bug report to OpenJDK:
https://bugs.openjdk.java.net/browse/JDK-8079874
Unfortunately it's marked as incomplete. Evidently I wasn't clear about what the problem is. I'll try to get in touch with them to see which part is not clear.
I Googled the error and tried some of the suggestions, to no avail. This happened inside FireFox Aurora 29.0a2 on Windows, but i also got the same thing in Chrome on a Mac.
Any ideas as to what's causing this? Thank you!
The error will not affect the GoInstant service in any way. The error is logged by the browser for previous connections that are now disconnecting/interrupted on page refresh.
In other words, when you first connect in a fresh browser you will not see the error because you have no prior connections. Once you refresh, that first connection will be "interrupted" and you will create a new connection to GoInstant.
I've created a basic application (virtually no content, just a blank page) to test the SSO functionality. It doesn't work, when I test on the TV it gives the error error_cp_001.
The config.xml contains, among other things:
<cpauthjs>Authorization8888.js</cpauthjs>
<login>y</login>
The Authorization8888.js file contains:
var Authorization8888 = {};
Authorization8888.checkAccount = function(id, pw, cb) {
cb("TRUE");
};
I have already tried with <cpauthjs>Authorization8888</cpauthjs>. I have also tried with Authorization without 8888 for the filename and vars. It always shows that error.
I also tried in the SDK simulator, same error as on the real TV. On the simulator I see these extra debug lines:
[JS ALERT]: ####################22222eval(accountCheckFunc) error
[JS ALERT]: Fail to load Account check moudule.
Error : Can't find variable: Authorization8888
I can share the zip file containing the whole application, but it's really simple to reproduce since it has nothing except this basic SSO-related code.
I found the answer, posting it in case someone else hits the same problem.
The problem was deploying via USB. Apparently, an application deployed with the USB stick has limited functionality. Deploying the application via a web server fixed a lot of issues, including this one.