hur.cn - 华软网

 热门搜索

  • 授权方式: 金币下载
  • 支付金币: 1个
  • 金币充值: 点击查看
  • 下载方法: 点击查看
  • 源码大小: 4310 KB
  • 评分等级: ★★★
  • 源码类别: 金币下载
  • 运行环境: WinXP/NT/Vista/Win7
  • 整理录入: 昕晨
  • 更新时间: 2009/12/2 8:29:00

源码介绍    


PocketBuilder 2.5 Code Examples

官方代码示例

 

PocketBuilder PocketPC Sample Applications
Sample Data for SA-10     (Changed for 2.5)
directory: SADemoData
Since SQL Anywhere 10 is now the default database, we provide the PocketBuilder Sample database for SA10, ASA9, UL10, and UL9.
The directory SADemoData\ASA9 contains a copy of the classic PowerBuilder and PocketBuilder sample database. This particular version was built with ASA 9.0.2. This directory also contains the device side DSN file with the "typical" settings.
The directory SADemoData\SA10 contains a copy of the same classic PowerBuilder and PocketBuilder sample database migrated to SQL Anywhere 10.0.1. This directory also contains both the desktop and device side DSN file with the "typical" settings. This also includes the scripts to reload the database if the need ever arises.
Target: Orientation_MK2     (New for 2.5)
directory: misc
This shows the capability of the Multiple Orientation Painter (MOP). This sample replaces the original orientation sample. Basically, this shows easy handling of the Windows Mobile 2003-Second Edition and later feature where the screen can be dynamically changed from landscape to portrait mode.
Target: ImageBrowser     (New for 2.5)
directory: misc
Using the new numeric "resource identifier" capability, browse the device for DLLs with images. This exercises the new picture capability where you can use more than simply a BMP or ICO for a filename, but can be a DLL or EXE with an image resource number.
Note: This capability works only in Windows Mobile 2003 and later.
Target: Power     (New for 2.5)
directory: misc
Demonstrate the new "System Power" event notification in the application object. This also shows the new battery and AC properties in the Environment object.
Note: This event works only in Windows Mobile 2003 and later.
Note: The "battery" level value while charging may be flakey, depending on the specific device.
Target: HexSample     (Improved for 2.5)
directory: misc
Show the hexadecimal formatting capabilities and the new bit manipulation functions. This sample shows:
Hex formatted input and output - the STRING() and INTEGER() and LONG() functions
Bitwise AND, OR, NOT, XOR
Bitwise Set and Clear specific bit (1..32)
Bitwise bit number query (1..32)
Target: WM5_Notifications     (New for 2.1)
directory: misc
Use the Windows Mobile 5 "Notification Broker" to be informed of various events. This encapsulates all the logic in uo_wm5_notification_broker. You need only register which events you are interested in, then override the single event ue_incoming_notification. Additional event definitions can be added, but this object comes with over two dozen events already configured.

