yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Development and Hacking General] :
Ok, try the latest version, Sunscape should not crash anymore.

Thank you for taking the time to submit these bug reports!

Initial post updated!
[Windows Mobile Development and Hacking General] :
A new release with some fixes. It should be a bit more memory friendly and hopefully fixes a random bug I've noticed.

Initial post updated!
[Windows Mobile Development and Hacking General] nir36:
woot. i'm torn between using Sunscape to... well.. anything else.
[Windows Mobile Development and Hacking General] :
Another bump. This one is meant to optimize further and hopefully not break anything. The only visible change is a minor revamp of the unknown caller image. Other than that only internal references are changed and some stuff reordered (Sunscape uses it's own library now).

This release has been marked HOT since it needs extensive testing. It seems to work fine on the emulator and on my machine but there's only a certain amount of testing one can do.

Initial post updated!
[Windows Mobile Development and Hacking General] :
Time for another update. A phone signal gadget has been added.

Initial post updated!
[Windows Mobile Development and Hacking General] :
Noticed a small bug (sometimes the process would return a negative (??? why oh why???) PID and Sunscape didn't like that) so I fixed it. It shouldn't crash on reminders or alarms (if it did on your machines) anymore.

Also the signal gadget in landscape mode didn't align properly, now it does.

Initial post updated!
[Windows Mobile Development and Hacking General] riskyrockwilder:
can someone help me out with setting this up properly since some of the instructions are kind of confusing

All i want is for this program to lock if either

a) i hit the suspend power button

b) i hit the right button which is mapped to sunscape

I DO NOT want it to automatically lock after a given period of time...right now if im playing a game or writing an email it will lock right in the middle

any help is appreciated

ALSO:

the CallerID and answer functions need work....the pictures on the callerid look terrible and when i get an incoming call, the wm box appears first and then disappears, and sometimes the callerid displays the wrong name or "John Doe"
[Windows Mobile Development and Hacking General] :
Thank you for taking interest in Sunscape!

Sunscape Config -> Locking -> Lock when device is idle -> Enabled -> false

to disable the idle lock.

OR you can tune the CPU percentage (Sunscape Config->Locking->Lock when device is idle->CPU percent under which device is idle) under which the device is considered to be idle (per default it's 20% but if you have a fast processor you'd want to put this to a lower value). Sunscape monitors CPU load (CPU percent under which device is idle) in "Delay in milliseconds" intervals. That means it constantly checks in that interval if the CPU load was under the specified percent. If it was, then it locks the screen...

Alternatively, if it's a miss and it does lock the screen accidentally, just tap the "Locking" screen and it should stop locking the screen.

Alternatively, you can open the file Sunscape.xml -> SunscapeLock->AppExclusions and add a tag <app>tomtom.exe</app> where tomtom.exe is an example application executable. Then if tomtom.exe is running, Sunscape Lock should not lock the screen while it is in the foreground.

Since it's "fullscreen", you should use a contact picture with your device resolution. Most phones though have an in-built "phone picture mode" which is frequently less than your device resolution capabilities. To sum it up, if you have a 640x480 device, use 640x480 (or close) pictures or else the concept of "fullscreen" goes away pretty fast and the quality of the picture deteriorates on resize.

Indeed. However, there's no way to avoid that. What you can do is hide it as fast as possible (reference: s2u2).

Yes. "John Doe" is the default "Unknown caller"-name (you can change that in Sunscape Config ->Locale). It's a bug I haven't really been able to trace down. Under "some" circumstances SystemState.PhoneIncomingCallerContact doesn't get updated and hence you get the "Unknown caller"-name. I'm still working on that but the lack of documentation or support on these matters is, to say the least, appalling.
[Windows Mobile Development and Hacking General] riskyrockwilder:
thank you for that, very helpful

but

is there a way to automatically make sunscape lock when i hit the power button on my phone, which suspends (blacks out) the screen instead of me having to map sunscreen to a different button. Like having it automatically lock when the phone wakes up
[Windows Mobile Development and Hacking General] :
Thank you for taking the time to evaluate it!

