Cannot find the OwnerData - can somebody please help - Windows Mobile Software Development

Hi
maybe you can help.
I`m searching for the OwnerData in a file or the place in the registry.
With OwnerData I mean the stuff - name, company, address, telephone and Email.
I know you can enter the information with the pen but where is the data stored?
I have found the place where the device name stands in the registry
HKEY_LOCAL_MACHINE->Ident->Name
But could not find any OwnerData in the registry.
I`m for any clue grateful.
Thanks
Kirk

[HKEY_CURRENT_USER\ControlPanel\Owner]
the keys 'Owner' and 'Notes'
stored as fixed length unicode strings, in a REG_BINARY type value

Thank you
Kirk

Related

Another volunteer project: IIWPO (theft protection)

I need (or in fact, we all need...) someone that can read and write to the registry and send SMS messages in C++. (A code example for sending SMS is here)
The objective here is to create a program which we can include in the ROMkitchen and which will allow for theft-protection of the device. Basically when you select this option, you enter the GSM number of a friend and your name at the time you create the ROM. The device regularly checks whether your name still appears in the Owner Information. If not, it sends an SMS to your friend, including the new owner info, and then it is silent until the Owner Information changes again.
More formally:
Code:
Loop forever
SLEEP 1 hour
IF reg-key '\HKEY_CURRENT_USER\ControlPanel\Owner'
value 'Owner' != reg-key '\HKEY_CURRENT_USER\
Software\XDA-developers\IIWPO' value 'LastOwner'
THEN
COPY 'Owner' to 'LastOwner' (See above)
IF value 'Owner' doesn't contain the string
held in '\HKEY_CURRENT_USER\Software\
XDA-developers\IIWPO' value 'Name' THEN
Send data from Owner field above
via SMS to number held in '[...]IIWPO'
value 'Number' (REG_SZ)
Only slightly complicating factor is that the 'Owner' field is a binary field holding unicode, and that I'd like the 'Name' field in our own entry to be REG_SZ because ROMkitchen does that without hassle. But otherwise this is all pretty straightforward.
Because our IIWPO (which, by the way, stands for 'Interesting Interaction With Previous Owner') program is meant to be in 'Startup', it would be nice if memory footprint was as small as possible. Since it's going to sleep most of the time, performance should be unaffected no matter what.
The sleep is at the beginning so that you have one hour after a cold boot to set your name before it starts sending the SMS.
Ofcourse everyone that has read this could change the registry. We're assuming for a moment that it's much more likely that your phone will be stolen by someone that didn't read this. A little Security By Obscurity never hurt anyone.
I just wonder
very interesting concept, very...
I can code this feature easy, but I just wonder: what to say, if your stoles device will stay hundreds kilometers away from you a few days later? ask the new owner to mail it to you?
hmmm? maybe it is worth?
improve the concept
I have an idea to improve the above concept:
1. we can save the original owner and "sms to send" number in the random generated register key, encrypted binary - it will be hard to find and delete for most of users
2. we provide a shortcut to the application allows the oroginal user to run it and type the name and the above number and save
3. after the above point 2 happen once, the shortcut and even the application are deleting completely, so nobody can do that again
the quextion is:
the execute part of the application: to check the current name and eventually send the sms, have to be placed in the Startup folder to run after the reset. How to hide this shortcut?
Re: improve the concept
JGUI said:
1. we can save the original owner and "sms to send" number in the random generated register key, encrypted binary - it will be hard to find and delete for most of users
Click to expand...
Click to collapse
Nice idea: but any thief that knows about this danger will just cook themselves a new ROM and install it.
2. we provide a shortcut to the application allows the original user to run it and type the name and the above number and save
Click to expand...
Click to collapse
Why not just do it in the ROMkitchen?
And besides, it already done: a kind gentleman by the name of Charles Warner has written the app, and it'll be in the ROMkitchen later today, hopefully...

HTC Home weather customization.

Hello everyone...
I am currently trying to make the HTC weather plugin that is included with the new Rose rom floating around (I am currently using Ricky/Stylez version) and would like some help.
I've searched dozens and dozens of threads it seems on how to add your own city (closest it shows by default is Cincinnati, nearly 45 minutes from me.)
As it stands, I have editied the registry, edited an XML file to add in my citys location information, and attempted to hex edit the .exe file to manually change the lookup address.
The problem I am running into is that I do not have enough room to change it to what it needs to be changed to. Currently, the address that the .exe has is http://www.accuweather.com/?ad=htc, the address I need to change it to is http://weather.not2advanced.com/htcweather/forecastdata.php?locCode=45036 which as you can easily see is much longer than the room alotted. I have tried replacing the string (accuweather) with the n2a one. This leads to the problem of not being able to sign the file afterwards meaning it wouldn't run on my phone.
Can anyone shed some light on how to add more space into an exe via hex? Any time I seem to add in more space, the program fails to sign....please help
**edit**
Has anyone perhaps found a .dll file pertaining the the weather plugin? The only things I have found so far are just pictures the plugin itself uses, the XML file with all the cities + my added location, an exe called weatherapp (the one I have been hex editing) and another exe called weatherupdateservice.
Sorry if anything is hard to understand. I am fairly new to the whole aspect of hex editing. If you need clarifacation on anything, please let me know.

