Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


COMFIED last won the day on November 29 2019

COMFIED had the most liked content!


  • Rank

Contact Methods

  • Website URL

Profile Information

  • Gender
  • Location
    Nairobi KE


  • Company name
    COMFIED Mobile Media
  • Sector
    Information technology
  • Position
    Founder/ CEO

Smart Mobile Studio

  • Edition

Recent Profile Visitors

573 profile views
  1. Any idea how I can add Strict Transport Security header to the code to force the browser to access website only via https?
  2. 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?
  3. 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>
  4. 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?
  5. Another code security question - is there a way of detecting if the files in the \res folder have been modified? How can I access timestamps, files size and other parameters of graphics and html resource files?
  6. I am building a financial transaction system on sms. Is there a way to detect/prevent code tampering? - so that in case the compiled HTML/ JS code is modified it will refused to run.
  7. Thanks It works - but with app loading lag in slow connections. Can the script be loaded during button click instead of app loading?
  8. I am trying to integrate PayPal payment buttons using the script below via W3DIVHtmlElement.InnerHTML The app fails to run when I embed the script. How can I can use the PayPal script in the app? <div id="paypal-button-container"></div> <script src="https://www.paypal.com/sdk/js?client-id=XXXYYYZZZ&currency=USD" data-sdk-integration-source="button-factory"></script> <script> paypal.Buttons({ style: { shape: 'rect', color: 'gold', layout: 'vertical', label: 'pay',
  9. I am trying to create a web app (to be wrapped using phonegap into android app) that needs permissions enabled. On load, the app should check and prompt the user to enable android permissions for sending SMS android.permission.SEND_SMS and enable access of camera within the app android.permission.CAMERA. How can I do that using smart mobile studio?
  10. I would like to populate a hidden memo field with text, and then download the contents as a text file by clicking on a button. Any ideas on how I can do that?
  11. Thanks jarto It works! Is there a way to make the W3DIVHtmlElement scroll vertically like a browser when there is more content than fits in display size - scroll just like W3IFrameHTMLElement?
  12. Another way of asking the same question: Can I pass parameters via URL without reloading the web app?
  13. I have a W3IFrameHTMLElement with content that contains URL links. Is there a way to format the URL links in W3IFrameHTMLElement content so that I can click on them and access within the web app?
  • Create New...