Certainly, by default Sunscape processes WAKE_UP events. You can check the setting Sunscape Config->"Lock when device wakes up"->Enabled and Sunscape will wait for a wake-up event and launch in the background. There's a catch though, it won't lock up immediately: on my machine I press the power button a few minutes after running Sunscape Lock and after some time, if I hit the power button again the screen lights up and Sunscape is there. However if I do a quick-power cycle (ie: quick turn off / turn on) it won't lock the screen.

There's a post here since this has been a very popular question.

The thing is even for a simple thing like "monitoring backlight" you have to dig pretty deep and I found it to be more bothersome than just using wake up events.
[Windows Mobile Development and Hacking General] :
Some regression on the process handler and debugging for Sunscape Lock, nothing major but it should fix a couple of things.

Initial post updated!
[Windows Mobile Development and Hacking General] riskyrockwilder:
The problem for me is that is seems like it never locks, ive pushed the power button and left the phone "off" for a good twenty minutes and when i received a text message it woke the phone up with no lock which is exactly what i dont want because text messages waking the phone up in my pocket without a lock leaves the screen vulnerable to random touching of things. Do you know what the time for the lock to set in is generally? I have an HTC also so it should be in and around the same time as your phone.

I kind of like how S2U2 and Throttlelock aggressively lock the screen, but your program is still better than both of those.
[Windows Mobile Development and Hacking General] :
Indeed! It seems that during the hot releases I lost some logic. The wake-up event didn't register unless you had BOTH "lock on idle" AND "lock on wake up" enabled. Try the last release, it should be fixed now... Thanks for submitting this, I probably wouldn't have found it if you didn't!

No you can disable "lock on idle" and leave just "lock on wake up" and it should lock the screen after a while.

You can pretty much emulate the same behavior by playing with the CPU threshold and the time span. The bigger the CPU threshold and shorter the time span the more aggressive it becomes.

I didn't like that too much though because I've had other programs lock the screen when I was doing something important (like read something off my PDA screen) so I implemented several guards like the splash screen fast quit.

Thanks :-) It's nice to hear that! Sunscape is in no way competing with s2u2 or throttlelock. s2u2 is a very mature program and has been around for ages and has cool features like music player integration and stuff while throttlelock is more of a clever security lock system. I try to keep Sunscape as close as possible to a "screensaver" without becoming a shell or a security lock.
[Windows Mobile Development and Hacking General] riskyrockwilder:
ok so i did some more testing on it playing with the value for the idle time and im not quite sure how they work....i changed the cpu usage percentage to 1% and it still locks at the same time as if the percentage was 40%. I even tried it at 0%, which theoretically should never lock and it still locks it in the same amount of time.

Also please private message me some information so i can give a donation towards helping you improve this program :)

btw i am still using the "hot" version
[Windows Mobile Development and Hacking General] nmeister:
With your last 2 releases I cannot install the cab. It just says the installation was unsuccessful, but your stable release installs fine. any ideas?
[Windows Mobile Development and Hacking General] :
Ok. Tested here too... There's a catch though... After you set the CPU Threshold to 0 (for example) you need to do Sunscape Unlock and restart Sunscape Lock so it can read the config file again. Sunscape Lock is memory resident and it doesn't load settings on the fly since it would add a few more ks to memory consumption.

I started Sunscape Config, set the threshold to 1%, Menu->Save Config then Exit, ran Sunscape Unlock and started Sunscape Lock again and after 20 minutes the screen isn't locked.

Thanks for the offer, I really do appreciate it greatly, but your testing and support is really all I need! The rest, is just for fun... :-)
[Windows Mobile Development and Hacking General] :
Hmm size maybe? Memory full?
[Windows Mobile Development and Hacking General] nmeister:
nope i have over 90mb free.
[Windows Mobile Development and Hacking General] riskyrockwilder:
haha i apologize, i didnt realize that i had to unlock and lock before the changes took place

anyways another thing u might wanna look into.

during an incoming call i was unable to "mute" the ringer by pushing the volume rocker on the side of the phone as is typical of most phones
[Windows Mobile Development and Hacking General] :
Odd odd odd. Could you please try the latest hot one? I recreated the cab building system from scratch and tested uninstall/install on my machine.
[Windows Mobile Development and Hacking General] :
:-) Hope it works out for you now!

