Get current conditions/temperature from pocketWeather - Windows Mobile Development and Hacking General

I've noticed that S2U2 is able to read the info from pocketWeather.
I need to read this information from wm registries in order to use it in WAD.
Can anyone guide me through this ?
I know that mortscript would allow writing the registry so the main problem should be finding where the actual pocketWeather data is held.
Thanx in advance,
Bogdan

dafimoto said:
I've noticed that S2U2 is able to read the info from pocketWeather.
I need to read this information from wm registries in order to use it in WAD.
Can anyone guide me through this ?
I know that mortscript would allow writing the registry so the main problem should be finding where the actual pocketWeather data is held.
Thanx in advance,
Bogdan
Click to expand...
Click to collapse
PW stores its data under HKCU\Software\SBSH\PocketWeather. There is a separate key under that for each location the user has defined, named by the eight-digit location IDs. Beneath those keys, you will find the weather details for each location.
Hope this helps,
-pvs

Thanks, it does the trick ... and also saves me A LOT OF TIME

dafimoto said:
Thanks, it does the trick ... and also saves me A LOT OF TIME
Click to expand...
Click to collapse
Did you manage to achieve anything? I am trying since quite some time to do the same, putting PocketWeather data - taken from registry - into a WAD page but with no success.
The registry section above contains a lot of data and I do not know how to extract only part of it (namely temp and forecast) and how to display it in WAD.
Can you share your way?
TIA
Graz.

Related

How to remove/modify date & time display in the taskbar

Eversince I upgraded to 2003 SE, both date & time are being displayed in my taskbar. I would want to remove the date portion or modify the size but i can't see it in the Settings. Could someone help me? If it involves editing the registry, please instruct me how, i have a registry editor ready, although i haven't used it since
Hi
Read "Tweaking BA registry" in BlueAngel's wiki section.
Himalaya Registry is mostly the same, so the date format registry tweak will work for you.
Good luck
Alternatively, if you're lazy, grab a trial copy of Spb's Tips & Tricks which includes this tweak.
thanks mtbsoft,
i already tried the trial version of Spb Tips and Tricks but I couldn't find it from the tweak section. I only found the "Change Date and Time format" in the today screen. What I want to do is to remove the date portion from the taskbar (upper right), as you can see in the image i attached previously. I want it to display just like the W2003 did, just the time, no date.
thanks robal,
Could you please give me the direct link to that "Tweaking BA registry" that you mentioned? I tried searching it but no luck. Thanks
guys, i got it already. i tried the tweak in this thread by dilipc http://forum.xda-developers.com/viewtopic.php?t=25804&highlight=tweak
it works!!!
Glad you got it working, though...
ravelcop said:
i already tried the trial version of Spb Tips and Tricks but I couldn't find it from the tweak section. I only found the "Change Date and Time format" in the today screen.
Click to expand...
Click to collapse
...you looked in the wrong area. User Interface | Change long date format is the one I presume your found (according to its description) but what you wanted was the System | Display date in titlebar option.
ohhh, missed that. thanks for correcting me

Another registry edit question