Target: NetConnect     (Improved for 2.1)
directory: misc
Detect the network connect/disconnect events (PBM_NETCONNECT).
Use PocketPC APIs to find the IP address of a specific Internet site (yahoo.com).
Use PocketPC APIs to find the network name of the PDA device.
Improvements include explicitly opening a GPRS session to for the TCP/IP layer.
This application is also orientation aware (done the hard way, not using the MOP).
To investigate the network capabilities...
Press 'My Name' to get the name of the local device.
Press 'Find Yahoo' to perform the DNS lookup of "yahoo.com". If the device has a network connection this will succeed. If there is no network connection this will fail quickly (sometimes handy to fail quickly - like to sniff if there is any network connectivity).
Remember that the USB cable typically has internet connectivity.
If this is a phone capable device, discconnect from any USB cable.
Press 'Find Yahoo' to perform the DNS lookup of "yahoo.com". Typically this will now fail.
This will succeed if you are already connected using GPRS (like if IE has forced a connection).
Press 'Establish Cxn' to start the process to establish a GPRS connection appropriate for an internet connection. The upper log window will display details about the connection along with event information when the connection is actually established (which may take 30 seconds).
Once the connection is established, pressing 'Find Yahoo' again will display the IP address.
Target: Barcode Mark2     (Improved for 2.1)
directory: misc
Demonstrate use of the SYMBOL, INTERMEC, and SOCKET barcode scanner devices. This application will try to open each scanner device and will operate with the one it finds. This uses polymorphism for most of the operations.
Improvements include 'user friendly' error messages.
Target: GPS Mark2     (Improved for 2.1)
directory: misc
A more simple and user friendly (and prettier!) sample for the GPS family of objects. This also includes support for the new built-in GPS available in Windows Mobile 5.
This automatically updates every 5 seconds with the current position displayed in the two common formats; traditional degrees/minutes/seconds and the modern decimal format.
Improvements include 'user friendly' error messages.
Target: reeds_tests     (Enhanced for 2.1)
directory: misc
An assortment of tests which are used both for a high-level smoke test of an installation and shows some more unusual uses of PocketBuilder objects.
Also contains a handful of Windows CE API calls for useful items.
(2.0.3) Enhancements include starting/stopping the Profile/Trace capability and a 5 second idle beeper.
(2.1) Data & Time formatting now centralized into a report style list view.
(2.1) Numerous other small changes
UltraLite Demo Data     (Enhanced for 2.1)
directory: ULDemoData
Based on customer comments (complaints?) using an UltraLite database from PocketBuilder was not explained very well. This directory contains scripts to create an UltraLite database and describes steps in PocketBuilder to use that database. This is not a new feature, just a better explanation of an existing feature.
(2.1) Added UltraLite-10 copy of the database.
Target: PocketKiosk     (New for 2.0.2)
directory: misc
Sample program also showing THREE basic concepts that people have been requesting.
(a) "Kiosk Mode" sample, where the application takes over the entire screen. This uses the SHFullScreen() API from AYGSHELL.DLL.
(b) Capturing the various hardware buttons (keys) on the device. Necessary for kiosk mode, but sometimes useful in its own right.
(c) Specifying a program to execute after a soft-reset (necessary for a Kiosk application of course.)
Note: There is a bug in a Microsoft API we use. So, this application must have NO spaces in either its directory or executable file name. IOW - do not use "\Program Files\My Program.exe" but something simpler like "\MyApps\MyProgram.exe"
Target: PictureDrawing     (New for 2.0.2)
directory: misc
Sample program showing TWO basic concepts.
(a) User free-hand drawing on a picture or static text control. This does NOT use PocketInk (like the 'signature control') but rather saves the data into a point/line array which is portable to a desktop application with no translation (always iffy with PocketInk.)
(b) Showing the use of a delegate class (or a 'mixin') to simulate multiple inheritance in a single inheritance language like PowerBuilder or Java.
I've noticed that when you START drawing, there is a delay where movements would be lost. I have not looked too deeply into this, but some initialization optimizations may be necessary.
The core code used in this (the idea storing the strokes in a point/line array) is from a customer sample submitted to CodeXChange.
Target: Run At     (New for 2.0.2)
directory: misc
Sample program how to have an application LAUNCHED in response to a system event.
(a) Timed event (any time in the future!). This sample is 30 seconds, but the technique is general.
(b) When the device is "turned on". Which for a PocketPC is actually more like "come out of idle state", since PocketPC's are only truly off when their battery is disconnected or dead.
Target: SystemTray     (New for 2.0.2)
directory: misc
Sample program how to have your PocketBuilder application leave an icon in the system tray (the bottom area on the PocketPC.) Once your application is super-minimized, tapping this icon will popup a menu with options to activate the entire application or simply exit.
We have also included the code to display a dynamic context menu when the icon is tapped.
A simplification would be that tapping this system tray icon would simply activate the application with no intervening menu. That code is present but commented out.
Icon File:
a) This sample requires the file "Code Examples\misc\PKSystemTray.ico" deployed to the root of the device, simply copy it to "\PKSystemTray.ico".
b) Because WinCE lacks features in the Win32 desktop environment, the icon loading algorithm is using an undocumented PocketBuilder function. Our use of this function seems to be setting the "background color" to black, which is acceptable within the PocketBuilder environment (because of bit-blitting details) but looks pretty ugly on the system tray. You may want to design your icons to be square to hide this shortcoming. You'll notice that the icon we use is square...
Target: dwexam     (Enhanced for 2.0.2)
directory: datawindows
Basic yet thorough set of DataWindow examples. This shows various types of presentation styles and abilities (including graphing) available with essentially no programming. All of these datawindows are dynamically loaded by the event "d_dwexam:ue_rundw".
This uses the asademodb database.
You'll also see that this has support for an UltraLite database.
This has been enhanced to be "orientation aware".
In other words, on a "Windows Mobile 2003 - Second Edition" device, rotating the screen will properly change the datawindows. This was simply adding a couple lines of code to the pbm_settingchange event on the main window.
Target: dbpaint     (Enhanced for 2.0.2)
directory: dbpaint
A database painter which runs on the PDA. As you would expect, a database painter is a very dynamic process with no pre-built assumptions about the database. This is driven purely from the meta-data read from the database itself. All of the database details are displayed in tree-views.
This shares the "MLShared.pkl" with the MobiLink maintenance utility below.
This has been enhanced to be "orientation aware".
In other words, on a "Windows Mobile 2003 - Second Edition" device, rotating the screen will properly change the datawindows. This was simply adding a couple lines of code to the pbm_settingchange event on the main window.
Target: mlmaint
directory: dbpaint
MobiLink maintenance utility which runs on the PDA.
Target: qadbce
directory: qadbce
Part of the database interface testing program used by the regression tests in our QA group.
This shows dynamic loading of DataWindows representing essentially every sub-function.
Subdirectory: today (separate workspaces)
Samples which demonstrate the today feature.
tdy_sample1.pkw - shows a clock which is updated by the PocketBuilder application. Tapping the item will launch "a_tapped_appl".
tdy_sample2.pkw - shows changing the text color of the today item.
tdy_sample_soap.pkw - a SOAP client which retrieves a stock quote every 5 minutes and updates the today item.
The SOAP portion requires the "PocketSOAP" 3rd party package installed.
Target: poom_tests
directory: misc
Sample program showing use of the Pocket Outlook Object Model (POOM). This demonstrates creating/updating appointments, contacts and tasks which are all reflected in the PocketPC's built-in applications.
There is no need to use any other database with this sample.
Target: barcode_mk2
directory: misc
Demonstrate use of the SYMBOL and SOCKET barcode scanner device. This application will try to open each scanner device and will operate with the one it finds. This uses polymorphism for most of the operations.
Target: get_object_as_bitmap
directory: misc
Show the new system function "GetObjectAsBitmap".
Target: hpbiometric_1
directory: misc
Demonstrate use of the Hewlett-Packard fingerprint scanner.
Target: signature
directory: misc
Demonstrates the built-in signature control both for the typical use and the unexpected Rich Text (RTF) display ability.
Target: toolbarapp
directory: misc
Basic demonstration of the built-in toolbar control.
Target: autorun
directory: misc
Basic demonstration of automatically running a program from your storage card when it is inserted or removed.
Refer to misc\autorun_readme.html for details.
Target: filedir
directory: misc
The FileDirect object which provides direct access to the low level file system (more OO and flexible than the native PB/PPB file functions). This sample shows simple file open/read/write operations.
Target: PhoneTest
directory: phone
Basic demonstration of the built-in support creating and receiving phone calls. The various events on the NVO "PCALL_1" (of type PhoneCall) can be quite interesting. When receiving calls, the typical phone device has a daemon which usually beats us to the punch, but if that daemon is killed (and kept from coming back to life!) the sample works as expected.
Target: SMS_Sample_2
directory: phone
Basic demonstration of the built-in support for sending and receiving Short Message Service (SMS) messages from your application.
The receive capability requires the listener component PKSMS20.DLL be registered with the operating system. Registering this component from the PocketBuilder program is also shown in the sample.
Target: salesdb
directory: salesdb
SalesDB is a simple sales-status application that uses MobiLink for synchronization. Both the remote and consolidated databases are Adaptive Server Anywhere (ASA) databases.
Refer to the "Getting Started Guide" for details on the tutorials.
Target: camera_demo
directory: misc
Demo of the native camera support in PocketBuilder 2.0. This very simple sample shows preview mode and taking a picture.
Target: DateTime_controls
directory: misc
Example of using a native Windows control within an External Visual Control. This is the preferred way to "wrap" a visual control with an object API. The example is using the SysDateTimePick32 control.
Subdirectory: sql
SQL scripts to add a Printer table to the ASA Sample database. The Printer table is used for examples in the documentation.