Yes, I have that volume rocker too... I was wondering if something useful could be done with it, ie: unlock with it. Don't know yet...

However, by default, the low level keyboard hook traps all WM keyboard taps. It might be that the rocker is hard-wired into the phone system. In other words it may be that the volume rocker bypasses Windows Mobile completely. I'm not sure, I'll have to run a few tests :-)
[Windows Mobile Development and Hacking General] :
A new bump. This one optimizes some code and proves to be pretty stable. It also "fixes" the GSM signal gauge so it updates properly. Pretty soon I'll release 0.4 since I believe we've hit a milestone and switch to svn for further development.

Initial post updated!
[Windows Mobile Development and Hacking General] l3v5y:
Thanks for the latest version! I'll be trying it out now, and will let you know how it fares...
[Windows Mobile Development and Hacking General] sempixel:
mate, your last "HOT" cab can't be installed properly.. (SunscapeCAB folder error...)

and there's some strange behavior on incoming call...

edit:

Quote:

Originally Posted by riskyrockwilder View Post

and sometimes the callerid displays the wrong name or "John Doe"

Yes. "John Doe" is the default "Unknown caller"-name (you can change that in Sunscape Config ->Locale). It's a bug I haven't really been able to trace down. Under "some" circumstances SystemState.PhoneIncomingCallerContact doesn't get updated and hence you get the "Unknown caller"-name. I'm still working on that but the lack of documentation or support on these matters is, to say the least, appalling.

ok now :)
[Windows Mobile Development and Hacking General] :
Oops. You are right, 400KB cab file, should be in the 2MB range. Something's messed up. I'll have a release within the minute and also post the svn site so you can grab them from there directly. Once again, thanks sempixel! :-)

God knows how that property works. Documentation says it should but in practice there seem to be problems. Glad it seems to work now...

Cheers!
[Windows Mobile Development and Hacking General] Designator:
Yea, and I thought I´m stupid or some :D Missing things and so on xD Thanks for responding so quickly =)

I hope we´ll get some nice looking graphics for sunscape in the near future like this iphone stuff

PS.: If some developer wants to look into this some more here is the macthemes forum link: *Klick*

And here is the programm behind all this: *klick me too*
[Windows Mobile Development and Hacking General] :
Thanks for taking interest in Sunscape! Sunscape is fully configurable: placements and graphics so I presume that some talented person like sempixel, ruebyi and master athlon can really achieve an amazing theme. I'm not too graphically inclined although I have some ideeas...

One thing which won't be possible in the near future is interacting with Sunscape: ie: read the sms directly from Sunscape. I consider it too much overhead and if that's what somebody wants, here are some pictures beside your own:

That's the raving rabbids theme for SPB Shell, imho, absolutely beautiful!

That's Manilla 2D with lots and lots of nice skins.

The problem is... Where do you draw the line? I presume that you can get lost somewhere along the way:

Screensaver -> Relacement Shell -> Operating System

I personally like to stop at screensaver and have some proper calendaring, contact manager, email software and so on handle my other needs (ie: SBSH or SPB software which has proven to be really powerful).
[Windows Mobile Development and Hacking General] Designator:
Hey thanks for your reply =) I didn´t want to start a flame war or some. I was just pointing into a possible direction. As to what is too much and what not I totally agree with you. Sometimes it´s really better to keep things simple than to make them more and more complex.

So basicly I agree with your opinion ! Keep going with your cool work =) :cool:
[Windows Mobile Development and Hacking General] :
CAB fixed and link updated. This one should install properly. I'll also release 0.4 pretty soon today and post the svn link I'm going to be using for development.

Initial post updated!
[Windows Mobile Development and Hacking General] :
No no, no offense taken! Actually, maybe your post triggers some action and we get some more themers! ;-)

On the down side, I love that raving rabbids theme, the Manilla 2D interface and your post is nice too. However, I don't know... There are some things in SBSH PocketBreeze and SPB Diary which I don't like but when it boils down to calendaring, contacts and appointment management they're just... rock solid.

