Jump to content

CRO_Tomislav

Members
  • Content Count

    23
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Dear all. I create one multi-device application, exactly for android phone. It is working and form is properly created for a specific model (Style: Android, View: Master) I would like to add a customized View for another device so I can adjust designe of app. forms and there is a problem. I can not do it. I try with a project – new custom view is not listed (tutorial on a net). I try by editing a DevicePersets.xml – also new custom view is not listed (tutorial on a net). After each method I restarted IDE but no results. When I do a second method, I check: Tools→ Options→ User interface → Form Designer → Device Manager; and I get listed a new device but when I open my project, on list of views not showed How to add customized device view? I need it for android device; Alcatel 5033f (480x960, ppi 215) Thx in advance Tomislav
  2. CRO_Tomislav

    UniDac - UniConnection character set problem

    Hello. Yes, table it has as charset and I use delphi 10.3.3. I make a clon of table and set it to cp1250 and now is ok... With best regards Tomislav
  3. CRO_Tomislav

    UniDac - UniConnection character set problem

    It is not working...
  4. I have a Delphi project for an Android device. On a form I add UniConnection1,Uniquery1 and Edi1. I set up parameters for UniConnection and I can successfully connect do MariaDB On MariaDB I have a database encoded to UTF-8 In a code; when I make connection and use for example in UniQuery1: SELECT * FROM customers WHERE location='CROATIA' (I will receive only one record – it is OK) and when I assign in a code Edit1.Text := UniQuery1.FieldByName('customer_name').AsString; I see field contest in Edi1 without some special Croatian characters, for example 'š' I try to set UniCode = True, also with combination of setting character set = utf8; not show special characters... Exampl.: ... UniConnection1.Connect; If NOT uniConnection1.Connected then ShowMessage('#0 – NO CONNECTION TO DB!') else begin with UniQuery1 do begin Close; SQL.Clear; SQL.Text:= 'SELECT * FROM customers WHERE location=' + QuotedStr('CROATIA'); Open; end; Edit1.Text:=UniQuery1.FieldByName('').AsSring; end; ... Any idea? With best regards Tomislav
  5. CRO_Tomislav

    Error: INSTALL_PARSE_FAILED_NO_CERTIFICATES

    Hi. I already try that - nothing... But, I try with an onld cell phone with andro. version 4.4.4 and it is working... It seams that is a problem with Android 4.2.2. OR with Android device (MobiPrint3 POS) With best regards Tomislav
  6. Dear all. I need to develop small android application and I have a problem. Android version is 4.2.2. I use Delphi 10.3.3. I create project and I change in SDK Manager: NDK API LOCATION value to „andro-16“ and also on DELPHI NDK library path also to “andro-16” Also make modification of AndroidManifest.template.xml to android:minSDKVersion=”16” (Modification’s made on suggestion of Dave Nottage (BIG THX Dave!!!)) Now when I try to run project on attached device I get next error: I spend whole day to solve this without success. Please help because I am running out of time... With best regards Tomislav
  7. CRO_Tomislav

    Delphi 10.3 - install older SDK

    Hi. I make a changes to androd version 16, and also make modification of AndroidManifest.template.xml for minversion to "16". I make a clean, add run parameters -cleaninstall And now I get next error: There is no application install on Android device... Any idea?
  8. CRO_Tomislav

    Delphi 10.3 - install older SDK

    Ok, found it, I will made all changes as you suggest me. Keep you back by info.. With best regards Tomislav
  9. CRO_Tomislav

    Delphi 10.3 - install older SDK

    Hello. I make changes based on Your suggestion on SDK Manager, but I still have a same problem. When I tray to run application on a device, I receive next error: Only what I didn't do is change AndroidManifest.Template.xml because I can not found it. But, when I check AndroidManifest.xml file in Project folder, a can see that is OK: Any idea? With best regards Tomislav
  10. CRO_Tomislav

    Delphi 10.3 - install older SDK

    Hello. Big THX for this screen shoots... I have only one question: Where I can found this AndroidManifest.template.xml? I found in a project folder AndroidManifest.xml but not this "template"? Not even by windows search... With best regards Tomislav
  11. CRO_Tomislav

    Delphi 10.3 - install older SDK

    Ok... How do I modificate AndroidManifest.template.xml? Can you send me some screen shoots of needed modifications? Thx Tomislav
  12. CRO_Tomislav

    Delphi 10.3 - install older SDK

    Hello. I need some help. I need to make some small application for Android 4.2.2. I have Delphi 10.3 but I need to install some older SDK. Can someone point me (page or instruction) how to install older SDK and use it in project* Thanks in advance Tomislav
  13. CRO_Tomislav

    HELP: Decoding of data stored in array of char - RFID tag's

    Hi. Thx for answers... I still get this error so the problem is not in conversion... You help me a lot. Big THX once more Best regards Tom
  14. CRO_Tomislav

    HELP: Decoding of data stored in array of char - RFID tag's

    Hello. Still doesn't solved... It's killing me... I have a function form .dll (from manual): Function GetSystemInformation(var ComAdr : byte; var State : byte; UIDI : PChar; var InformationFlag : byte; UIDO : pchar; var DSFID : byte; var AFI : byte; MemorySize : pchar; var ICReference : Byte; var ErrorCode : byte; frmComPortindex : integer): LongInt; stdcall;external 'RR3036.dll'; Description of UIDI: Input, Pointed to 8 bytes of tag's UID value with least segnificant byte first I change in function UIDI: Byte So I need to call the function with: Get_Designated_tag_info_status:= GetSystemInformation(fComAdr, State, DSFIDAndUID[0].UIDasBytes, InformationFlag, UIDO, DSFID, AFI, MemorySize, ICReference, errorCode,frmcomportindex); This is obviously that this will not work because DSFIDAndUID[0].UIDasBytes is array of bytes (0..7), but what ever I try it doesn’t work...
  15. CRO_Tomislav

    HELP: Decoding of data stored in array of char - RFID tag's

    Hmm... From a code above: I get UID in Uint64 and this is OK for a rest of my code but: I need to pass this UID to a function as a byte (8 bytes) or Pchar but I get function error It seams that I am making some mistake in conversions. Is there some function or similar for make this conversion correctly? Tom
×