Go Back   xda-developers > Windows Mobile Development and Hacking > Development and Hacking General


Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 7th April 2005, 09:39 PM
Khashim Khashim is offline
Member
 
Join Date: Apr 2005
Posts: 48
Default EMS Extension for Pocket Outlook

Hey guys,

I was just wondering if anybody knows how to and, if possible, can create an extension for Pocket Outlook for EMS and vCard support. I was looking this up, and found this link on the Microsoft website.

http://msdn.microsoft.com/library/de...rocessing_.asp

It seems that you can register an extension to enable EMS support in Pocket Outlook(much like MMS).

What further makes me think it is possible is the other day I found a vCard app on one of the forums that allows the Pocket PC to accept vCards when sent from other phones. However, the problem with that app is that it works independent of Pocket Outlook and saves the vCard in My Documents and not as an attachment.

Thanks,
Khashim
Reply With Quote
Sponsored Links

  #2  
Old 9th April 2005, 03:42 PM
aladdin1001 aladdin1001 is offline
Member
 
Join Date: Feb 2005
Posts: 66
Default

that's some interesting research. you could be on to something there mate. anyone else can shed more light on this? cheers
Reply With Quote

  #3  
Old 29th April 2005, 08:31 PM
Khashim Khashim is offline
Member
 
Join Date: Apr 2005
Posts: 48
Default

Can anybody offer more insight on this problem?
__________________
HTC Touch Pro
ROM Version: 1.90.401.1 WWE
Radio version: 1.09.25.23
Protocol Version: 52.51.25.26U
Reply With Quote

  #4  
Old 29th April 2005, 09:59 PM
IMate->WM2k5 IMate->WM2k5 is offline
Senior Member
 
Join Date: Apr 2005
Posts: 151
Default

Quote:
Originally Posted by Khashim
Can anybody offer more insight on this problem?
Quote:
Originally Posted by Microsoft Development Kit for PocketPC
EMS Rule Client and Custom Read Form



Sample Overview
Requirements and Dependencies
Topics
Building the Sample
Running the Sample
Notes


Sample Overview
This sample demonstrates how to implement a Rule Client to capture and process SMS/EMS, process multipart EMS, and implement a custom read form to display the EMS in the Inbox application.



Requirements and Dependencies
The sample will run on both Pocket PC and SmartPhone. It requires only standard headers and libraries, such as cemapi, commctrl, coredll, etc.



Topics
Implementing a Rule Client

Processing EMS

Custom Forms



Building the Sample
Build the Rule Client (SDKEMSViewerRuleClient.dll) and the custom form (EMSViewerForm.dll). The following registry keys need to be set to enable the rule client, custom form, and EMS processing by the router. A reboot is required if the router has previously received any SMS.





Rule Client:

[HKEY_CLASSES_ROOT\CLSID\{7D0E1A87-734C-4d46-B715-327A8884D38B}\InProcServer32]

@="SDKEMSViewerRuleClient.dll"



[HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Svc\SM S\Rules]

"{7D0E1A87-734C-4d46-B715-327A8884D38B}" = DWORD : 1



Enables EMS processing, off by default:

[HKEY_CURRENT_USER\Software\Microsoft\SMS\TextShare d]

“EMSHandlerInstalled” = DWORD : 1



Registers the custom read form with Inbox:

[HKEY_CURRENT_USER\Software\Microsoft\Inbox\MsgType s\IPM\SMStext\SDKEMS]

"DLL" = "EMSViewerForm.dll"

"GlyphInfo" = HEX : 20, 00, 00, 00, 64, 00, 00, 00, 64, 00, 00, 00, 00, 00, 00, 00, 01, 00, 00, 00, 03, 00, 00, 00, 02, 00, 00, 00, 00, 00, 00, 00



[HKLM\Software\Microsoft\Inbox\Svc\SMS\MsgClasses]

"IPM.SMStext.SDKEMS" = DWORD : 1



Running the Sample
Once the Rule Client and Custom Form are installed, you should be able to receive EMS messages on the device. They will be processed by the Rule Client and available for viewing in the SMS account in Inbox. The only supported EMS IEIs are pictures. The normal SMS user data (text) is also processed.



Notes
Supported IEIs - Referenced from 3GPP TS 23.040, V4.3.0

0x10 = Large Picture (32x32)

0x11 = Small Picture (16x16)

0x12 = Variable Picture



Additional IEIs should be ignored by the Rule Client, but just stick to the pictures.
Attached Files
File Type: rar ems.rar (5.8 KB, 155 views)
Reply With Quote

  #5  
Old 30th April 2005, 12:00 AM
Khashim Khashim is offline
Member
 
