Related
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...
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...!
Hey all,
Apologies if this has been asked before, I've scoured the search function but couldn't find it.
A feature I really miss from iOS and Android (I've had both) is where you look up a restaurant or something on your browser and it recognises the telephone number and underlines it.. so you just tap to call.
Right now I have to copy the number (or memorise it), go to the phone function and then create a new contact, paste the number and then call.
Is there an App or something that gives that functionality in WP (I have a HTC Titan with latest updates)?
Thanks,
K
Swisskom said:
Hey all,
Apologies if this has been asked before, I've scoured the search function but couldn't find it.
A feature I really miss from iOS and Android (I've had both) is where you look up a restaurant or something on your browser and it recognises the telephone number and underlines it.. so you just tap to call.
Right now I have to copy the number (or memorise it), go to the phone function and then create a new contact, paste the number and then call.
Is there an App or something that gives that functionality in WP (I have a HTC Titan with latest updates)?
Thanks,
K
Click to expand...
Click to collapse
something called 'send to my wp7' in marketplace.
drupad2drupad said:
something called 'send to my wp7' in marketplace.
Click to expand...
Click to collapse
I've just downloaded and set it up, and its useful (same as Chrome to phone on Android) but not what I meant. Essentially if I'm browsing the web on my phone, I want telephone numbers (on the web page) to automatically open up the phone program. All this is on the phone, not my PC.
Cheers
How are the numbers being formatted on the web page? IE9 I think looks for specific syntax.
ScottSUmmers said:
How are the numbers being formatted on the web page? IE9 I think looks for specific syntax.
Click to expand...
Click to collapse
Like (us of a numbers) 601-555-1234 just as you would dial them. The os pickes up a set of 7,10 or 11 numbers as phone numbers and dumps them to the dialer. Its the way it should have always been (nice)
I have Samsung Focus and running 7720 and I just tap the phone number on the web page and it take me to a screen asking if I want to call or store number.
Seed 2.0 said:
I have Samsung Focus and running 7720 and I just tap the phone number on the web page and it take me to a screen asking if I want to call or store number.
Click to expand...
Click to collapse
same here. Never had a single issue with this.
Same here... always works - is it do to the international settings? (Settings, swipe, phone, international assist)? i have mine on
Also in IE try changing from mobile to desktop version to see if it makes a difference.
ohgood said:
Like (us of a numbers) 601-555-1234 just as you would dial them. The os pickes up a set of 7,10 or 11 numbers as phone numbers and dumps them to the dialer. Its the way it should have always been (nice)
Click to expand...
Click to collapse
is the quoted phone number showing up as a link for anyone? Its not clickAble for me on 8107 with mobile or desktop setting. Also tried international assist setting and it had no effect as suspected.
One feature I miss from previous OSes is the lack of ability to paste a phone number in the dialer. It is not always the case that we are able to successfully dial a number by tapping on it.
bobzero said:
is the quoted phone number showing up as a link for anyone? Its not clickAble for me on 8107 with mobile or desktop setting. Also tried international assist setting and it had no effect as suspected.
Click to expand...
Click to collapse
Does not work for me, neither do national (Swiss) or other European numbers. I usually have the opposite problem with iOS etc.. i.e. any sequence of numbers (including serial numbers) being interpreted as a telephone number
419-685-5468
419.685.5468
(419) 685-5468
(419) 685 5468
(419)6855468
419 685 5468
4196855468
Do any of these show up as clickable? If so post your OS version
None are clickable on 8107 here.
bobzero said:
419-685-5468
419.685.5468
(419) 685-5468
(419) 685 5468
(419)6855468
419 685 5468
4196855468
Do any of these show up as clickable? If so post your OS version
None are clickable on 8107 here.
Click to expand...
Click to collapse
All but the last one were clickable for me (version 7720). I attached a screenshot of what I get with the first 6 numbers. Gives option to call, and edit number beforehand if necessary.
dtboos said:
All but the last one were clickable for me (version 7720). I attached a screenshot of what I get with the first 6 numbers. Gives option to call, and edit number beforehand if necessary.
Click to expand...
Click to collapse
Same results for me too. HTC Titan ATT 7720.
Interesting that it is working for you guys. I tried changing my region settings all to USA and now it is working was previously set to Canada.
Weird... report that one to MS... i would think it would urk a lot of people. I live in the US.
Not clickable to me. im using the dft v3 rom on my 7 Pro. How i have managed to pick up numbers from the browser is to copy the number, create a new contact and then call to the number. Leaving the name field empty makes that contact appear frist for easy calling and deletion after the call.
So bottom line here would be to get the paste option to the dialer. That is a WAY better solution to call numbers from the browser, than have the browser identify all numbers as phone numbers.
bobzero said:
is the quoted phone number showing up as a link for anyone? Its not clickAble for me on 8107 with mobile or desktop setting. Also tried international assist setting and it had no effect as suspected.
Click to expand...
Click to collapse
That phone number shows up as orange text that is clickable. I have my phone set to mobile view priority.
---------- Post added at 04:28 PM ---------- Previous post was at 04:26 PM ----------
dtboos said:
All but the last one were clickable for me (version 7720). I attached a screenshot of what I get with the first 6 numbers. Gives option to call, and edit number beforehand if necessary.
Click to expand...
Click to collapse
All but the last one work for me also. Plus the web page has to be 100% loaded before they are clickable.
I Did some more testing. The only value that seems to matter is your region format setting (second from the top) inside the region+location settings. Make sure it is set to united states. Everything else can be whatever.
Anyone have the ear of someone on the windows phone tem and could pass this bug on? There's no obvious reason why the Canadian region should not have the same clickable phone links as we generally use the same formats as our friends to the south. I would chalk this up as an oversight, Canada usually gets forgotten.
Also tested Australian, and it is not working for the above numbers, but then the Aussies use a different number format iirc.
adhoc125 said:
One feature I miss from previous OSes is the lack of ability to paste a phone number in the dialer. It is not always the case that we are able to successfully dial a number by tapping on it.
Click to expand...
Click to collapse
There are other dialers you can download that you can past phone numbers into. Give one of those a try.
I thought HTC would fix this issue in Sense 4.0...but they dont seem to have done it still...Anyone have any workaround?
Here's the problem -
If I have two contacts with similar numbers,
Say Mr. A with a number 1234567890
and Mr. B with a number 2234567890
HTC Sense is not able to distinguish between the two. It offers to link the two contacts and even though I dismiss this request, thereafter if I send a text or call Mr. A, it will show Mr. B or vice versa.
Please help!!!
What about if you set one with your country code e.g. +44112345678 and the other without e.g. 2212345678. It might be enough to confuse Sense that they are different.
Sent from my HTC One X using Tapatalk 2
That won't help either... It's designed to match just the last few digits specifically to ignore the country code or IDD it calling cards prefix.
Even old school Nokias used to do this.
It's annoying when you get that one in a million match, especially if they are commonly used.
You bet...and in my case it's a husband and wife who have similar numbers, so half the time i message the husband but it shows the wife's name when its been sent...i have stopped sending cheeky messages to this friend of mine lest they get delivered to his wife by mistake!!!
By default the One X will mach tge last 7 digits. If ur stock, i dont think u can do anything. But if ur rooted, u can increase itto 8 or 9 by changing the following in build.prop:
ro.phone.min_match.HTC__J15=7
Click to expand...
Click to collapse
Where HTC__J15 is the CID number (yours might be different) & 7 is the minimum number of maching digits (change it 8 or 9 as you wish).
Hi,
if you want to phone somebody - let's call him Jochen Altmann - you can dial J-O-C... (5-6-2...) and the contacts get checked for matches. The more letters you type, the less possible hits are displayed. This also works when you start by typing the last name A-L-T...
Strangely, this does not work if the first name contains an Umlaut (ä, ö, ü) or a German ß. If that is the case, the contact won't be displayed. E.g. if I wanted to call 'Jürgen Altmann', neither typing J-Ü-R... (5-8-7...) nor A-L-T... makes the contact show up. The contact is totally ignored, as if it didn't exist.
This problem does NOT appear, if only the LAST name contains ä, ö, ü or ß.
Also, the problem does NOT appear, if the first name contains any other special letter like é.
The problem seems to affect a number of people, not only my phone. And it seems to be a Fairphone issue, not an Android issue.
Any solution available?
Best,
smartn
Hi,
smartn said:
Hi,
if you want to phone somebody - let's call him Jochen Altmann - you can dial J-O-C... (5-6-2...) and the contacts get checked for matches. The more letters you type, the less possible hits are displayed. This also works when you start by typing the last name A-L-T...
Strangely, this does not work if the first name contains an Umlaut (ä, ö, ü) or a German ß. If that is the case, the contact won't be displayed. E.g. if I wanted to call 'Jürgen Altmann', neither typing J-Ü-R... (5-8-7...) nor A-L-T... makes the contact show up. The contact is totally ignored, as if it didn't exist.
This problem does NOT appear, if only the LAST name contains ä, ö, ü or ß.
Also, the problem does NOT appear, if the first name contains any other special letter like é.
The problem seems to affect a number of people, not only my phone. And it seems to be a Fairphone issue, not an Android issue.
Any solution available?
Best,
smartn
Click to expand...
Click to collapse
This is really an Android problem. Also because the search only matches the begin of a word you can not search for "rgen" for example.
_keesj said:
Hi,
This is really an Android problem. Also because the search only matches the begin of a word you can not search for "rgen" for example.
Click to expand...
Click to collapse
1. No, as stated before, this is NOT an Android problem - it did not occur on other Android 4.2.2 mobiles that I've tried.
2. You're right, the search term has to match the beginning of a word. But this is the way it works, no matter what specific letters the search term contains, so it's not a bug but the way it's meant to be.
Hello
smartn said:
1. No, as stated before, this is NOT an Android problem - it did not occur on other Android 4.2.2 mobiles that I've tried.
2. You're right, the search term has to match the beginning of a word. But this is the way it works, no matter what specific letters the search term contains, so it's not a bug but the way it's meant to be.
Click to expand...
Click to collapse
I did not look at the code I tried entering a few name containing special chars and once I was able to reproduce the problem searched the web for an answer:
I found the following thread from 2009!
https://code.google.com/p/android/issues/detail?id=3732
Thanks for your effort, _keesje, but after flying over a good portion of the 235 entries on the website which you linked, it seems to me as if they were dealing with another bug in the search function: the problem that a contact search is only limited to the names, so you can't search by company etc.
Surely a problem worth mentioning, but not the least helpful in the matter I'm dealing with - or did I miss anything? If so, please provide the number of the entry.
smartn
In the meantime, Fairphone has replied to my direct request:
"Thank you for your email. Our development team is aware of this issue, and we hope to include a fix the future update.
Cheers,
Rick"
I hope so, too.
But meanwhile, I'm still thankful for any other approach...