基于C#开发Windows Mobile应用中短信发送功能
来源:互联网 发布:罗俊 中山大学 知乎 编辑:程序博客网 时间:2024/06/07 08:21
.NET CF中提供了联系人管理的程序集,并提供了发送短信功能。下为示例代码:
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.WindowsMobile.PocketOutlook; //需import该程序集
///
/// 类的定义和函数的定义略
///
OutlookSession outlookSession = new OutlookSession();
string message = “test”;
string phone = “13XXXXXXXXX”;
SmsMessage smsMsg= new SmsMessage(phone, message);
outlookSession.Send(smsMsg);
欲使用该功能,需要首先添加Microsoft.WindowsMobile.PocketOutlook的应用,如题下图
- 基于C#开发Windows Mobile应用中短信发送功能
- 用C#实现Windows Mobile 发送短信
- Windows mobile发送短信
- Windows Mobile 发送短信
- Windows Mobile 发送短信
- Windows Mobile 短信发送
- Windows Mobile 发送短信
- 基于C#开发Windows Mobile应用中窗口的全屏幕显示
- windows mobile上发送短信
- Windows mobile发送短信(二)
- [经验分享] windows mobile 发送短信总结
- 【转】用C#实现Windows Mobile 发送短信的三种方法
- windows mobile 5.0 下截获短信(C#基于.net CF 2.0)
- android 应用中短信发送
- Mobile 发送短信
- iOS 应用内吊起短信发送功能
- 基于短信中间件的短信应用开发
- 在Windows Mobile 6上通过CEMAPI 发送短信
- js 写的日历组件
- Win32 内存管理
- 让人震撼惊讶的85句话!
- 经典创业论
- S3C6410的IIS驱动修改
- 基于C#开发Windows Mobile应用中短信发送功能
- IT人生畅想
- C++中类声明的内存分配
- 民族的金山与不说实话的金山
- DataTable对象重组时,错误提示“该行已经属于另一个表”
- 中国关系型社会的环境如何生存发展------总结程序员如何做人做事
- 中国智慧VS西方智慧-看中国IT风云与IT产业怪状
- 让照片真正动起来
- powerdesigner - er图入门教程(1)