--------------------------------------------------------------------------------

PocketBuilder SmartPhone Sample Applications
Target: edm1
directory: misc
Showing a navigation concept, where a MENU key is used to sequence to the next field.
Target: sp_HelloWorld
directory: phone
The first program you would write. Very simple but shows connectivity and using the environment object to retrieve the platform information.
Target: SMS_Sample_2
directory: phone
Basic demonstration of the built-in support for sending and receiving Short Message Service (SMS) messages from your application.
The receive capability requires the listener component PKSMS20.DLL be registered with the operating system. Registering this component from the PocketBuilder program is also shown in the sample.
Target: DialingDirectory
directory: phone
Display the dialing directory from the SIM (Subscriber Identity Module) and POOM (Pocket Outlook Object Model) in a unified manner. No ability to update the directory yet.
Target: CallLogTest
directory: phone
Display the (read-only) Call Log that's stored in the SIM (Subscriber Identity Module).
Target: a_htc_cam_sample
directory: phone
Integration with the built-in camera for HTC Typhoon series of phones.
This includes the Audiovox SMT5600, Orange C500, iMate SP3. This technique MAY work with other HTC phones.

GG翻译

华软源码 http://www.hur.cn  

PocketBuilder的PocketPC示例应用程序
样本数据的SA - 10(已更改成2.5)
目录:SADemoData
由于的SQL Anywhere 10现在是默许的数据库,咱们提供了SA10,ASA9,UL10 PocketBuilder示例数据库,UL9。
该目录SADemoData \ ASA9包括了经典的PowerBuilder和PocketBuilder示例数据库的副本。这是一款采取了胂9.0.2。这个目录还包括的DSN的“典型”设置资料的设备端。
该目录SADemoData \ SA10包括了相同的经典PowerBuilder和PocketBuilder示例数据库副本迁移到的SQL Anywhere 10.0.1。这个目录还包括了桌面上的DSN的“典型”的设置资料和设备方面。这也包括剧本重新加载数据库,如果需要的话。
目标:Orientation_MK2(2.5新)
目录:船务
这讲明了画家的多重定位(澳门币)的能力。此示例取代了原来的方向样本。基本上,这讲明易于操作的Windows Mobile 2003第二版及更高版本的功能,使屏幕能够动态地从风景到肖像模式改变。
目标:ImageBrowser(2.5新)
目录:船务
运用新的数字“资源标识符”的能力,图像浏览与DLL的设备。这个练习新的图片功能,您能够运用一个资料名不单单是一个BMP或保险公司,但也能够用数字图像资源的DLL或EXE。
注意:此功能仅在Windows Mobile 2003和更高版本。
目标:电源(2.5新)
目录:船务
展示了新的“系统中的应用程序对象国”事件通知。这也显示了新的电池和交流的环境对象的属性。
注意:此事件只可在Windows Mobile 2003和更高版本。
注:“电池”水平的价值,同时充电,可flakey,根据特定的设备。
目标:HexSample(改善的2.5)
目录:船务
显示十六进制格式功能,新的位操作功能。该示例演示:
十六进制格式的输入和输出 - 绳子()和整数()和长期()函数
按位与,或,不是,异
按位设置和消灭特定位(1 .. 32)
按位位号码查询(1 .. 32)
目标:为2.1 WM5_Notifications(新)
目录:船务
运用Windows Mobile 5的通知“公司”被示知的各种活动。这在uo_wm5_notification_broker封装了所有的逻辑。您只需要注册你的事件有兴趣,然后笼罩单一事件ue_incoming_notification。额外的事件定义能够加入,但这个对象超过两打事件已经配置来。

