libnani, there's something wrong with that LoadAppointments() - I'm getting stack corruption. Need more time to look at it (as I said I'm a newbe to the PointUI coding) - maybe during this weekend...
Pointui » Home 2 Applets Showcase
[APPLET MOD][FROZEN] Sonic MyStatus 2.5 All-In-One Applet, QVGA
(261 posts)-
Posted 9 months ago #
-
sure tyt, i'm just happy someones looking into it
Posted 9 months ago # -
Ill see if I can get a hold of Norrin tonight and see what is happening. He mentioned recoding it all together when 2.1 came out.
Posted 9 months ago # -
All,
I apologize for not answering your questions sooner I was planning to release 2.5 Final after Home2 2.1 as I knew there would be errors. The old script would bypass these errors continue on and these errors are pretty minor. Most of which exisited when the original developer created the applet. Let me address the following errors...
1) the uses reference the nonexisting PointUI.cs script
2) (the Slide referencie in LoadAppointments) - there seems to be two methods called LoadAppointments with different descriptors. I'm not sure how the PointUI scripting engine works but it looks like both calls LoadAppointments() and LoadAppointments([bool param]) call the method with descriptor LoadAppointments(bool Slide). changing all occurences of LoadAppointments() to LoadAppointments(true) seems to solve the error, but I'm not sure if it's the right solution
3) in the LoadMeterControls() there signalQuality defined inside the if{} statement but it's also refenced in it's else{} section. Moving definition of this valiable outside the if{} statement solves the error
4) in the SignalCheck() method there are two variables defined: IsNoServ, IsRoam but later they are referenced as IsNoService and IsRoaming - fixing the names solves the error
still fixing others, but...
...how come this script could ever work fine?
Tomasz
1) No prob, just take out the reference. This reference was in all Home2's original applets during the first release and it was assumed necessary. Obviously, not the case.
2) LoadAppointments() vs. LoadAppointments(bool var) - In previous code not providing the bool value the method interpreted as false, apparently in 2.1 it must always be explicit, so easy fix here to just always call method with either "true" or "false". You can have 2 methods of the same name as long as they are in the their own region or class.
3) Good catch, did not notice before, definitely breaking up code into multiple.cs files for better organization will help mitigate this.
4) Another good catch...
Previous version suppressed error and continued without raising so as long as rest of the code still work your were good to go.
Please post all bugs and I will try to fix asap, but I currently do not have access to my phone so providing detailed errors like the above will help a lot. In the meantime here is a new .cs file with fixes I've seen mentioned thus far, let me know what else and I appreciate your patience, while I am MIA (currently in the process of moving).
Tomasz, I appreciate your help in this and feel free to fix the code as you see fit. I will try to check the forum at least once a day to see what errors needs fixing...
Posted 9 months ago # -
when i get a new phone i'll be able to better debug, but tomasz any fixes you can do in the meantime would be awesome and much apreciated while i'm handicapped! thanks
Posted 9 months ago # -
ok hre are the errors with the new .cs file.
1. Parse error
Syntax error} lblWireless.setText(Terms.Get(pwireless));Device.Get
2. Cannot Create Unknown Class
My Status appletPosted 9 months ago # -
The new cs file gives these errors:
[MyStatus] Parse Error
Syntax error.}
lblWirelessp.SetText(Terms.Get(pwireless)); Device.Get[MyStatus] Parse Error
Expecting";".}
lblWirelessp.SetText(Terms.Get(pwireless)); Device.Get[MyStatus] Cannot Create
MyStatusAppletAnd applet doesn't load at all.
Posted 9 months ago # -
most of the problems appear to be with string.replace
you can't do x = x.replace(str,str)
similar issue with many other functions.
this mostly works, however still some wierdness. at load up the UI is a mess, the collapser doesn't show. some strangeness saving attributes.
will look more tomorrow or wait for official patch.
Posted 9 months ago # -
Sorry guys real difficult not having a phone to test on. I'm trying find my old MDA, but it's packed away for my move. Anyways, here's another .cs file with some fixes and additional image files needed for collapse mode and data connections. Let me know what the next errors are thanks...
Posted 9 months ago # -
Posted 9 months ago #
-
Try this...
Posted 9 months ago # -
Ok trying it now. Will report back soon. Much respect to you for trying to trouble shoot this with out your phone.
Here is the latest set. Sorry if it is alot I just wanted to make sure I gave you as much info as I could
Posted 9 months ago # -
Hey guys just wanted to Give a heads up in case we get this working before it is fixed. Accuweather is having issues with their servers and it is affecting weather info.
Posted 9 months ago # -
the file I posted fixes all these errors, I suggest starting from there if you haven't
Posted 9 months ago # -
some more fixes, if you want them
Posted 9 months ago # -
Thanks gottahavit
Now we can use the applet, until we have an updated bug-free version.
Posted 9 months ago # -
No Script errors but a few issues. I have a odd set of letters after the temp. Long hold on time does not open g-alarm, tap appointments does not open program, and it shows E instead of 3G, but it loads and that is a bounse
Posted 9 months ago # -
Yeah the wierd characters is the temperature character issue, it saves corruption in the setting file. not sure why. I changed mine to an "F" and it seems to resolve it. I have not yet looked at why the collapser doesn't show or the appt app doesn't open.
I will post updates as I fhave them unless and until the official patch comes out.
Posted 9 months ago # -
The collapser shows up and works fine on mine. where did you change to an F? where you able to get the g alarm to open?
Posted 9 months ago # -
Has anyone else noticed that this applet is taking 3megs of ram to run?
Posted 9 months ago # -
I changed the character directly in settings.txt, I believe the memory usage is related something very odd is going on with the setting file, every time I exit home2 the file becomes like 4+mb and has a lot of crap in it. I am looking at this now.
when you say the collasper are we talking the same thing the little one at the bottom of the applet, not the weather/appointment switching button?
Posted 9 months ago # -
yeah they both work for me. would you like my files?
Posted 9 months ago # -
craps out on PointUI 2.1
too bad...
Posted 9 months ago # -
Unfortunately it's still unusable. This time because it slows home 2 as hell.
Probably is the settings file that eats the memory.
Hope that NorrinRadd will give as soon a working version, cause this is the best all in one applet.Posted 9 months ago # -
Hi I've tested this app on Windows mobile SDK, and I must say it's pretty cool, But unfortunately I can't use it on my Omnia. It just wan't launch, please somebody help me. Thnx.
Posted 9 months ago # -
We are waiting on a fix when Norrin is done with real life things.
Posted 9 months ago # -
Hi all, sorry I haven't been around to help out
@NorrinRadd ... anything I can do to help?
Posted 8 months ago # -
Have Not seen Norrin around lately.
Posted 8 months ago # -
Yes, a week or so now - hope things are okay with him
Posted 8 months ago # -
Last I heard he was moving. So will wait and see
Posted 8 months ago #
Reply »
You must log in to post.