I have read much info on registry editing and I have done one successfully already. However on the wiki the popular registry edits seem to not be in the same format. For removing the battery icon the instruction is:
Remove the Battery Icon:
[HKEY_LOCAL_MACHINE\Services\Power]
"ShowIcon"=dword:00000000
Is this simplay saying change the value of the existing ShowIcon to 0? Or am I supposed to create a new entry for this?
pstritt said:
I have read much info on registry editing and I have done one successfully already. However on the wiki the popular registry edits seem to not be in the same format. For removing the battery icon the instruction is:
Remove the Battery Icon:
[HKEY_LOCAL_MACHINE\Services\Power]
"ShowIcon"=dword:00000000
Is this simplay saying change the value of the existing ShowIcon to 0? Or am I supposed to create a new entry for this?
Click to expand...
Click to collapse
In the example you give, where the key already exists it means you change the value to 0. This is a fairly typical case where "1" means do/show the item and "0" means do not do the thing.
Mike
mikechannon said:
In the example you give, where the key already exists it means you change the value to 0. This is a fairly typical case where "1" means do/show the item and "0" means do not do the thing.
Mike
Click to expand...
Click to collapse
Hello, Mike:
I have enjoyed your posts, good advice and humor. Keep up the good work!
I am a slovenly user with above average interest in computers, and tweaking them to get them as I want them. No programming or other tech training, however. Is there a good tutorial "PPC Registry Editing for Dummies" out there somewhere?
I don't understand, for example, what the practical meaning for those of us who want to tweak the reg, come up against "this is a hex edit" versus "Dword."
Everyone knows that reg editing can be very dangerous. Unfortunately, I don't see a tutorial for it on this forum.
Thanks
Ben
Greetings from Florida, USA
BigBen said:
Hello, Mike:
I have enjoyed your posts, good advice and humor. Keep up the good work!
I am a slovenly user with above average interest in computers, and tweaking them to get them as I want them. No programming or other tech training, however. Is there a good tutorial "PPC Registry Editing for Dummies" out there somewhere?
I don't understand, for example, what the practical meaning for those of us who want to tweak the reg, come up against "this is a hex edit" versus "Dword."
Everyone knows that reg editing can be very dangerous. Unfortunately, I don't see a tutorial for it on this forum.
Thanks
Ben
Greetings from Florida, USA
Click to expand...
Click to collapse
Hi Ben and thank you
Unfortunately I don't have much time at present and possibly for a few days. I will hunt around for a guide to PPC reg editing. For now I'll just say that I use PHM reg editor (the freeware one) that allows enties to be made in different formats, decimal, hex etc (really just different formats for the same thing.) I would always say use a good full backup programme I use SPB backup so if things go awry it really doesn't matter as within 5-10 minutes you can revert back.
Cheers
Mike
mikechannon said:
Hi Ben and thank you
Unfortunately I don't have much time at present and possibly for a few days. I will hunt around for a guide to PPC reg editing. For now I'll just say that I use PHM reg editor (the freeware one) that allows enties to be made in different formats, decimal, hex etc (really just different formats for the same thing.) I would always say use a good full backup programme I use SPB backup so if things go awry it really doesn't matter as within 5-10 minutes you can revert back.
Cheers
Mike
Click to expand...
Click to collapse
Thanks, Mike. Please don't spend any time looking for this. I thought you might know of a guide, but don't trouble yourself. I have Googled and not come up with anything useful to me, but something will come up.
Regards,
Ben

Automatic Softreset

Hi,
I do see that memmory is an issue in almost all the ROM's.
So is it possible too do a softresett by automatic??
I use Phonealarm and it is an option there too start a program/file when you use the automatic profileswitcher.
It is also programs like RunOnce and MortScript that could do this.
Is there anyone that knows what the command or programfile for "Softresett" is called??And is this possible??
Thanks anyone
alunde said:
Hi,
I do see that memmory is an issue in almost all the ROM's.
So is it possible too do a softresett by automatic??
I use Phonealarm and it is an option there too start a program/file when you use the automatic profileswitcher.
It is also programs like RunOnce and MortScript that could do this.
Is there anyone that knows what the command or programfile for "Softresett" is called??And is this possible??
Thanks anyone
Click to expand...
Click to collapse
Yes, you could try skschema or xbar:
X BAR
http://www.pocketgear.com/software_detail.asp?id=20823
[FONT=Geneva, Arial, Sans-serif]SKschema
[/FONT][FONT=Geneva, Arial, Sans-serif]http://www.pocketgear.com/software_detail.asp?id=20385[/FONT]
Mike
CommMgrPro allows automatic SoftReset schedule
Now I didn't know CommMgrPro did that - very useful along with all the other things it does
http://www.commmgrpro.com/
Mike
Thanks,
I loaded SKTools looks like a toll for tweaking and maintance but cant se any options for automatic softreset?? or other auto start but backup??
I also read about Xbar and this seems very much the same but not so advanced.
I there any .dll or .exe file for the command for a softreset,i tried to search the forum for any thread that could show me anything around this without any luck.
Thank again for any tip on these issues
alunde said:
Thanks,
I loaded SKTools looks like a toll for tweaking and maintance but cant se any options for automatic softreset?? or other auto start but backup??
I also read about Xbar and this seems very much the same but not so advanced.
I there any .dll or .exe file for the command for a softreset,i tried to search the forum for any thread that could show me anything around this without any luck.
Thank again for any tip on these issues
Click to expand...
Click to collapse
Where did you get the idea for sktools? Good as sktools is it is skschema that can do the job - link in my first post.
Mike

Titanium Plugin Development (API?)