Oh here's another one I've been looking into. It's closer to Sunscape than the others but it's also a shell, it's called today life:

This one can be mimicked fully in Sunscape with some Sunscape.xml modifications.
[Windows Mobile Development and Hacking General] :
----------------------- MARK -------------------------

0.4 is out! If you're up to date on this thread, you don't need to update since the very last version got marked to release as 0.4!

Thank you for your support, comments and the vital feedback that made Sunscape come alive to a stable application! The source is released on sf.net.

You may now browse the svn and get the most up-to-date version from there. Snapshots will be posted as well but with will be less frequent. I will announce when minor fixes are available.

Themes by sempixel, ruebyi and master athlon will have to be updated to support the latest changes in Sunscape.xml and use or disable the single color transparency as well as the new phone signal gauge. Any other themes posted here will be, of course, added to sf.net with respective credit to the creator.

Screenshots will also be available on my site since I can't add any more here.

Once again, thanks for hanging on for this release!

----------------------- MARK -------------------------
[Windows Mobile Development and Hacking General] rareness4:
Interesting program. I'm a lil confused on how to edit the background pic. Do I replace all the pic files w/ the new background I want to use? Or...?

Thanks in advance.

As far as the themes already created, could they be converted to VGA mode?
[Windows Mobile Development and Hacking General] Designator:
What´s still bothering me is that it takes Sunscape so long to come up. Like when your phone got unlocked it locks itself after a certain amount of time and turns off the screen when you then get it back to life I can see TF3D and the spinning wheel for a few seconds before the lockscreen comes up.

I hope you get what I mean =)

Otherwise I´m pretty impressed by the customizeability ! And I´m already pretty far with my own theme.

It´s already 00.05am here so good night fellas !
[Windows Mobile Development and Hacking General] :
Thanks for taking interest in Sunscape!

Yes, you just replace them with whatever you want. The program is either VGA or qVGA. It depends on what picture you put there. By default, the background is 480x640 VGA but, on my machine, Sunscape scales it down to qVGA 240x320. Normally, all graphics are scaled down so theme designers should try to design it for VGA 480x640 since Sunscape will scale down the graphics automatically.

Icons and gadget editing is a bit more complex since you may have to edit positions etc. You can use Sunscape Config and/or Sunscape.xml for references how they work (Sunscape.xml includes more comments than Sunscape Config).

Generally, if you respect the proportions (ie: the default wallpaper is 480x640 so you'd use a wallpaper of the same dimension) you can just replace the original files. However, like I said above, you may wish to place them at a different location on your screen and that will require you to use Sunscape Config and/or Sunscape.xml. Also, because of transparency, pixel 0x0 defines the transparent color. You will notice that the default gadget icons (the ones showing battery status, volume etc...) are drawn on a black background. Since pixel 0x0 is black, that color is rendered transparently.

Converting the themes, is up to our beloved theme makers... :D As far as I know, they must be ported to the new 0.4 release and may not work correctly just now (specially since I've added transparency).
[Windows Mobile Development and Hacking General] :
Hehe, cheers, can't wait to post it. Indeed, the idea of the project is to allow you to control almost anything graphically. I'm pretty sure that given the structure of the program you could produce something completely "different" so that nobody would recognize you're using Sunscape.

Yep. Ok. Two things here with the slow launch:

Wake up events, this has been discussed before... I opted to choose the easy-no-hassle way out of it by going through wake up events and not through backlight. The advantage... It's a bit more stable and won't aggressively lock your screen but the downside is it won't lock up immediately after a quick power-cycle. However, it should lock the screen on "normal usage". (eg: I wake up, I do my stuff, I turn off the phone, put it in my pocket and go to work) It should lock the screen properly given some time.

Performance. Well, there are a number of things you can do to boost performance. Actually you have "a lot to do here". Sunscape uses all graphical files from the img/ directory. We've had one user on this thread who complained that Sunscape reports "out of memory" and does not even start. The reason for that, as we found out, is that he was using a very large wallpaper (1024x768 - or the likes) and Sunscape was attempting to load it in memory. Baseline is, the smaller or the more optimized your graphic files are, the better the performance. Tips are general graphic tips like: use color indexed files, reduce resolution to fit just your machine (All files are converted "down" in case you have a qVGA device and of course it takes some cycles to rescale all graphics and coordinates from VGA to qVGA. If you specifically design your theme for qVGA then Sunscape won't have to scale them at all, hence faster startup), and general stuff like that...
[Windows Mobile Development and Hacking General] Designator:
Oh thanks for that little advice right there I just couldn´t get it to work :D Also thanks for your detailed reply I really aprreciate that :)