Join Date: Apr 2005
Posts: 48
Default EMS dll

Hi,

Thanks a lot, but this does not seem to be working. I created an installation CAB and tried installing it. I then rebooted. But I still cannot receive an EMS. Any ideas why?

Thanks,
Khashim
Attached Files
File Type: cab ems.cab (17.4 KB, 113 views)
__________________
HTC Touch Pro
ROM Version: 1.90.401.1 WWE
Radio version: 1.09.25.23
Protocol Version: 52.51.25.26U
Reply With Quote

  #6  
Old 30th April 2005, 01:59 PM
alkandery75 alkandery75 is offline
Member
 
Join Date: Mar 2003
Posts: 82
Default

I'm not sure, but do not you need EMSReceive.exe to be started while booting "/Windows/Startup" the PPC... It is the same as vCard Receiving CAB attached...
Attached Files
File Type: cab vcard.ppc2003_arm.cab (29.1 KB, 145 views)
__________________
Best regards,,,
Eng. Al-Kandery
Reply With Quote

  #7  
Old 30th April 2005, 02:27 PM
Khashim Khashim is offline
Member
 
Join Date: Apr 2005
Posts: 48
Default

Well this is a bit different than vCard. This is an actual extension to the SMS ability on Pocket PCs. Do you actually know of an EMSRecieve.exe?

By the way.....has anyone been able to get the extension to work?
__________________
HTC Touch Pro
ROM Version: 1.90.401.1 WWE
Radio version: 1.09.25.23
Protocol Version: 52.51.25.26U
Reply With Quote

  #8  
Old 30th April 2005, 03:32 PM
alkandery75 alkandery75 is offline
Member
 
Join Date: Mar 2003
Posts: 82
Default

I test it and it is not working 100% ... It seems that the device recognize the msg :P but it could not read it :? , because the device switched on with backlight on too... But the content of the msg not there in the inbox... Keep trying and I'm sure you will get it work soon...
__________________
Best regards,,,
Eng. Al-Kandery
Reply With Quote

  #9  
Old 30th April 2005, 04:26 PM
chriswo chriswo is offline
Senior Member
 
Join Date: Mar 2004
Location: Kuala Lumpur
Posts: 124
Default

i haven't tested it but the behaviour of the device lights up when an EMS comes in is normal - even before using installing these dlls. they just don't get processed.
Reply With Quote

  #10  
Old 30th April 2005, 04:46 PM
IMate->WM2k5 IMate->WM2k5 is offline
Senior Member
 
Join Date: Apr 2005
Posts: 151
Default

I'm using Windows Mobile 2005 and the Inbox service is different from that used on usual Windows Mobile2003(SE), so I can't test this.

Try to use attached.

PS: PLEASE READ REGISTRY INSTALLATION INSTRUCTIONS!!! ALL FILES MUST BE COPIED TO "\WINDOWS" FOLDER
Quote:
[HKEY_CLASSES_ROOT\CLSID\{7D0E1A87-734C-4d46-B715-327A8884D38B}\InProcServer32]
@="EMSRuleClient.dll"

[HKEY_LOCAL_MACHINE\Software\Microsoft\Inbox\Svc\SM S\Rules]
"{7D0E1A87-734C-4d46-B715-327A8884D38B}" = DWORD : 1

Enables EMS processing, off by default:

[HKEY_CURRENT_USER\Software\Microsoft\SMS\TextShare d]
“EMSHandlerInstalled” = DWORD : 1

Registers the custom read form with Inbox:

[HKEY_CURRENT_USER\Software\Microsoft\Inbox\MsgType s\IPM\SMStext\SDKEMS]
"DLL" = "EMSCustomForm.dll"
"GlyphInfo" = HEX : 20, 00, 00, 00, 64, 00, 00, 00, 64, 00, 00, 00, 00, 00, 00, 00, 01, 00, 00, 00, 03, 00, 00, 00, 02, 00, 00, 00, 00, 00, 00, 00

[HKLM\Software\Microsoft\Inbox\Svc\SMS\MsgClasses]
"IPM.SMStext.SDKEMS" = DWORD : 1 [/code]
@ - stands for Default value, which is for instance:
[HKLM\Software\Microsoft\Inbox\Svc\SMS\MsgClasses]
@=555
means
HKLM\Software\Microsoft\Inbox\Svc\SMS\MsgClasses = 555

and pls make note of this:
[code]Supported IEIs - Referenced from 3GPP TS 23.040, V4.3.0

0x10 = Large Picture (32x32)

0x11 = Small Picture (16x16)

0x12 = Variable Picture
Attached Files
File Type: rar emsv2.rar (5.7 KB, 119 views)
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:44 AM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.