目标:安普(改善的2.1)
目录:船务
检测网络连接/断开事件(PBM_NETCONNECT)。
运用掌上电脑的API来查找特定的Internet网站(yahoo.com)的IP地址。
运用掌上电脑的API来查找的PDA设备的网络名称。
改善包括明确开放的GPRS会话的TCP / IP层。
此应用程序也知道方向(完成了艰难的道路,不运用澳门币)。
调查网络功能...
按'我的名字'来获适当地设备名。
按'查找雅虎'来执行的“yahoo.com”DNS查找。如果该设备有一个网络连接这将成功。如果没有网络连接,这将很快失利(失利有时方便快速 - 想闻是否有所有网络连接)。
请记住,USB电缆通常有互联网连接。
如果这是一个手机功能的设备,discconnect所有USB电缆。
按'查找雅虎'来执行的“yahoo.com”DNS查找。这通常现在将会失利。
这会成功,如果你已经连接运用GPRS(如IE浏览器,迫使如果一个连接)。
按'建立Cxn'启用进程,建立一个GPRS连接互联网连接为一个适当的。上面的日志窗口将显示有关事件的信息和在实际建立连接(可能需要30秒)连接的详细信息。
一旦建立连接,按'查找雅虎'再次将显示的IP地址。
目标:条码Mark2(改善的2.1)
目录:船务
展示的符号,Intermec公司和插座条码扫描器设备的运用。此应用程序会尝试打开每一个扫描设备和运作的发现之一。这类运用的大部份业务多态性。
改善包括'用户友好'的毛病信息。
目标:全球定位系统Mark2(改善的2.1)
目录:船务
一个更简单和用户友好(和漂亮!)为对象的全球定位系统家庭样本。这还包括支持新的内置GPS的Windows Mobile 5的可用。
这个自动更新这两个共同格式显示目前的情况,每5秒;传统度/分/秒和现代十进制格式。
改善包括'用户友好'的毛病信息。
目标:reeds_tests(增强为2.1)
目录:船务
其中一个用于高级另外装置和烟尝试都显示PocketBuilder对象的一些不寻常的运用尝试拼盘。
还包括的Windows CE API的少数呼吁有用的项目。
(2.0.3)增强功能包括启用/停止专页/追踪能力和一个5秒闲置蜂鸣器。
(2.1)格式的数据和时间现在成汇报样式列表视图集中。
(2.1)很多其余小的转变
的UltraLite演示数据(增强为2.1)
目录:ULDemoData
鉴于客户的意见(投诉?)运用从PocketBuilder的UltraLite数据库没有很好的解释。该目录包括一个剧本来创建的UltraLite数据库,并介绍PocketBuilder步骤运用该数据库。这不是一项新功能,只是现有的功能更好的解释。
(2.1)新增的UltraLite - 10复制数据库。
目标:PocketKiosk(新的2.0.2)
目录:船务
示例程序也显示三个基本观点,人们一直要求。
(一)“Kiosk模式”的样本,其中应用程序接管整个屏幕。这将运用SHFullScreen()由AYGSHELL.DLL的API。
(二)捕捉的各种硬件按钮(键盘上的设备)。需要kiosk模式,但有时自己的权利,有用的。
(三)指定一个程序来执行后软复位(必需的,当然亭应用程序。)
注:有一个在微软API的毛病,咱们运用。因此,这类应用程序必需在所有目录或其可执行资料的名称没有空格。督察 - 不要运用“\ Program Files资料\我的Program.exe的”,但更简单的东西如“\ MyApps \ MyProgram.exe”
目标:PictureDrawing(新的2.0.2)
目录:船务
示例程序显示两个基本观点。
(1)用户免费上的图片或静态文本控件的手绘图。这不运用PocketInk(如'署名控制'),而是保存到一个点的数据/线阵列中,移植到一个没有翻译的桌面应用程序(总是PocketInk还不确定。)
(二)显示了一个委托类(或一个'混入')来模拟像PowerBuilder中或Java语言的单继承多继承。
我注意到,当你起头画,但在运动将会消失延迟。我没有深入研讨过的,但一些初始化的优化可能是需要的。
焦点代码在这个(想法存储在一个点杆/线阵)从提交CodeXChange客户运用的样本。
目标:在(为新的运行2.0.2)
目录:船务
示例程序如何有一个应用程序的响应系统事件展开。
(1)定时事件(任什么时候间在未来!)。此示例是30秒,但该方法是一般。
(b)当该设备是“打开”。哪一个掌上电脑其实更像是“走出空闲状态去”,由于掌上电脑的只有当他们真正把电池断开或死亡。
目标:的SystemTray(新的2.0.2)
目录:船务
示例程序如何让你在PocketPC许可申请PocketBuilder系统托盘中的图标(底部区域。)一旦您的申请超级最小窃听该图标会弹出一个选择来激活整个应用程序或干脆退出菜单。
咱们还包括了代码,显示一个动态的上下文菜单时,该图标是利用。
阿简化将是掘客利用这个系统托盘图标只会激活而没有中间菜单应用程序。该代码存留,但注释掉。
图标资料:
1)此示例要求资料“代码范例\船务\ PKSystemTray.ico”部署到该设备的根,只需将其复制到“\ PKSystemTray.ico”。
b)由于WinCE的缺乏在Win32桌面环境的特色,图标加载算法是运用无证PocketBuilder功能。咱们运用这功能,似乎是设置“背景颜色”为黑色,这一点是在PocketBuilder环境(由于位块传输详情)接受,但看起来很系统托盘上的丑陋。您可能想设计自己的图标是方形来掩盖这类弱点。你会注意到咱们运用的图标是正方形...
目标:dwexam(增强为2.0.2)
目录:数据窗口
而详实的一套基本的数据窗口的例子。这讲明编排气概(包括各种图表的能力)的基本上没有方案体例。这些数据窗口都是动态加载的事件“d_dwexam:ue_rundw”。
这将运用asademodb数据库。
您还会看到,这对一的UltraLite数据库的支持。
这已获得增强,为“方向知道”。
换句话说,在“的Windows Mobile 2003 - 第二版”设备,旋转屏幕会妥善改变数据窗口。这只不过是增加的代码行,以一对配偶在主窗口pbm_settingchange事件。
目标:dbpaint(为2.0.2增强版)
目录:dbpaint
该数据库画家在PDA上运行。正如你所期望的,一个数据库画家是一个没有预先非常动态的进程,建立有关数据库的假定。这是纯洁从驱动元数据从数据库自身的阅读。该数据库的细节都显示在树的意见。
在这股“MLShared.pkl”与下面的MobiLink维修工具
这已获得增强,为“方向知道”。
换句话说,在“的Windows Mobile 2003 - 第二版”设备,旋转屏幕会妥善改变数据窗口。这只不过是增加的代码行,以一对配偶在主窗口pbm_settingchange事件。
目标:mlmaint
目录:dbpaint
其中的MobiLink维修工具在PDA上运行。
目标:qadbce
目录:qadbce
部份数据库的接口尝试在咱们的QA小组的回归尝试运用的程序。
这讲明代表动态加载数据窗口的各主要子功能。
子目录:今日()独自的事情区
样本展示今天的功能。
tdy_sample1.pkw - 显示是由PocketBuilder应用程序的更新时钟。攻丝该项目将推出“a_tapped_appl”。
tdy_sample2.pkw - 显示改变今天的项目文本的颜色。
tdy_sample_soap.pkw - 一个SOAP客户端,猎取股票报价每5分钟更新,今天的项目。
在SOAP的部份要求“PocketSOAP”第三方软件包装置。
目标:poom_tests
目录:船务
示例程序,展示了Pocket Outlook对象模子(POOM)的运用。这讲明建立/更新约会,联系人,哪些是所有的PocketPC反映的内置应用程序的任务。
没有需要运用此示例的所有其余数据库。
目标:barcode_mk2
目录:船务
展示的象征和插座条码扫描设备的运用。此应用程序会尝试打开每一个扫描设备和运作的发现之一。这类运用的大部份业务多态性。
目标:get_object_as_bitmap
目录:船务
显示新系统的功能“GetObjectAsBitmap”。
目标:hpbiometric_1
目录:船务
演示运用惠普指纹扫描器。
目标:署名
目录:船务
演示内置的署名同时控制的典型应用和意外富文本(RTF)的显示能力。
目标:toolbarapp
目录:船务
基本示威的内置工具栏的控制。
目标:自动运行
目录:船务
基本能够自动运行的演示从您的存储卡的程序时,插入或删除。
参照船务\详情autorun_readme.html。
目标:filedir
目录:船务
该FileDirect对象提供直接进入低级另外资料系统(更多面向对象,比原生铅灵活/小港资料功能)。该示例演示了简单的资料打开/读/写操作。
目标:PhoneTest
目录:电话
基本示范内置的支持创建和接收电话。在受益良多“PCALL_1”(类型PhoneCall)能够是相当有趣的各种活动。当接听电话,手机的典型设备有一个守护进程通常击败咱们一个措手不及,然则如果守护进程被杀死(从回来的生命!保管)样本按预期事情。
目标:SMS_Sample_2
目录:电话
基本示威的内置支持发送和接收短消息服务,从您的应用程序(SMS)的消息。
接收能力,需要的侦听器组件PKSMS20.DLL与操作系统注册。这从注册PocketBuilder程序组件还浮现在该示例。
目标:salesdb
目录:salesdb
SalesDB是一个简单的业务商位置的申请,运用同步的MobiLink。无论是远程和综合数据库是Adaptive Server Anywhere中(ASA)的数据库。
请参阅“入门指南教程上的细节”。
目标:camera_demo
目录:船务
演示在PocketBuilder 2.0生相机的支持。这很简单的示例显示预览模式,并采取图片。
目标:DateTime_controls
目录:船务
运用本机Windows控件示例在一个外部视觉控制。这是首选的方式“包装”与一个对象的API视觉控制。这个例子运用SysDateTimePick32控制。
子目录:的SQL
SQL剧本增加打印机表在ASA示例数据库。该打印机表用于文档中的例子。