Have a good day sir :cool:
[Windows Mobile Development and Hacking General] madster:
1) I have a notification error pop up everytime I have unslide the screensaver...error in storage card/sunscape/sunscape lock.exe. I have already installed in main memory. But the program is working well as it will lock after the preset timing. Pls advice

2) I tried to install those themes created by copy those folders in the img but it does not appear, only some icons appear. Pls advice.
[Windows Mobile Development and Hacking General] sempixel:
Wait for themes being updated to support last stable v0.4

"Squared Nature" theme update is WIP actually. Stay tuned... ;)
[Windows Mobile Development and Hacking General] :
Thanks for taking interest in Sunscape!

1.) Sunscape was never tested on external storage, however, I have tried installing Sunscape on the storage card and then locked/unlocked it several times but I was unable to reproduce the error.

Here are some hints: do you get a message like "Please report this bug! Threw [...]"?

If you get a message like that, then it means Sunscape crashed. Could you please post what that long message says exactly (it should be a series of method calls)?

If you don't get a message like that then Sunscape didn't crash and the error comes from something else (bad instalation, faulty card, etc...).

2.) The themes (except the default one) are not maintained by myself. Please contact the developer of the theme directly to update the themes at least to Sunscape stable version 0.4. There are quite some changes in 0.4 and most certainly the themes are by now obsolete and will not function properly.
[Windows Mobile Development and Hacking General] :
Hehe, squared nature is really popular I think. It looks very professional! :D
[Windows Mobile Development and Hacking General] madster:
Thanks for the reply. I kept getting a notification error box "cannot execute the file storage card/sunscape/sunscapelock.exe" even I have uninstalled the SW. I have already unlock the sunscape first before I uninstall. I oso delete all sunscape folder and sunscapelock.exe in startup folder.

Please advise.
[Windows Mobile Development and Hacking General] :
Oh ok. Now I understood, sorry... You uninstalled and you get an error that it can't launch it (because obviously it's not there). The notification queue got corrupted and you have a dangling reference in there most probably. You can use one of these tools to remove the duplicate / stray notification:

Scarybear Check Notifications (freeware)

SKTools / Memmaid / Pocket Mechanic (commercial)

Either one of them is fine. You just run them and clear the notification queue of dangling / duplicate references.
[Windows Mobile Development and Hacking General] rickylcp:
Thanks SevenRains for such great application.

I would like to know any special parameters needed to be changed for a WQVGA device (Omnia)?

I've changed the

- <SunscapeLock>

- <LockOnIdle>

<enabled>true</enabled>

<StartIdleTime>60000</StartIdleTime>

<CPUThresholdPercent>12</CPUThresholdPercent>

</LockOnIdle>

- <LockOnWakeUp>

<enabled>true</enabled>

</LockOnWakeUp>

</SunscapeLock>

- <resolution>

<X>240</X>

<Y>400</Y>

</resolution>

and changed a WQVGA wallpaper. But the Sunscape doesn't hangs on the "Locking" screen and nothing showed up.

May I know which part I did it incorrectly?

Please kindly advise.

Again, thanks for providing such great application.:)
[Windows Mobile Development and Hacking General] :
Welcome to the forums and thanks for taking interest in Sunscape!

The resolution setting should only be changed if everything else is changed. It's mostly there for themers in case they want to optimize everything to a specific resolution.

What happens if you leave the resolution as it was (480x640 on the default theme) and just change the wallpaper image? (Under normal circumstances Sunscape should adapt everything to your resolution but it should leave the wallpaper untouched.)