Hi all, I seem to be having trouble finding any sort of documentation on how to develop Titanium Plugins for the WM6.5 home screen... Is there any information out there that someone could point me to? My plan is to use Visual Studio 2008 (3.5 .Net) if that makes any difference... Thanks for any help.
Well it's all about interaction with registry. You could also use mortscript. even tho Visual Studio can do it too. You just need to write the needed keys to the registry, and point to them in your .cpr file.
larbke666 said:
Well it's all about interaction with registry. You could also use mortscript. even tho Visual Studio can do it too. You just need to write the needed keys to the registry, and point to them in your .cpr file.
Click to expand...
Click to collapse
Thanks for the tip. Are there any places where this is documented...? Seems a bit strange to keep this information so well hidden...
I'll continue the search...
Wigmund said:
Thanks for the tip. Are there any places where this is documented...? Seems a bit strange to keep this information so well hidden...
I'll continue the search...
Click to expand...
Click to collapse
It's not hidden just search for it, for example:
http://forum.xda-developers.com/showpost.php?p=3601164&postcount=2
http://forum.xda-developers.com/showthread.php?t=509492
and there are more
I started documenting my journey on CHome development.
http://brunolauze.spaces.live.com/blog/cns!8827D2F13B317CBF!427.entry
CHome Documentation
I started documenting my journey on CHome development. I hope to add more in days to come.
http://brunolauze.spaces.live.com/blog/cns!8827D2F13B317CBF!427.entry
blauze said:
I started documenting my journey on CHome development. I hope to add more in days to come.
http://brunolauze.spaces.live.com/blog/cns!8827D2F13B317CBF!427.entry
Click to expand...
Click to collapse
Even though I'm logged in on Windows Live I have no access to your live space ...
Thanks for the pointers... and as far as official documentation goes, it doesn't seem that forth coming... btw, I can't view blauze space either.
I was trying to figure out a similar thing.
I manually added a panel to Titanium called "Battery". What I wanted was a little tool that put the latest battery charge percentage as the panel name.
After a bit of digging I realised the following code kind of works:
Code:
Dim key As Microsoft.Win32.RegistryKey = Microsoft.Win32.Registry.LocalMachine.OpenSubKey("Software\Microsoft\CHome\battery\Page1", True)
key.SetValue("TEXT1", Status.SystemState.GetValue(Status.SystemProperty.PowerBatteryStrength) & "%")
key.Close()
It does successfully change the name of the first page of the panel to the latest battery charge.
Only problem now is, I can't figure out how to get Titanium to refresh... in other words, how to get it to re-read the registry keys. At the moment, it only works by soft-resetting the phone!
digital_elysium said:
Only problem now is, I can't figure out how to get Titanium to refresh... in other words, how to get it to re-read the registry keys. At the moment, it only works by soft-resetting the phone!
Click to expand...
Click to collapse
Simply change "HKLM\Software\Microsoft\CHome\battery\Updated" from its current value to another.
Has anyone figured out a way to do a registry update or execute a script when a panel/page is selected in Titanium without having to "click" it to update?
Here's what I'd like to do... let's say I have a Twitter panel that retrieves my unread tweets every NN minutes. Sliding left/right switches between the tweets, but as I slide onto a tweet, I want to mark it from UnRead to Read in a registry setting. I currently can "click" it to update the status to Read, but havn't found anyway to do it otherwise.
I asked this awhile ago, the thread sat and went stale with no responses. Just wondering if someone ran across a new trick.
-Daryel
Okay, I have no ability to create panels and such, However I have 2 ideas for panels. One, the BAF Gps Toggle panel and a notes panel where a new page is created for each note (similar to taskanium) Anyone think they could do these?? Attached is the .cab for the GPS toggle if needed.

PROBLEM with DATE AND TIME on PHOTOS