-------------------------------------------------- ------------------------------

PocketBuilder智能手机示例应用程序
目标:edm1
目录:船务
显示导航的观点,如果MENU键用于序列下一个字段。
目标:sp_HelloWorld
目录:电话
第一个程序你会写。很简单,但显示的连接和运用环境的对象来检索平台上的信息。
目标:SMS_Sample_2
目录:电话
基本示威的内置支持发送和接收短消息服务,从您的应用程序(SMS)的消息。
接收能力,需要的侦听器组件PKSMS20.DLL与操作系统注册。这从注册PocketBuilder程序组件还浮现在该示例。
目标:DialingDirectory
目录:电话
显示在一个统一的方式从SIM(用户识别模块)和POOM(Pocket Outlook对象模子)拨号目录。没有能力更新目录还。
目标:CallLogTest
目录:电话
显示(只读)通话记录这在SIM(用户识别模块)存储。
目标:a_htc_cam_sample
目录:电话
集成内置的摄像头,宏达台风的手机系列。
这包括的Audiovox SMT5600,橙C500,iMate SP3中。这类技术能够与其余宏达手机。

PocketBuilder 2.5 Code Examples (11 folders, 5 files, 21.77 KB, 23.43 MB in total.)
CodeExamples.pkw 1.05 KB
CodeExamples_PPC.pkw 1.05 KB
CodeExamples_SP.pkw 324 bytes
readme.html 18.67 KB

