1

I'm working on a native widget for a wearable-3.0 in Tizen Studio that will display three stats. I've been trying to find code to change an existing label existing in the widget but have failed. Any help getting me pointed in the right direction would be greatly appreciated.

Loren

Loren Zimmer
  • 482
  • 1
  • 6
  • 29
  • It depends on some parameters like based on which conditions you want to change a label and what changes you want to apply on that. Would you please share more detail about what you're trying to implement? Also please share your source code here. – Shaswati Saha Aug 07 '18 at 11:42
  • I stumbled across the data model and the ability to request json data from a server. Now I just need to figure out how to perform calculations on the data that is returned – Loren Zimmer Aug 15 '18 at 11:37
  • Ok. Generally, to change the text of a label in Tizen native you may try to set text of that label based on your required conditions. Please use below line of code inside the update function of your app. elm_object_text_set(label_to_change, "Updated Text"); It will set the updated text on the label. Hope it'll help. – Shaswati Saha Aug 16 '18 at 05:44

0 Answers0