Hi,
I wrote a widget with backgrounding which shall inform the user about a certain situaltion. This widget as well as the background messaging worked very well. I haven't updated the widget at all but I got several firmware updates on my F6X pro. Quite some day ago I realized that the background messages didn't come anymore. I started the sim but here is no problem.
Maybe it has something to do with the firmware update?
I started the ERA program and realized several crashes at this line:
Background.requestApplicationWake(resolveDescription(common.description));
resolve Description is a function which is as follows:
function resolveDescription(d) {
if (d == :walk) {
return Application.loadResource( Rez.Strings.walk );
}
if (d == :move) {
return Application.loadResource( Rez.Strings.move );
}
if (d == :inPlan) {
return Application.loadResource( Rez.Strings.inPlan );
}
if (d == :goalReached) {
return Application.loadResource( Rez.Strings.goalReached );
}
return Application.loadResource( Rez.Strings.run );
}
The strings from Rez are all scoped for backgrounding. the class common is a global class which is also enabled for backgrounding. As I said before, the simulation works well (also during firing a background event). Any ideas?