datawindows (0 folders, 5 files, 566.13 KB, 566.13 KB in total.)
dwexam.ico 8.28 KB
dwexam.pkl 277.50 KB
dwexam.pkt 172 bytes
dwexamples.pkl 279.50 KB

dbpaint (0 folders, 7 files, 1.13 MB, 1.13 MB in total.)
dbpaint.ico 8.28 KB
dbpaint.pkl 113.50 KB
dbpaint.pkt 175 bytes
mlmaint.pkl 25.50 KB
mlmaint.pkt 144 bytes
mlshared.pkl 0.99 MB

misc (0 folders, 63 files, 4.47 MB, 4.47 MB in total.)
autorun.pkl 37.50 KB
autorun.pkt 107 bytes
autorun_readme.html 1.50 KB
barcode.ico 6.17 KB
barcode_mk2.pkl 192.50 KB
barcode_mk2.pkt 119 bytes
bug.ico 9.90 KB
camera_demo.pkl 138.00 KB
camera_demo.pkt 119 bytes
datetime_controls.pkl 127.50 KB
datetime_controls.pkt 137 bytes
edm1.pkl 45.50 KB
edm1.pkt 98 bytes
filedir.pkl 119.50 KB
filedir.pkt 107 bytes
get_object_as_bitmap.pkl 54.50 KB
get_object_as_bitmap.pkt 139 bytes
gps_mark2.pkl 264.50 KB
gps_mark2.pkt 113 bytes
hexsample.pkl 164.50 KB
hexsample.pkt 113 bytes
hpbiometric_1.pkl 92.50 KB
hpbiometric_1.pkt 125 bytes
ImageBrowser.pkl 161.00 KB
ImageBrowser.pkt 122 bytes
jaguar.ico 8.28 KB
kiosk_sample.pkl 116.50 KB
linux_penguin.gif 6.20 KB
NetConnect.ico 6.91 KB
netconnect.pkl 181.50 KB
netconnect.pkt 116 bytes
Orientation.bmp 138.73 KB
orientation.ico 3.55 KB
orientation.pkl 177.00 KB
orientation_mk2.pkl 101.00 KB
Orientation_MK2.pkt 131 bytes
pbqry.ico 9.90 KB
picture_drawing.pkl 222.50 KB
PictureDrawing.pkt 127 bytes
PKSystemTray.ico 4.60 KB
PocketKiosk.pkt 122 bytes
poom_tests.pkl 231.50 KB
poom_tests.pkt 116 bytes
Power.pkl 73.50 KB
Power.pkt 104 bytes
reeds_tests.pkl 865.50 KB
reeds_tests.pkt 119 bytes
Run At.pkt 104 bytes
run_at.pkl 117.50 KB
signature.ico 4.60 KB
signature.pkl 156.00 KB
signature.pkt 113 bytes
systemtray.pkl 131.00 KB
SystemTray.pkt 116 bytes
testgps.pkl 257.50 KB
testgps.pkt 107 bytes
thumbprint.ico 2.19 KB
toolbarapp.pkl 68.00 KB
toolbarapp.pkt 116 bytes
userobject.ico 9.90 KB
WM5_Notifications.pkl 261.00 KB
WM5_Notifications.pkt 137 bytes