Detailed weather URL not working

(by McNevin and mloamiller from T-Mobile forums)
On the weather tab, when I click on "More Detail Online" I get a 404 error page. It does the same thing on my PC, if type the address manually. I can look up detailed weather pages, I know that Athens, Greece works.
The correct address is:
http://www.accuweather.com/m/en-us/NAM/US/WA/Seattle/details.aspx
What I get when I click is:
http://www.accuweather.com/m/NAM/US/WA/Seattle/details.aspx
I searched for a registry settng that would define this URL, but the only setting I found pointed to "manila:IDS_WEATHER" or something like that (don't remember the exact syntax). I remember seeing a large number of files named "manila" in the Windows folder, and also remember someone saying this was the app name for the TF3D interface. I took a look at one of those files - they seem to be XML files, and the one I looked at had several tags such as
<trans-unit id="IDS_MENU">
<source>Menu</source>
</trans-unit>
I would be willing to bet that one of these _manila files includes an "IDS_WEATHER" tag with the actual URL that gets used by the weather app; changing that URL may fix the problem. Unfortunately, there are hundreds of these _manila files and I don't have a way to search all of them for "WEATHER".
Any ideas on how to fix this?
Don't have an answer to the specific question, but if you were to copy all of the manilla xml files on to your desktop you could then use the Windows search to search for snippets of the url within them.
However, it's entirely possible that this data is compiled into the applications binary files. If you have no luck, email accuweather and tell them there are embedded devices that have the wrong URL. They surely want the inbound traffic so it's in their interests and relatively trivial for them to set up a redirect from the broken one on their site. To be honest, this would be the best solution as it would work for everyone!
I thought of that, but the files don't have any extension (e.g. 00a49dc2_manila); doesn't Windows Search require an extension, so a specific viewer can be associated with them? I couldn't figure out how to rename all of them to have an XML (or even TXT) extension so they could be searched.
However, I just answered my own question - I remember I had Notepad++ on my machine which allows me to search through files regardless of their extension. I'll give that a shot.
I was able to search through all of the "manila" files for "WEATHER" and found 463 hits among 63 different files. Of those, "accuweather" only showed up 4 times in one file (17ae3d30_manila), but none of them are the URL I was looking for. Back to the drawing board, I guess.
That file looks to be the html page it sends you to when you hit "About" in the weather tab.
How about this:
http://forum.xda-developers.com/showpost.php?p=2488224&postcount=73

Lack of Area Code notation removes contact detection on WinMo 6.5

Hello
Earlier today I upgraded to Windows Mobile 6.5.
Since none of my number are in 61+ notation [Country Code], there is not contact recognition, and I have to manually assign each person who's called me to there corresponding number.
How do I automate this process, i.e.; do I change something in the registry, or is their a tool to prepend 61+ to each stored number?
Please tell me how I can get contact detection to work accurately.
Thanks in advance,
Chip D. Panarchy
Found whilst searching the archives, I was certain I'd seen it somewhere before, serendipitously twas from a page which I'd replied to! =]
chotoomotoo said:
Use TrineFix to add +61 to all your contacts..its available here..
http://gydarindustries.com/?page_id=4
Click to expand...
Click to collapse
I had to go individually through all my contacts and assign the "+1" (for USA) to them. Yeah, it's aggrevating. But I didn't know of the above!
!!!
Too bad I couldn't of been of help earlier, manually changing them all must've sucked...!

Start programming: help for coding a vocabulary builder

Hi at all,
I would like to start coding for wp7. I already have the sdk and some knowledge about c#. However, I don't know how and where to start.
My plan is to program a vocabulary builder, that just asks a vocabulary from a database, then waits until the user has thought about the answer, then on click shows the answer and the user can say if it was right or wrong. Dependent on the answer the vocabulary's phase increases or decreases 1. There should be six phases.
No idea how to do that. I even don't know where to save the vocabularies and how to get them on the phone.
Any ideas for me?
Hi,
Depending on the size of the dictionary you could put the vocabs in one or more XML files, that will be deployed with your application. Maybe something like this:
Code:
<dictionary sourcelanguage="spanish" targetlanguage="english">
<vocab id="1" word="uno" translation="one"/>
<vocab id="2" word="dos" translation="two"/>
</dictionary>
Add the file to your project with build type content and read it e.g. with XDocument.Load("spanish.xml") => see here.
Build classes representing your XML-Structure and get a random vocabulary to display it to the user (use a public property e.g. "CurrentWord" in your ViewModel that is bound to a UI-Element in your View).
The "Show answer" button should be binded to a Command that triggers the hidden answer and the "Rate my answer" button to be shown.
To save the phases you could build up a index file that saves the IDs of the vocabularies with an integer of the phase count. This would then be saved each time the user processes words.
Hope this helps a bit.

Categories

Resources