Jump to content

All Activity

This stream auto-updates

  1. Earlier
  2. I just bought a license a few days ago and haven’t received a key. Is this company out of business? Wondering if I should reverse the charge.
  3. The issue fixes when I manually resize - any way I can do that in code?
  4. Create a new "Canvas Project" Using older SMS 3.1.0.89 I run it and see a nice small FPS top Left Using newer 3.9.1.168 I see FPS in very zoomed in font Also does this with 4.0.0.x cheers
  5. add it to your server config if you have access to it, or register your domain in the preload hsts (https://hstspreload.appspot.com/) site, maintained by Google, or implement another strategy (301 redirect, .htaccess directive)
  6. Any idea how I can add Strict Transport Security header to the code to force the browser to access website only via https?
  7. Tried but still unable to get it to work. For example, how do I insert the script into a panel or button to display the advert?
  8. Something like this var Script : variant := browserapi.document.createElement('script'); Script.src := '<your script statements>'; browserapi.document.head.appendChild(Script); Script.onload := procedure begin writeln('script loaded'); end; you can put <the script statements> as javascript in an asm block or alternatively pascalify them : var atOptions : variant := new JObject; atOptions.key := '000000'; etc
  9. II would like to insert the online advertisement script below inside an iframe my smartmobilestudio code. Tried but getting errors. Is there an easy way to do this? <script type="text/javascript"> atOptions = { 'key' : '000000', 'format' : 'iframe', 'height' : 60, 'width' : 468, 'params' : {} }; document.write('<scr' + 'ipt type="text/javascript" src="http' + (location.protocol === 'https:' ? 's' : '') + '://abc123/invoke.js"></scr' + 'ipt>'); </script>
  10. Unfortunatelly the public nodejs echo server wss://echo.websocket.org no longer works. That's the least of my problems... Can someone show me a few lines of code to show, how to write this in smart mobile studio? The nodejs websocket server demo sample program only starts the server. In the server how can I send the string back to the client?
  11. One year later, still no update.
  12. Bumping this as I have not heard from anyone at SMS to resolve this.
  13. My license key expired back in March and I am trying to get going with a new key. I got the email about a renewal which was successfully completed, but I never got the license key like I had in the past. Can you help with this. Thanks.
  14. Hmm... there seems to be an offset. It's probably because I paste controls with an offset. Gotta see how Delphi does that and add the offset only if it makes sense.
  15. Hi, I have two forms, is it possible to copy some controls on the first form to the second form with exactly same left and top positions?
  16. There's a small update available. It adds a possibility to change TW3ListBox line text.
  17. Decided to start working with SMS again, but I needed better tooling, so I started creating them. I have also decided to share some of them. Here are bindings for the browser-ui-state library: Bindings for the browser-ui-state lib and a small demo showing you how to both the library and the bindings Cheers
  18. Hi @COMFIED, I'm not sure if the following answers your question or not. Add System.JSON to your uses clause and run the following. Some follow up questions would be, is the object you are passing always a single key/value pair and is the name of the key known or not known? There are many ways to do this; some type safe, others not - just depends on your use case really. var aString : String; anObject : variant; begin aString := '{"v" : "this is sample text"}'; anObject := TJSON.parse(aString); Showmessage(anObject.v); end;
  19. I am try to clean up a JSON string from {"v":"this is sample text"} with the aim of obtaining the text value: this is sample text I have tried JSON.parse as follows, but it doesn't seem to work string_value := JSON.parse('"'+string_value+'"'); What is the correct way of doing this?
  20. Blade

    License Code Issue

    Thanks to Jarto and Jörn this issue has been totally resolved and I'm very pleased
  21. Thank you Jarto and Jörn for resolving the issue. I was worried, but guys have relieved any fears. It also appears that the e-mail exchanges were going into SPAM, so glad that was corrected. Please keep up the good work and looking forward to the Smart Mobile Studio 4 release.
  22. I just sent an e-mail to Jörn about this and asked him to solve the issues. They are license and payment related, which is in his domain. I hope he will solve it fast.
  1. Load more activity
×
×
  • Create New...