advertisement
Premier Club Log In/Registration
  Include Code  Search Tips
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   SKILLBUILDING  |   TIP BANK  |   SOURCEBANK  |   FORUMS  |   NEWSLETTERS
Browse DevX
SMSChat.zip
Partners & Affiliates
advertisement
advertisement
Rate this item | 0 users have rated this item.
 Print Print
 
Spice Up Your SMS Chat on the Pocket PC
Did you know you can change the way your device represents your SMS messages? Learn how to program your messages to appear visually, complete with photos of the participants.  

advertisement
MS messaging is one of the most popular means of communication means in this new digital age. While SMS is best suited for asynchronous communications, it's recently being increasingly used by many as a chat tool. Rather than viewing the series of related chat messages linearly (see left of Figure 1), using the built-in Outlook Mobile, a better way to chat is to represent them visually, complete with the photos of the recipient (if available).


Figure 1. Linear vs. Visual: Representing SMS messages.

This article demonstrates how to build a SMS chat application (see right of Figure 1) that allows your SMS messages to be represented visually. You will learn:

  • How to create a user control
  • Intercept incoming SMS messages using the .NET Compact Framework
  • Send SMS messages using .NET Compact Framework
  • Add controls dynamically to a Panel control
  • Retrieve information about users from Contacts
Creating the Application
Using Visual Studio 2005, create a new Windows Mobile 5.0 Pocket PC application and name it as SMSChat.

In the default Form1, add the following controls (see also Figure 2):

  • TextBox
  • Panel
  • MenuItem

Figure 2. The Default Form1: Populating the form with the various controls.

The Panel control will act as a container to display the chat messages sent by yourself and the sender.

If the sender's mobile number is:

  • Already in your Contacts and has a photo attached to it, the photo of the sender will be displayed.
  • Already in your Contacts but has no photo attached to it, the name of the sender will be displayed.
  • Not in your Contacts, the phone number of the sender is displayed (assuming you have subscribed to the Caller ID service; check with your Telco).
Page 1 of 4


advertisement
  Next Page: Creating the User Control
Page 1: IntroductionPage 3: Coding the Main Application
Page 2: Creating the User ControlPage 4: Testing the Application
advertisement
Advertising Info  |   Member Services  |   Permissions  |   Contact Us  |   Help  |   Feedback  |   Site Map  |   Network Map  |   About


JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

Solutions
Whitepapers and eBooks
Microsoft Article: Will Hyper-V Make VMware This Decade's Netscape?
Microsoft Article: 7.0, Microsoft's Lucky Version?
Microsoft Article: Hyper-V--The Killer Feature in Windows Server 2008
Avaya Article: How to Feed Data into the Avaya Event Processor
Microsoft Article: Install What You Need with Windows Server 2008
HP eBook: Putting the Green into IT
Whitepaper: HP Integrated Citrix XenServer for HP ProLiant Servers
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 1
Intel Go Parallel Portal: Interview with C++ Guru Herb Sutter, Part 2--The Future of Concurrency
Avaya Article: Setting Up a SIP A/S Development Environment
IBM Article: How Cool Is Your Data Center?
Microsoft Article: Managing Virtual Machines with Microsoft System Center
HP eBook: Storage Networking , Part 1
Microsoft Article: Solving Data Center Complexity with Microsoft System Center Configuration Manager 2007
MORE WHITEPAPERS, EBOOKS, AND ARTICLES
Webcasts
Intel Video: Are Multi-core Processors Here to Stay?
On-Demand Webcast: Five Virtualization Trends to Watch
HP Video: Page Cost Calculator
Intel Video: APIs for Parallel Programming
HP Webcast: Storage Is Changing Fast - Be Ready or Be Left Behind
Microsoft Silverlight Video: Creating Fading Controls with Expression Design and Expression Blend 2
MORE WEBCASTS, PODCASTS, AND VIDEOS
Downloads and eKits
Sun Download: Solaris 8 Migration Assistant
Sybase Download: SQL Anywhere Developer Edition
Red Gate Download: SQL Backup Pro and free DBA Best Practices eBook
Red Gate Download: SQL Compare Pro 6
Iron Speed Designer Application Generator
MORE DOWNLOADS, EKITS, AND FREE TRIALS
Tutorials and Demos
How-to-Article: Preparing for Hyper-Threading Technology and Dual Core Technology
eTouch PDF: Conquering the Tyranny of E-Mail and Word Processors
IBM Article: Collaborating in the High-Performance Workplace
HP Demo: StorageWorks EVA4400
Intel Featured Algorhythm: Intel Threading Building Blocks--The Pipeline Class
Microsoft How-to Article: Get Going with Silverlight and Windows Live
MORE TUTORIALS, DEMOS AND STEP-BY-STEP GUIDES