-
Posts
1577 -
Joined
-
Last visited
-
Days Won
134
Content Type
Profiles
Forums
Events
Posts posted by Hayri ASLAN
-
-
UniMobileX is a middle man between UniGUI and Android - IOS operating systems.
Supported Features: (Last Updated : 2 March 2022)
- DeviceID
- Keep Screen Awake
- Access Camera
- Read Barcode and QRCode
- Request Biometric Authentication (Fingerprint, FaceID, TouchID)
- Handle Back Button (Android)
ANDROID:
I'm using B4A. It is free.
Please download it from below link and make sure you can run Hello World app.
IOS:
I'm using B4I. Unfortunately it is not free. B4i is a development tool for native iOS applications.
If you want to develop IOS apps, please buy it from below link and make sure you can run Hello World app.
DELPHI:
UniMobileX component is a middle man component which is communicating with Android and IOS apps.
Please Install it and make sure you can run Demo app.
Parameters:
Please change below parameters in B4XMainPage.
Dim kvsEncyptPassword As String = "ChangeMe"
Dim WebsiteLink As String = "http://192.168.0.59:8077/m"Please download from below link.
- 5
- 1
- 1
-
2 hours ago, x11 said:
which code is correct?
top:25% one
- 1
-
8 hours ago, x11 said:
Hello
Please match your painted event with beforeinit event.
-
You can use NewCacheFile instead of NewCacheFileURL.
-
1 hour ago, x11 said:
Please tell me how to switch BufferStore/Paged in run-time?
You can't change the type of the store after it rendered. Why do you want to switch it in runtime?
-
2 hours ago, x11 said:
But with mobile TUnimDBListGrid not work
Buffered store only implemented for TUnimDBGrid.
UnimDBListGrid doesn't have bufferedstore property.
-
Hello
Which one do you want us to implement? Colorbutton, colorfield or color selector?
Colorbutton
https://docs.sencha.com/extjs/7.4.0/modern/Ext.ux.colorpick.Button.html
colorfield
https://docs.sencha.com/extjs/7.4.0/modern/Ext.ux.colorpick.Field.html
color selector
https://docs.sencha.com/extjs/7.4.0/modern/Ext.ux.colorpick.Selector.html
-
On 2/11/2022 at 12:49 PM, Wilton Ergon said:
the use of url redirection generates problems with the use of cookies, if you use a lot to store information in cookies, you will have a problem if you use this feature.
as cookies are stored depending on the server address, every time you connect, a new url is loaded from another server, so it is not possible to retrieve the last saved value.
@farahad what do you suggest as an alternative to this situation?
Hello
You can use LocalStorage instead of cookie.
"Web storage is per origin (per domain and protocol). All pages, from one origin, can store and access the same data."
-
4 hours ago, NNPaulo said:
Hi Hayri Aslan; Is possible for you, create a TUnimWebCam; a WebCam component, but for mobile?
Thanks in advance;
Hello
Unigui natively support mobile webcam.
Add a UnimFileUploadButton to form and set capture to camera.
Also you can use below trick.
-
25 minutes ago, Cristian87 said:
Same error
Hello,
Can you please attach a test case so we can work on it
-
6 hours ago, Cristian87 said:
Why not? What do I set parent?
A panel
-
3 hours ago, Cristian87 said:
Is a simple TUniFrame incorporate in a TUniForm with a UniMap.
Then I insert into Form a component uniUrlFrame or unihtmlFrame and the code is:
ucMap: TUniHTMLFrame; var FrMap:TUniFrame; FrMap := TFMapAssegnazioni.Create(Self); FrMap.Parent := ucMap;
Hello,
Why you are setting parent of UniFrame to UniHTMLFrame?
-
3 hours ago, Cristian87 said:
If I put a unimap in a uniframe it doesn't work and the Ajax error "Map container not found" comes out.
How to resolve it?
Hello
Can you please create a test case?
-
20 hours ago, erich.wanker said:
TESTCASE
Between Output of CountryGroup and TotalCount i want the value of field "City"
Description: My Datastructure is simmilar to the records of Group "British West Indies" - all "Citys" are the same .. which record of the group is used to get the "Grand Cayman"-Text doesnt matter
Hello
Please use below code. (Please use children instead of rows and rows is deprecated)
PRO TIP : add {[console.log(values)]} into groupHeaderTpl to see the values in the console.
function beforeInit(sender, config) { config.groupingFeature = Ext.create('Ext.grid.feature.Grouping', { groupHeaderTpl: new Ext.XTemplate('{[this.getGroupTitle(values.rows[0]]}', { getGroupTitle: function (values) { if (values.data[0] == '') return 'Alle 8D Änderungsreporte ohne Gruppenzuordnung'; else return 'Gruppenname: <b>' + (values.data[0]).replace(/[&\/\\#,+()$~%.":*?<>{}]/g, ""); '</b>'; } }) }); config.features = [config.groupingFeature]; var groupingFeature = Ext.create('Ext.grid.feature.Grouping', { groupHeaderTpl: new Ext.XTemplate('{columnName}: {name} - 1st CountryName: {[values.children.at(0).get(4)]} - TotalCount: ({[this.countTotal(values.children)]})', '', { countTotal: function (records) { var totalSum = 0; totalSum = records.length; return totalSum; } }), hideGroupedHeader: true }); config.features = [groupingFeature] }
- 1
-
23 hours ago, VojkoCendak said:
We saw at Ext 7 Sencha fiddle, that if you add null instead of number, chart skips drawing point.
just change value let's say 17 -> null ! voila
Would that be hard to implement ?
Regards,
Vojko
Hello For now please use below workaround.
UniChart.pas Line 1819
1 : begin if VarIsNull(ValuesList[1].Value[I]) then Result[I] := 'null' else begin fVal := ValuesList[1].Value[I]; Val := fVal2Float(fVal); Result[I] := Val; end; end;
and you can add null values like below
Series1.Add(null, '2000')
- 1
-
47 minutes ago, jahlxx said:
Hi all.
Please, can anyone tell me whats wrong in this sentence?:
UniLabel3.caption := '<button type="button" class="btn btn-success" onclick="ajaxRequest(UniLabel3, "_test", []);">Success</button>';
And later:
procedure TMainForm.UniLabel3AjaxEvent(Sender: TComponent; EventName: string;
Params: TUniStrings);
begin
if EventName = '_test' then
showmessage('hello world!!');
end;Nothing happens when click.
Thanks.
Hello
Please check the below code.
UniLabel3.Caption:= '<button type="button" class="btn btn-success" onclick="ajaxRequest('+UniLabel3.JSName+', ''_test'');">Success</button>';
-
Hello
Can you please create a test case?
- 1
-
3 hours ago, rhazell said:
The supplied instructions work well for components that have ScreenMask property (great feature), however, how do I go about showing a "ScreenMask" for the following situations, please?
1) user double-clicks UniDBGrid and the resulting event handler performs a potentially lengthy task - I would like to show a ScreenMask
2) the OnCange event of a PageControl performs a potentially lengthy task - I would like to show a ScreenMask
TIA
Hello
You can call Showmask and synchronize to show screen mask.
Please check "SyncClientUpdate - 4 - ShowMask" demo
- 1
-
16 hours ago, dbf_usr said:
I added to the project. Nothing happened.
Please attach the test case. It works for me.
-
On 12/21/2021 at 4:49 AM, dbf_usr said:
Включил конфигуратор. Добавил поля. Вовремя выполнения использую конфигуратор.
После того как получил нужную форму таблицы хочу сохранить ее конфигурацию. Красны отметил то. что хочу сохранить. Вот тут пробую считать добавленные поля в LeftAxis а там - ПУСТО!
col:=UniDBPivotGrid1.LeftAxis.Count-1; UniMemo2.Lines.Add(inttostr(col)); while col<>-1 do begin UniMemo2.Lines.Add(UniDBPivotGrid1.LeftAxis.Items[col].FieldName); col:=col-1; end;
Подскажите пожалуйста откуда считывать информацию о полях добавленных в Row Label, Column Label, Values?
Всем за ранее благодарен!
Hello
Please try below solution
procedure TMainForm.uniDBPivotGrid1AjaxEvent(Sender: TComponent; EventName: string; Params: TUniStrings); begin //Sample Response // Aparams['leftAxis'].asstring , Aparams['aggregate'].asstring, Aparams['topAxis'].asstring //leftAxis=SaleMonth //aggregate=ItemsTotal //topAxis=Customer,ShipVIA end; procedure TMainForm.UniFormCreate(Sender: TObject); begin with uniDBPivotGrid1, JSInterface do begin JSAddListener('configchange', JSFunction('m,c',' ajaxRequest('+JSName+', "configchange", '+ ' {leftAxis: Array.prototype.map.call(c.leftAxis, function(item) { return item.header; }).join(","), '+ ' aggregate: Array.prototype.map.call(c.aggregate, function(item) { return item.header; }).join(","), '+ ' topAxis: Array.prototype.map.call(c.topAxis, function(item) { return item.header; }).join(",")})')) end; end;
-
1 hour ago, wilton_rad said:
as I understand it, mode 3 would be the simplest for you and your team to create the resource in unigui, maybe if you had done a poll showing users how the hyperserver would work, what modes of operation it could have, and which mode it should be given priority, in my view mode 3 would certainly be elected as priority, as all developers look for performance, no matter if it's more complex to configure, as I imagine most users didn't even imagine the hyperserver could have other means of use. as it was never mentioned, at least I never saw anything about what you mentioned just now.
Hello
We are currently working on Mode 3. We will publish it soon.
- 4
- 1
-
6 hours ago, likemike said:
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?
Hi
Did you try with new version of ZXING?
-
4 hours ago, emin said:
Özür diliyorum. MYSQL bağlantısı için gerekli dosyalar. Benim bilgisayarımda kurulu olduğu için fark etmemişim. Dll dosyalarını debug klasörüne, ayrıca dll ler isimli bir klasör içerisine ekledim. Dosyanın yeni hali ektedir.
Merhaba
Latin-1 karakter setini mi kullaniyorsunuz?
-
UniMobileX - Android and IOS. (Source code available)
in uniGUI Mobile
Posted
Hello
This one is the enhanced version of it. You can change the Icon and you have source code now.