Hi , need you're help about that thing ' there are tow dates instead of one , how can i fix this ?
iv attached a photo of the problem i have
How many threads are going to make for the same problem?
haven't you already asked about this?
http://forum.xda-developers.com/showthread.php?t=744662
obviously we haven't come up with a solution yet. Have you called htc or your carrier to see if they have an idea?
YES
nrfitchett4 said:
haven't you already asked about this?
http://forum.xda-developers.com/showthread.php?t=744662
obviously we haven't come up with a solution yet. Have you called htc or your carrier to see if they have an idea?
Click to expand...
Click to collapse
yes i did asked about it but i haven't got any solution so i am asking here , i called my carrier and they didn't have any solutions to my problem , its so frustrating
i'd be asking for a replacement then, unless it isn't that big of a deal to you. I don't think I even have date and time enabled on my pics.
How do you do it?
have you tried turning the timestamp off in camera settings?
YES
p107r0 said:
have you tried turning the timestamp off in camera settings?
Click to expand...
Click to collapse
yes , i did it , but i want the time stamp on my pictures .
my (wild) guess is that maybe somewhere in registry there are two independent entries responsible for putting date on a photo, and both marked 'on'
so if you have time and patience, you could, try to dig a bit in following keys:
HKCU\Software\Camera,
HKCU\Software\Microsoft\Pictures\Camera
HLKM\Software\Camera
HKLM\Software\Microsoft\Pictures\Camera
HKLM\System\Pictures\Camera
tried myself a little, but did not manage to replicate your problem...
or mayb just contact HTC web support?
Guide please
p107r0 said:
my (wild) guess is that maybe somewhere in registry there are two independent entries responsible for putting date on a photo, and both marked 'on'
so if you have time and patience, you could, try to dig a bit in following keys:
HKCU\Software\Camera,
HKCU\Software\Microsoft\Pictures\Camera
HLKM\Software\Camera
HKLM\Software\Microsoft\Pictures\Camera
HKLM\System\Pictures\Camera
tried myself a little, but did not manage to replicate your problem...
or mayb just contact HTC web support?
Click to expand...
Click to collapse
I would like to to help me on how i do what you suggested me
first I'd definitely recommend contacting HTC support here, because it is the easiest and fastest thing you could do
secondly - did you try to reflash your ROM? it may or may not help, depending on whether your problem is of hardware of software nature (don't know how is the timestamp imposed on the photo, but my bet goes to software)
- word of caution here - backup system before re-flashing or you will loose all data (see below for app list)
thirdly - toying with registry - by far the most painful/timeconsuming/frustrating way:
invest in good backup app and make full system backup before doing anything in registry,
available solutions: SPB Backup, Sprite Backup or Resco Backup - all commercial; there may be some freeware apps available of which I am not aware though
get some registry editor: CeRegEditor or TotalCmd, Dotfred's TaskMgr (all free), or Resco Explorer (commercial),
thus armed browse your registry (only the keys I listed earlier) looking for entries which names seem to be timestamp-related
when you stumble upon suspicious/promising entry try changing its value (e.g. from 1 to 0 or else) -> soft reset -> check if it worked -> rinse, repeat
if you happen to crash your system - restore it from backup, and start again
I hope the 3rd option does not look too scary, in fact it could be finished in few hours max (whether successfully or not is another story)
Thank you for you're help
p107r0 said:
first I'd definitely recommend contacting HTC support here, because it is the easiest and fastest thing you could do
secondly - did you try to reflash your ROM? it may or may not help, depending on whether your problem is of hardware of software nature (don't know how is the timestamp imposed on the photo, but my bet goes to software)
- word of caution here - backup system before re-flashing or you will loose all data (see below for app list)
thirdly - toying with registry - by far the most painful/timeconsuming/frustrating way:
invest in good backup app and make full system backup before doing anything in registry,
available solutions: SPB Backup, Sprite Backup or Resco Backup - all commercial; there may be some freeware apps available of which I am not aware though
get some registry editor: CeRegEditor or TotalCmd, Dotfred's TaskMgr (all free), or Resco Explorer (commercial),
thus armed browse your registry (only the keys I listed earlier) looking for entries which names seem to be timestamp-related
when you stumble upon suspicious/promising entry try changing its value (e.g. from 1 to 0 or else) -> soft reset -> check if it worked -> rinse, repeat
if you happen to crash your system - restore it from backup, and start again
I hope the 3rd option does not look too scary, in fact it could be finished in few hours max (whether successfully or not is another story)
Click to expand...
Click to collapse
thanks a lot for the help , it's seems so hard i think i need to get some courage for doing all of that .
jordan45h said:
thanks a lot for the help , it's seems so hard i think i need to get some courage for doing all of that .
Click to expand...
Click to collapse
I see now, that somehow the first line of my rather lengthy post dispappeared...
maybe it's obvious, but I meant to list those 3 bullets as alternatives, i.e. you don't need to dig in registry if reflashing ROM helps,
and consequently no need to reflash ROM if HTC support provides some solution
Thanks
p107r0 said:
I see now, that somehow the first line of my rather lengthy post dispappeared...
maybe it's obvious, but I meant to list those 3 bullets as alternatives, i.e. you don't need to dig in registry if reflashing ROM helps,
and consequently no need to reflash ROM if HTC support provides some solution
Click to expand...
Click to collapse
thank you for you're effort to help me .

Categories

Resources