Ticket Created
over 3 years ago

CIQQA-711

Reboot of the watch and crash of the simulator with THIS string resource

Hello! 

I get the weather from OpenWeatherMap service and make drawText function with text description of the current weather. 

And I found condition when the real device is being rebooted and the simulator is being crashed when I got this string from the json response: "description":"Mäßiger Regen"

Looks like the operating system can't handle some symbols from this string (I guess it's "ä" or "ß")

It's okay when you see IQ! screen, but in this case it's reboot of the real device and total crash (with closed window) of the simulator

I've got this behaviuor with Venu device 

{
   "coord":{
      "lon":xx.xxxx,
      "lat":xx.xxxx
   },
   "weather":[
      {
         "id":501,
         "main":"Rain",
         "description":"Mäßiger Regen",
         "icon":"10n"
      }
   ],
   "base":"stations",
   "main":{
      "temp":6.84,
      "feels_like":4.55,
      "temp_min":6.16,
      "temp_max":7.99,
      "pressure":1007,
      "humidity":99,
      "sea_level":1007,
      "grnd_level":953
   },
   "visibility":8792,
   "wind":{
      "speed":3.26,
      "deg":255,
      "gust":7.45
   },
   "rain":{
      "1h":1.78
   },
   "clouds":{
      "all":100
   },
   "dt":1635798504,
   "sys":{
      "type":2,
      "id":2001110,
      "country":"DE",
      "sunrise":1635746031,
      "sunset":1635781792
   },
   "timezone":3600,
   "id":2823916,
   "name":"Taubenbach",
   "cod":200
}


Parents
  • It means for me adding lowercase symbols to fonts which makes them to weight higher. 
    Moreover I will have to draw lowercase symbols for this font (as I didn't do it before)

    This is the first time (for almost 1.5 years) when I come across this problem. At least, now I know what's the matter and I will use toUpper() more carefully 

Comment
  • It means for me adding lowercase symbols to fonts which makes them to weight higher. 
    Moreover I will have to draw lowercase symbols for this font (as I didn't do it before)

    This is the first time (for almost 1.5 years) when I come across this problem. At least, now I know what's the matter and I will use toUpper() more carefully 

Children