phone (0 folders, 15 files, 515.74 KB, 515.74 KB in total.)
a_htc_cam_sample.pkl 93.00 KB
a_htc_cam_sample.pkt 134 bytes
calllogtest.pkl 75.50 KB
calllogtest.pkt 119 bytes
dialingdirectory.pkl 73.50 KB
dialingdirectory.pkt 134 bytes
jaguar.ico 4.60 KB
NetConnect.ico 3.23 KB
phonetest.pkl 108.00 KB
phonetest.pkt 113 bytes
sms_sample_2.pkl 78.00 KB
sms_sample_2.pkt 122 bytes
sp_helloworld.pkl 78.50 KB
sp_helloworld.pkt 125 bytes

qadbce (0 folders, 11 files, 3.59 MB, 3.59 MB in total.)
qadbce.pkl 250.00 KB
qadbce.pkt 243 bytes
shared_obj.pkl 151.50 KB
test1.pkl 856.50 KB
test13.pkl 68.50 KB
test2.pkl 506.50 KB
test3.pkl 337.50 KB
test4.pkl 566.50 KB
test5.pkl 583.00 KB
test6.pkl 356.00 KB

SADemoData (2 folders, 1 files, 694 bytes, 5.78 MB in total.)

ASA9 (0 folders, 4 files, 1.94 MB, 1.94 MB in total.)
ASA 9.0 Sample.dsn 185 bytes
asademo.db 1.81 MB
asademo.log 128.00 KB

SA10 (2 folders, 7 files, 1.90 MB, 3.84 MB in total.)
ASADemo_10.db 1.74 MB
ASADemo_10.log 128.00 KB
asademo_reload.sql 33.96 KB
DemoDB_SA10.DSN 182 bytes
DemoDB_SA10_desktop.DSN 185 bytes
MakeDB.cmd 1.45 KB

