GC_J2ME_API_v20_Sample_App

所属分类:Java编程
开发工具:Java
文件大小:2014KB
下载次数:268
上传日期:2006-03-18 11:19:42
上 传 者管理员
说明:  J2ME 的手机实例模型 ,内附源码,非常有学习的价值,对初学者有很大的帮助。
(J2ME phone model example, enclosing source of great learning value, for beginners will be very helpful.)

文件列表:
umlch10 (0, 2006-03-16)
umlch10\umlch10 (0, 2002-02-25)
umlch10\umlch10\i (0, 2002-01-22)
umlch10\umlch10\index.htm (1002, 2001-09-29)
umlch10\umlch10\i\image10.gif (9252, 2001-09-29)
umlch10\umlch10\i\image11.gif (14963, 2001-09-29)
umlch10\umlch10\i\image12.gif (11316, 2001-09-29)
umlch10\umlch10\i\image13.gif (6044, 2001-09-29)
umlch10\umlch10\i\image16.gif (7038, 2001-09-29)
umlch10\umlch10\i\image17.gif (8967, 2001-09-29)
umlch10\umlch10\i\image18.gif (8967, 2001-09-29)
umlch10\umlch10\i\image2.gif (8967, 2001-09-29)
umlch10\umlch10\i\image3.gif (9852, 2001-09-29)
umlch10\umlch10\i\image37.gif (4189, 2001-09-29)
umlch10\umlch10\i\image38.gif (8780, 2001-09-29)
umlch10\umlch10\i\image39.gif (11787, 2001-09-29)
umlch10\umlch10\i\image4.gif (9032, 2001-09-29)
umlch10\umlch10\i\image40.gif (5788, 2001-09-29)
umlch10\umlch10\i\image5.gif (4001, 2001-09-29)
umlch10\umlch10\i\image51.gif (4184, 2001-09-29)
umlch10\umlch10\i\image52.gif (3868, 2001-09-29)
umlch10\umlch10\i\image53.gif (4094, 2001-09-29)
umlch10\umlch10\i\image54.gif (2190, 2001-09-29)
umlch10\umlch10\i\image55.gif (2665, 2001-09-29)
umlch10\umlch10\i\image56.gif (3137, 2001-09-29)
umlch10\umlch10\i\image57.gif (5821, 2001-09-29)
umlch10\umlch10\i\image59.gif (8967, 2001-09-29)
umlch10\umlch10\i\image6.gif (10128, 2001-09-29)
umlch10\umlch10\i\image60.gif (5500, 2001-09-29)
umlch10\umlch10\i\image7.gif (10059, 2001-09-29)
umlch10\umlch10\i\image8.gif (10628, 2001-09-29)
umlch10\umlch10\i\image9.gif (6133, 2001-09-29)
umlch10\umlch10\i\umldilver.gif (1983, 2001-09-29)
umlch10\umlch10\umlcomoad000.htm (1714, 2001-09-29)
umlch10\umlch10\umlcomoad001.htm (5237, 2001-09-29)
umlch10\umlch10\umlcomoad002.htm (11284, 2001-09-29)
umlch10\umlch10\umlcomoad003.htm (13076, 2001-09-29)
umlch10\umlch10\umlcomoad004.htm (4094, 2001-09-29)
umlch10\umlch10\umlcomoad005.htm (56764, 2001-09-29)
umlch10\umlch10\umlglossary000.htm (1959, 2001-09-29)
... ...

This is a sample J2ME application demonstrating the usage of Game Commerce J2ME API v2.0. There are three core tasks provided in the ANT script: - clean: remove class files compiled from the source and the resulting jar file (support both Windows and Unix). - dist: compile, obfuscate, preverify and package the J2ME app (support both Windows and Unix). - run: run the J2ME app (current script only supports Windows platform). Precondition: - J2SE is installed and configured properly - ANT is installed and configured properly - Make sure the access mode of executable files in j2me/bin can be changed ("dist" task needs to change access mode of those files.) Additional precondition for "run" task: - J2ME Wireless Toolkit for Windows is installed and configured properly - Modify the value of "wtk" property in build.xml to reflect the real location of J2ME Wireless Toolkit To clean: execute "ant clean" under "W_Build" directory To dist: execute "ant dist" under "W_Build" directory To run: execute "ant run" under "W_Build" directory Postprocess for dist: After using the "dist" task to generate the jar file, you need to update the corresponding jad file: - Update the "MIDlet-Jar-Size" property - Verify the value of "simpleAPIlocation" property is correct. - Fill in "user" and "pass" properties with values obtained from GC Operator. Before runing the J2ME app: - Login to Merchant GUI at, for example, "http://gcommtest.wise.astri.org/g-commerce/merchant" and use "Manage Product List" to add products you want to sell through the J2ME app. (Remark: Selecting too many products will cause large amount of data transmitted to handset during "Get Products" operation.) MIDLET in this sample J2ME application: - J2MEGameAPIClientSimpleMidlet: for demonstrating the usage of GC J2ME API v2.0 The MIDLET provides three main functions: - Get Products: retrieve products selected by merchant, to be sold in this J2ME app (can define selection criteria). - Issue Order: place a purchase order. (Remark: The phone number is in international format, e.g., +86... for ***.) In real system, customer will receive confirmation message, ringtone or wallpaper will be delivered upon receiving the reply from the customer. In the test system, no message or product will be delivered. - Check Order Status: check the status of a transaction

近期下载者

相关文件


收藏者