Werner W.

Current status: "*) Delphi: assign object to data of TListViewItem not working!!! :-(" - 9 years ago
Member since: Monday, 16 February 2015
Last login: 5 years ago
Profile viewed: 1,217 views

Your Rank: 85
Points: 9

Werner W. created a new topic ' App Tethering - SendCommandWithResponse - HOW??' in the forum. 6 years ago

Hello!
I am trying since long time to enable my tethering function to get data from the server. "Normal" communication like sending strings or streams is OK.
But I want to do the following:

  1. Client: Send CMD to server to get data - e.g. Send cmd "get_customer", param = "cust_no=1"
  2. Server: Send back response - e.g. cmd "cmd_ok" and data stream
I was thinking that the "AppProfile.SendCommandWithResponse" can be used for it.But how can/should the server react on this request (cmd)?
Tried to use the AppProfileAfterReceiveData function on server to process the request - but how to send the response back to the client??
What is the correct way to do it?
/Werner

Read More...

Werner W. created a new topic ' Amazon SNS - Push notifications - registration' in the forum. 6 years ago

Hello!
I'm trying to use push notification on my mobile apps. I would like to use Amazon SNS.There was one example on the CodeRageX, but problem is the registration of devices.
How can I register a device with the tokens? Did someone has a example/component for that?
Best regards and thanks in advance,Werner Weiss

Read More...

Werner W. created a new topic ' Disable Virtual Keyboard on TEdit (e.g. iOS)' in the forum. 9 years ago

Hello!

I created an app which needs to disable SOME Edit fields. I am able disable the virtual keyboard service. but I cannot disable it for individual TEdit fields.
Why I need this?
I have an POS App where I created also a virtual keyboard on the screen - to enter number values.
So I don't want to have on this Edit fields that the iOS keyboard pops up when they got the focus (also disable to have the focus is not a resolution - I still need to enter values there - e.g. Barcode scanner, external keyboard, ...).
But for other fields - like Memo or text content fields I want to show the iOS virtual keyboard.
How can I do it?
Any ideas??

Greetings,
Werner
Read More...

Werner W. replied to the topic 'Android Wear and new LG Watch R' in the forum. 9 years ago

Hello!

It's works fine with the LG watch.. :)

Br,
Werner
Read More...

Werner W. added a reply in discussion adding Object to TListViewItem... 9 years ago

Some examples: THIS IS WORKING ---------------------- // Assign ai := ListView1.Items.Add; ai.Data['idata'] := 5;   // 5 = type Integer // Get data ai := ListView1.Selected; i := ai.Data['idata'].AsInteger;  // result => 5   THIS IS NOT WORKING!!! -------------------------------- // Definition ...

Werner W. is now ranked up to New Member... ! 9 years ago

*) Delphi: assign object to data of TListViewItem not working!!! :-(

Werner W. added a reply in discussion adding Object to TListViewItem... 9 years ago

Hello! I have the same problem and business case like Daniel. Want to connect my data (id, name, description, price, amount, ...) to a ListViewItem. Similar to the TListBox.Item[i].Data -> there it is working as planned. Anyway - why in the ListViewItem a data array and in ListBoxItem no array? Any solution...