Jump to content

likemike

uniGUI Subscriber
  • Posts

    356
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by likemike

  1. Sorry for pushing, but the problem with UnimBarcodeScanner1.CameraList is still actual.

    The UnimBarcodeScanner1.CameraList; doesn't load all video devices on Android devices (only the front cameras are listed).

    Another problem: on iOS-devices the 1st try gives only "Video device 1 =", while the 2nd try loads front and rear camera correctly.

    Maybe there is a new version of ZXING.min.js?

  2. Hello!

    My app is connected to a Laser-Distance-Measurement-System by Bluetooth. If the user scans a distance, the distance is added to a column in a UnimDBGrid.

    Unfortunately the virtual keyboard doesn't pop up, while the LDMS is connected. But the user needs to insert arithmetic symbols like + or - 

    So I've created some buttons for that and use :

     keybd_event(187, 0, 0, 0); // + key in WORD
     keybd_event(187, 0, KEYEVENTF_KEYUP, 0);

    But this doesn't work. I tried other code samples, but there is no effect.

    Is there a working way to simulate key inputs to a column in UnimDBGrid?

    Or is it possible to force the virtual keyboard to pop up?

    Thanks in advance

    Mike

     

  3. Hello!

    My program works well when compiling and starting as VCL.

    When starting it as a service (net start my_program) there occurs an error: "System error 109. The pipe has ended."  (the log file only says: [Terminated]:Exit Code: 0 )

    I've made a lot of similar programs with UniGui and all work as service without any error messages.

    Any idea?


    Regards

    Mike

  4. In HTML I use:

    <script> 
        function updateURL() {
          if (history.pushState) {
              var newurl = window.location.protocol + "//myurl.com";
              window.history.pushState({path:newurl},'',newurl);
          }
        }
    </script>

     

    and in the "body"-part: 

    <body onload="updateURL();">

    This always shows only your URL ("myurl.com").

    • Thanks 1
  5. Hello!

    As I described here

     

    I get an error 1400 in undefined cases. The only way to solve this, is to restart the services when the error occurs.

    While I cannot find the reason for the errror, I want to write an extra service, which restart my app when the error occurs. 

    Is there any way, that the app communicate the error? I've found that "TUniGUISession.OnError", but I don't know how to use it.

    Any help will be great

    Mike

     

  6. Hello!

    I've got a display error only on iPhones, when I try to display a UnimDBGrid. There was a similar problem before version 1551 I guess.

    To explain it better, I've added a video.

    First some data is displayed (the data is devided into 29 pages - so there are round about 1400 records).

    With a tap on the checkbox in the upper right corner I reduce the records to 100 (it adds a filter to the query).

    A second tap load the original query again (with the 1400 records). But then the grid display is crashed.

    Any idea?

    Thanks in advance

     

     

  7. On 11/4/2021 at 12:49 PM, likemike said:

    Hello!

    I'm using the UnimBarcodescanner component. It works great.

    I use "UnimBarcodeScanner1.CameraList;" to obtain the available cameras.

    Unfortunately the list of available cameras isn't correct:

    1. Microsoft Surface Pro 7: all is ok. There is a front and a rear camera available.

    2. iPhone 11: Here's only the front camera available.

    3. Android mobile: here are 5 (!) rear cameras available but no front camera.

    Thanks in advance

    I would like to know, if I'm the only one with this problem? Maybe it's a problem with some specific mobiles or Android-version...

  8. Hello!

    I'm using the UnimBarcodescanner component. It works great.

    I use "UnimBarcodeScanner1.CameraList;" to obtain the available cameras.

    Unfortunately the list of available cameras isn't correct:

    1. Microsoft Surface Pro 7: all is ok. There is a front and a rear camera available.

    2. iPhone 11: Here's only the front camera available.

    3. Android mobile: here are 5 (!) rear cameras available but no front camera.

    Thanks in advance

  9. I've made hundreds of certificates with UniGui without problems. But I have a different environment than yours:

    1. Unigui ...1551

    2. paid certificate from Commodo

    3. TLS v.1.2 encryption

    4. Apps start as service (no Hyperserver)

    If you use the same environment, I'm sure, that it will work. If you need help in respect to "how to create a UniGui compatible certificate from Commodo-certificate" I could give you some help.

×
×
  • Create New...