VS2005开发Windows Mobile 5.0 智能设备程序补丁已经找到。VS2005 C#开发Windows Mobile 5.0 智能设备程序一.Visual Studio 2005中配置Windows Mobile 5.0开发环境安装的软件包: Microsoft ActiveSync 4.2 Windows Mobile 5.0 Pocket PC SDK Windows Mobile 5.0 Emulator Images for Pocket PC - CHS 现在我把已经完成的window ce 5的项目移植到Mobile 的运行环境上,需要做的事情是什么?是只要把源代码拷贝到新建的Windows Mobile 5.0 智能设备程序上吗?我看了下好像连数据库引用空间都不一样。 using System;using System.Collections.Generic;using System.Text;using System.Data.SQLite;//它用的是这个。using System.Data;using System.IO;using System.Reflection;namespace TestZN{ public class DataAccess { SQLiteConnection con; SQLiteCommand command; public DataAccess() { con = new SQLiteConnection("data source=" + Path.GetDirectoryName(Assembly.Load(Assembly.GetExecutingAssembly().GetName()).GetName().CodeBase) + @"\mydb.db");//mydb.db位于debug目录下 command = con.CreateCommand(); } //读取数据 public DataTable ReadTable(string tableName) { command.CommandText = "SELECT * FROM " + tableName; SQLiteDataAdapter da = new SQLiteDataAdapter(command); DataTable dt = new DataTable(tableName); da.Fill(dt); return dt; } public DataTable ReadTable2(string sql) { command.CommandText = sql; SQLiteDataAdapter da = new SQLiteDataAdapter(command); DataTable dt = new DataTable(); da.Fill(dt); return dt; } public int ExecuteNonQuery(string commandString) { int result = 0; con.Open(); using (SQLiteCommand command = new SQLiteCommand(con)) { command.CommandText = commandString; result = command.ExecuteNonQuery(); } con.Close(); return result; } }这样一来我的要做到移植不是连底层的数据连接都要重新写过吗?有没有其他的方式?
这种做法就可以把我之前做的CE上的安装程序移植到mobile上了吗?所谓的框架安装是指什么?是把你提到的文件copy到运行mobile的智能设备上吗?且,vs2005貌似没有带mobile的智能设备项目好像。是否需要打补丁,要的话补丁是什么?
这种做法就可以把我之前做的CE上的安装程序移植到mobile上了吗?所谓的框架安装是指什么?是把你提到的文件copy到运行mobile的智能设备上吗?且,vs2005貌似没有带mobile的智能设备项目好像。是否需要打补丁,要的话补丁是什么?
这个框架你需要安装上去..就是把这个文件找出来.复制到智能设备上,在智能设备上点击这个安装文件自动安装..有了这个框架VS的程序才能运行!
VS是有自带的智能设备项目。prcket PC 2003 、smartphone 2003、window ce 5这三个。我之间做的程序是创建CE的。那么我要移植到MOBILE上,是要创建另外两种种的一种吗?还是另要添加补丁才能创建mobile的项目。貌似mobile也是一种系统好像。
然后把exe直接拷贝到ce下就可以用了
三个其中一种,这个要跟据你的智能设备的系统类型选择..做好程序移值到设备上..要选装一个Microsoft ActiveSync 这个程序装上之后,就是用与计算机与设备同步用的.把设备接到计算机上后.从.net环境里点运行,选择部署到智能设备就行了!
VS2005开发Windows Mobile 5.0 智能设备程序补丁已经找到。VS2005 C#开发Windows Mobile 5.0 智能设备程序一.Visual Studio 2005中配置Windows Mobile 5.0开发环境安装的软件包:
Microsoft ActiveSync 4.2
Windows Mobile 5.0 Pocket PC SDK
Windows Mobile 5.0 Emulator Images for Pocket PC - CHS
现在我把已经完成的window ce 5的项目移植到Mobile 的运行环境上,需要做的事情是什么?是只要把源代码拷贝到新建的Windows Mobile 5.0 智能设备程序上吗?我看了下好像连数据库引用空间都不一样。
using System;using System.Collections.Generic;using System.Text;using System.Data.SQLite;//它用的是这个。using System.Data;using System.IO;using System.Reflection;namespace TestZN{ public class DataAccess { SQLiteConnection con; SQLiteCommand command; public DataAccess() { con = new SQLiteConnection("data source=" + Path.GetDirectoryName(Assembly.Load(Assembly.GetExecutingAssembly().GetName()).GetName().CodeBase) + @"\mydb.db");//mydb.db位于debug目录下 command = con.CreateCommand(); } //读取数据 public DataTable ReadTable(string tableName) { command.CommandText = "SELECT * FROM " + tableName; SQLiteDataAdapter da = new SQLiteDataAdapter(command); DataTable dt = new DataTable(tableName); da.Fill(dt); return dt; } public DataTable ReadTable2(string sql) { command.CommandText = sql; SQLiteDataAdapter da = new SQLiteDataAdapter(command); DataTable dt = new DataTable(); da.Fill(dt); return dt; } public int ExecuteNonQuery(string commandString) { int result = 0; con.Open(); using (SQLiteCommand command = new SQLiteCommand(con)) { command.CommandText = commandString; result = command.ExecuteNonQuery(); } con.Close(); return result; } }这样一来我的要做到移植不是连底层的数据连接都要重新写过吗?有没有其他的方式?
我是要在indows Mobile上运行曾经windowce的项目
windowce 是一个系统。如XP一般。。只是它一般作为智能设备的运行系统。