Is there a function which allows to wake up the application when a SMS is arrived?
Thank you for your help.
Godzilla
I suppose if you can work out the schema of the databases, then you could set a notify on the db. I've tried using the MAPI notify functions (these dont seem to be documented by MS), but they don't work out of process, so, it seems you have to use the hard way.
The ugly way is to replace the SMSHandler function - it starts up from \Windows\Startup. You will have to implement all it's functionality - which means that you have accept SMS messages and then put them into the SMS Inbox.
martinlong1978 said:
I suppose if you can work out the schema of the databases, then you could set a notify on the db.
Click to expand...
Click to collapse
If you want to monitor the database for a received SMS, you need to check the pmailFolders database first. The record with property 0x3001001f being the string "SMS".
Then look at property 0x80060041 (A BLOB), this consists of a bunch of DWORD values, the second DWORD is the CEOID of the Inbox of the SMS.
Then, still in the pmailFolders database, look at the record, whos CEOID you have just determined, and it has a property 0x8003001f. That is the name of the database to which incoming SMS's will go. it wil be called something like fldr30025ea.
You can then set up a notiifcation on that database.
You should probably have a notify on pmailFolders as well, for the situation where they have never received a SMS, and the 0x8003001f property has no value yet.
..Chuck..
Anonymous said:
Is there a function which allows to wake up the application when a SMS is arrived?
Thank you for your help.
Godzilla
Click to expand...
Click to collapse
I am a bit confused by the replies... is it really that hard... check messageinterceptor
or may be i am missing something
I'm searching for the Professional InTheHand library, or something free that can make me capable to read the sms account, in working with c# and i'm trying to do a small application for send and save to sent messagge with multy contact send list...
thanks to all...
p.s.
why don't make a thread for the CF developers ?
byez
bisat said:
I'm searching for the Professional InTheHand library, or something free that can make me capable to read the sms account, in working with c# and i'm trying to do a small application for send and save to sent messagge with multy contact send list...
thanks to all...
p.s.
why don't make a thread for the CF developers ?
byez
Click to expand...
Click to collapse
have you looked at the Windows Mobile 5 SDK?? there is a reference that you can use to send / receive SMS messages and interface with the contacts list... Microsoft.WindowsMobile.PocketOutlook.dll
walshieau said:
have you looked at the Windows Mobile 5 SDK?? there is a reference that you can use to send / receive SMS messages and interface with the contacts list... Microsoft.WindowsMobile.PocketOutlook.dll
Click to expand...
Click to collapse
yes, i'm using that reference, but it's limitated,
i can't use that for save a copy of sms in the sent folder, and i can't retrive the received sms...
or not ?
can you post me a little bit of explanation code for retrive an sms ?
thankx
bisat said:
yes, i'm using that reference, but it's limitated,
i can't use that for save a copy of sms in the sent folder, and i can't retrive the received sms...
or not ?
can you post me a little bit of explanation code for retrive an sms ?
thankx
Click to expand...
Click to collapse
i havent actually used that Reference but ill have a look for you and post back soon
any news from the brains on this forum ?
please, who have got InTheHand Professional Library or OpenCF library pm me...
thanks
1) To edit the contact link Total Commander isn't needed. Use resco explorer, Action, Open Widh, Notepad. Edit, then Save and exit Notepad
2)I've mapped the right key to SEND SMS to the contact
I've copied and renamed, using Activesync, all Dial_Contact**m.lnk located in \Storage Card\Program Files\Excalibur Photo Dialer\ as SMS_Contact**m.lnk (** stands for contact's phone number)
I've opened and modified the shortcut as 44#"\Windows\Tmail.exe" -service "SMS" -to "+xx-xxx-xxxx" (XXXX stands for the contact's phone number )
3) Using OLDSAP Favorites is easy to rename in CPhotoDial panel, SK2TEXT as Send SMS and the SK2URL to \Storage Card\Program Files\Excalibur Photo Dialer\SMS_Contact**m.lnk
DONE
ill add this to my next rom coming tonight
rickwyatt said:
ill add this to my next rom coming tonight
Click to expand...
Click to collapse
Ricky, you are killing us with all these ROMS lol
Take a week or two off and release a rom with more features in it.
sergiopi said:
1) To edit the contact link Total Commander isn't needed. Use resco explorer, Action, Open Widh, Notepad. Edit, then Save and exit Notepad
2)I've mapped the right key to SEND SMS to the contact
I've copied and renamed, using Activesync, all Dial_Contact**m.lnk located in \Storage Card\Program Files\Excalibur Photo Dialer\ as SMS_Contact**m.lnk (** stands for contact's phone number)
I've opened and modified the shortcut as #44"\Windows\Tmail.exe" -service "SMS" -to "+xx-xxx-xxxx" (XXXX stands for the contact's phone number )
3) Using OLDSAP Favorites is easy to rename in CPhotoDial panel, SK2TEXT as Send SMS and the SK2URL to \Storage Card\Program Files\Excalibur Photo Dialer\SMS_Contact**m.lnk
DONE
Click to expand...
Click to collapse
cant get this to work, I changed one and it said tmail file path not clear. now it does nothing. chaned the short cut, got send sms on the right selection but now does nothing when it is pushed. I restarted and refreshed chome. any ideas?
use this http://forum.xda-developers.com/attachment.php?attachmentid=79537&d=1207413407
rickwyatt said:
use this http://forum.xda-developers.com/attachment.php?attachmentid=79537&d=1207413407
Click to expand...
Click to collapse
ah, heck i'll just flash the new rom.
The best way to test if the SMS_Contact**m.lnk works is to launch it from resco explorer. If it doesn't work may be you made a TYPO in the shortcut (forgotten " or UPPER/lowercase problem, double space or no space)
The Correct debugging is done opening the SMS_Contact1m.lnk:
1) LEAVE ONLY
44#"\Windows\Tmail.exe"
SAVE AND LAUNCH, are you in the messaging application? YES
2) open again and write
44#"\Windows\Tmail.exe" -service "SMS"
SAVE AND LAUNCH,are you in the SMS inbox? YES
3) open again and write
44#"\Windows\Tmail.exe" -service "SMS" -to "+1111"
SAVE AN LAUNCH, are you trying to send an SMS to 1111? YES
END
If any NO double check and repeat
sergiopi said:
The best way to test if the SMS_Contact**m.lnk works is to launch it from resco explorer. If it doesn't work may be you made a TYPO in the shortcut (forgotten " or UPPER/lowercase problem, double space or no space)
The Correct debugging is done opening the SMS_Contact1m.lnk:
1) LEAVE ONLY
#44"\Windows\Tmail.exe"
SAVE AND LAUNCH, are you in the messaging application? YES
2) open again and write
#44"\Windows\Tmail.exe" -service "SMS"
SAVE AND LAUNCH,are you in the SMS inbox? YES
3) open again and write
#44"\Windows\Tmail.exe" -service "SMS" -to "+1111"
SAVE AN LAUNCH, are you trying to send an SMS to 1111? YES
END
If any NO double check and repeat
Click to expand...
Click to collapse
i cant get this to work for nothing. lol maybe im missing something. i know ricky put it in his new rom but i just flashed maybe a few hours before he put it out.
so you just synced to your pc, copied over the Dial_contact**m.ink renamed it, edited it (on pc or phone?) then ran it to see if it worked?
nevermind i figured it out.
i had to move the # symbol from #44 to 44# to get it to work
Sorry, it was MY TYPO in the message! !
sergiopi said:
Sorry, it was MY TYPO in the message! !
Click to expand...
Click to collapse
hehe i got it working and its very convient
more suggestions..
First.. I have to say .. Tx so much for all.. Ricky, Kavana.. and all others..
I have a suggestion, Ricky why u dont do like Kavana´s did with the keymap ?
There´s a problem when u try, using other keymap language, like portuguese, the problem is with the xt9 why u dont use et9 ?
Maybe Im talking a lot of bullshits, but I saw that u are using XT9 and when I change the language nothing happen,
could u check that ?
Tx bro!
sergiopi said:
The best way to test if the SMS_Contact**m.lnk works is to launch it from resco explorer. If it doesn't work may be you made a TYPO in the shortcut (forgotten " or UPPER/lowercase problem, double space or no space)
The Correct debugging is done opening the SMS_Contact1m.lnk:
1) LEAVE ONLY
44#"\Windows\Tmail.exe"
SAVE AND LAUNCH, are you in the messaging application? YES
2) open again and write
44#"\Windows\Tmail.exe" -service "SMS"
SAVE AND LAUNCH,are you in the SMS inbox? YES
3) open again and write
44#"\Windows\Tmail.exe" -service "SMS" -to "+1111"
SAVE AN LAUNCH, are you trying to send an SMS to 1111? YES
END
If any NO double check and repeat
Click to expand...
Click to collapse
Thanks for the break down, missed a space. Works great!!
It's very bad to see that people are using software that I developed for the Shadow: Photo Dialer, CHome Menu, etc... using all the icons that I moded with Photshop, even the same URL for Action Keys... and nobody gives credit for it.
I don't mind sharing software with people (that is why I put together a site for it) but some credit would be appreciated.
Everytime I use an idea from someone (e.g. Dialer using vjay dialer, cyberbuddha's interface tweaks) at least I mention that people in the description of the software.
What is this CPhotoDialer and does anyone have a screenshot?
It's this: http://freddyreyes.com/forums/index.php?topic=286.0
It's not "bad" to see people using it. It's not like you own the software. You just discovered how to tweak Microsoft's software. It IS bad that we're not giving credit where credit is due. But then again, this is a different forum, a different phone, etc.... Credit would be nice, but you don't have to whine about it I've created a few cabs myself with settings for people and not always credit for it. But then again, it's okay... because it's not my software
I was mad at it and wanted to express my frustration....
it's ok no hard feelings....
freyes01 said:
It's this: http://freddyreyes.com/forums/index.php?topic=286.0
Click to expand...
Click to collapse
Screenshots anywhere? or did I miss something that's right in front of me?
Freddy, here's some credit for you: Thanks a bunch! I'm using the hell out of my phone now, and quickly doing almost all the things I hoped I would with a Smartphone, and your tools are a really nice part of it.
I hope that our tinkering helps you in kind, and that you all get your own Shadow forum on XDA soon, so we can share more.
hey
Is it possible to do so when you click all contract in contacts in TF3D then it open funcontact, and not the normal contact list.
and the same in sms when you click the sms then it open sms chat, and not the normal one.?
Plz help if you understand
It is possible only for the contacts (at least for now).
Check this thread out:
http://forum.xda-developers.com/showthread.php?t=407777
Pay special attention to this post:
http://forum.xda-developers.com/showpost.php?p=2850448&postcount=208
SSMapa does what you need. For the sms' it's not possible yet because if you replace the tmail.exe then when you click on messages you will be able to have vito sms chat, but the same thing will happen if you click on seeing your emails.
SSMaPa
Fisken said:
hey
Is it possible to do so when you click all contract in contacts in TF3D then it open funcontact, and not the normal contact list.
and the same in sms when you click the sms then it open sms chat, and not the normal one.?
Plz help if you understand
Click to expand...
Click to collapse
Try a search for SSMaPa...this will do the trick...
I have replaced many of my default applications using this
EDIT:
Seems somebody just posted it parallely
tanks, but what .exe in it is the one for contacts?
Is it safe to say that FroYo's built-in SMS capabilities don't allow you to send an SMS to multiple people at the same time? I was able to do this in 2.1, but maybe that was just due to HTC's implementation of SMS, I'm not sure.
I'd hate to have to get an APP for this, but if I do is there anything you guys recommend?
Thanks!
I've sent to multiple people
type in the first number than a comma then second number
try that...
chandlerw88 said:
I've sent to multiple people
Click to expand...
Click to collapse
Wow... That was helpful
vulcZ said:
Is it safe to say that FroYo's built-in SMS capabilities don't allow you to send an SMS to multiple people at the same time? I was able to do this in 2.1, but maybe that was just due to HTC's implementation of SMS, I'm not sure.
I'd hate to have to get an APP for this, but if I do is there anything you guys recommend?
Thanks!
Click to expand...
Click to collapse
When you start a new message, select the "send to" area, and add your first contact. Select the send to area again, and add additional contacts...
Awesome thanks! I started playing with it some more and figured out what you guys had just confirmed
I guess I felt they could make it a bit easier, haha. After adding the first contact, I put my cursor after the comma that was added and had to two at least 2 more characters for my contact list to pop up again.
Maybe I'm just being picky xD
Anyway, thanks for the help! ^_^