Jump to content

COMFIED

Members
  • Content Count

    68
  • Joined

  • Last visited

About COMFIED

  • Rank

Contact Methods

  • Website URL
    https://comfied.com

Profile Information

  • Gender
    Male
  • Location
    Nairobi KE

Business

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

Smart Mobile Studio

  • Edition
    Professional

Recent Profile Visitors

146 profile views
  1. COMFIED

    Long Press/ Taphold

    Hi Any ideas on how to detect long press or taphold on a panel or label?
  2. COMFIED

    Android Back Button (Cordova/ Phonegap)

    I have noted the problem - the event listener fires only once- on load, then ignores all events after that. I am calling bindEvents in the InitializeForm; Is there a way to listen to events as long as the app is running?
  3. COMFIED

    Android Back Button (Cordova/ Phonegap)

    I'm getting a type error, cannot read property preventDefault of null
  4. I have built a web app using smart mobile studio and compiled to android APK on phonegap. I'm trying to get the android back button to read a variable and either perform an action in the app or terminate the app. The code below minimizes/ hides the android app, but doesn't terminate it. How can I introduce a variable onBackKeyDown event and prevent app from minimizing? Here is my code: procedure TForm1.onDeviceReady; begin receivedEvent('deviceready'); end; procedure TForm1.bindEvents; begin document.addEventListener('deviceready', onDeviceReady, false); asm document.addEventListener("backbutton", onBackKeyDown, false); function onBackKeyDown(e) { e.preventDefault(); } end; ...more code... procedure TForm1.InitializeForm; begin inherited; // this is a good place to initialize components bindEvents; ...more code...
  5. COMFIED

    Working with Emoji data

    IT WORKS - Thanks!!!
  6. COMFIED

    Working with Emoji data

    I am storing and retrieving emoji in UTF16 format on a MySQL database. When I retrieve, i get the data results "\ud83d\ude0a" for smile emoji (😊) "\ud83e\udd37\u200d\u2640" (for🤷‍♀️) Is there a simple way to convert the UTF16 to unicode and render the emoji on a browser?
  7. COMFIED

    GOTO Equivalent

    I have instead modified my code to use timers - TW3EventRepeater - and achieve the same objective. On browser apps, I guess async timers are more elegant solution.
  8. COMFIED

    GOTO Equivalent

    Hi Is there a smartmobilestudio equivalent to the delphi GOTO command to jump to a label or loop within a procedure?
  9. COMFIED

    Translucent Panel Blur Effect

    Thanks. I'll try out the combination of opacity+stack blur.. I think it should work!
  10. COMFIED

    Translucent Panel Blur Effect

    Is there a simple way to get an image blur effect on a translucent panel placed over a background image? I am trying to make translucent pop up notifications over a game with lots of graphics - similar to attached .
  11. COMFIED

    Date and Time Computations

    Hi I'm trying to calculate the days between two dates and the hours between two timestamps. Any idea how I can do this on smart mobile studio?
  12. COMFIED

    Inserting Multiple Columns in WebSQL

    Thanks. It works!
  13. COMFIED

    Inserting Multiple Columns in WebSQL

    Hi I'm referring to this demo which shows how to insert a single field into a WebSQL database. https://smartmobilestudio.com/2013/01/08/working-with-websql/ Any idea how I can modify the SQL code below to make insert work with multiple fields? mTrans.Execute("insert into customers (name) values (?);",['john doe #' + IntToStr(x)]);
  14. COMFIED

    TMS Web Core

    Anyone seen the new TMS Delphi to html/ JavaScript components? http://tmssoftware.com/site/tmswebcore.asp I think this product is still in closed beta, to launch in a few weeks.
  15. COMFIED

    text-decoration is not working ?

    Try changing text-decoration: none; to display: inline-block; and then switch the order first .XListBoxItemStyleC{ color: #000000; background-color: #FFFFFF; text-decoration: line-through; } then below it .XListBoxItemStyle{ color: #000000; background-color: #FFFFFF; display: inline-block; } see: https://stackoverflow.com/questions/29374006/line-through-not-working-as-should
×