reload (0 folders, 1 files, 694 bytes, 694 bytes in total.)

source (0 folders, 3 files, 1.94 MB, 1.94 MB in total.)
asademo.db 1.81 MB
asademo.log 128.00 KB

salesdb (4 folders, 5 files, 600.40 KB, 5.10 MB in total.)
SalesDB.html 9.37 KB
salesdb.pkl 590.00 KB
salesdb.pkt 162 bytes
SalesDB_remote.DSN 206 bytes

CE (0 folders, 9 files, 1.61 MB, 1.61 MB in total.)
cust_MakeCABs.bat 93 bytes
cust_SalesDB.inf 7.00 KB
make2.log 568 bytes
MakeCABs.cmd 170 bytes
SalesDB.ARM.CAB 1.39 MB
SalesDB.inf 1.51 KB
SETUP.INI 164 bytes
WinCE Setup.exe 220.07 KB

db (1 folders, 9 files, 29.44 KB, 1.07 MB in total.)
Clean.cmd 120 bytes
MakeDB.cmd 2.29 KB
MakeDB8.cmd 2.20 KB
makeUL.cmd 802 bytes
salesdb.sql 18.74 KB
salesdb_remote.sql 2.39 KB
StartML.cmd 1.15 KB
StartML8.cmd 1.10 KB

fresh (0 folders, 2 files, 1.04 MB, 1.04 MB in total.)
salesdb_remote.db 1.04 MB

deploy (2 folders, 1 files, 694 bytes, 361.91 KB in total.)

ARM (0 folders, 3 files, 360.38 KB, 360.38 KB in total.)
salesdb.exe 359.50 KB
SalesDB_remote.DSN 206 bytes

x86 (0 folders, 2 files, 878 bytes, 878 bytes in total.)
SalesDB_remote.DSN 184 bytes

tutorial (0 folders, 3 files, 1.48 MB, 1.48 MB in total.)
SalesDBTutorial.doc 1.25 MB
salesdb_tutorial.pkl 233.50 KB

sql (0 folders, 3 files, 3.77 KB, 3.77 KB in total.)
Printer.sql 2.53 KB
printer_table_readme.txt 575 bytes

today (0 folders, 12 files, 130.68 KB, 130.68 KB in total.)
a_clock_display.pkl 27.00 KB
a_clock_display.pkt 131 bytes
a_display_color_text.pkl 24.00 KB
a_display_color_text.pkt 146 bytes
a_get_stock_price.pkl 50.00 KB
a_get_stock_price.pkt 137 bytes
a_tapped_appl.pkl 28.00 KB
a_tapped_appl.pkt 125 bytes
tdy_sample1.pkw 210 bytes
tdy_sample2.pkw 200 bytes
tdy_sample_soap.pkw 80 bytes

ulDemoData (1 folders, 12 files, 834.58 KB, 0.96 MB in total.)
create_pub.sql 358 bytes
dwexample1_ul9.jpg 37.70 KB
dwexample2_ul9.jpg 44.66 KB
pkide_ul9.jpg 109.76 KB
readme.html 3.58 KB
ul_create.cmd 3.09 KB
uldemo.udb 152.00 KB
uldemo.usm 5.38 KB
uldemo_sa10.udb 320.00 KB
uldemo_save.udb 152.00 KB
uldemo_save.usm 5.38 KB

reload (0 folders, 7 files, 150.03 KB, 150.03 KB in total.)
customer.sql 9.06 KB
dept.sql 362 bytes
employee.sql 14.77 KB
product.sql 909 bytes
sales_order.sql 49.29 KB
sales_order_items.sql 75.00 KB

ulsync (0 folders, 5 files, 1.18 MB, 1.18 MB in total.)
ulconn.pkl 723.00 KB
ulconn.pkt 104 bytes
uleq.udb 488.00 KB
ulsync.pkw 133 bytes


上一源码:any10-PPC发布文件包
下一源码:PocketBuilder 2.5 Help

下载地址    

  • PocketBuilder 2.5 Code Examples

下载说明

  • 为防止盗链,本站资源部分有解压密码,解压密码点击查看
  • 如果您发现该资源不能下载,请通知管理员;
  • 为了保证您快速的下载,推荐使用迅雷或网际快车等专业工具下载;
  • 为确保所下资源能正常使用,请使用WinRAR v3.80或以上版本解压本站资源;
  • 本站所收集的下载资源均来源于网络,如果有侵犯您的版权,请来信告知,我们会马上处理;
  • 本站所提供的资源仅供学习和研究,请勿用于商业用途,请在下载后24小时内删除;
  • 本站不承担用户因使用这些下载资源对自己和他人造成任何形式的损失或伤害!