• 6

PPC程式設計的討論區


Lucien Gou wrote:

能不能簡單的說一下步驟,在VS.NET中,如果我已經用C#寫好[Windows 應用程式],
並且也測試好了,如何把[Windows應用程式] 轉換成[智慧型裝置應用程式]呢?
因為這點在我的書中,似乎還沒找到...(Inside C#)



你只要不要用到 .Net CF 不支援的東西,
那麼 Windows 應用程式, 就是 智慧型裝置應用程式.

問題是, .Net CF 不支援的東西很多,
另如, 對 form 而言, 不支援 size 大小的變化等等,
所以, 假如用 windows 應用程式 開出來的 project,
會很難弄成 智慧型裝置應用程式.



所以, 我才會說...
: 應該也可以開新 window 的 project,
: 再把用到的檔案進去...

還是先開個 "智慧型裝置應用程式" project,
那麼產生的程式碼, 就會是 .Net CF 支援的,

再開個 "Windows 應用程式" project,
然後把 "智慧型裝置應用程式" 用到的程式碼加進來,
(不要用 "Windows 應用程式" 去產生程式碼)
那麼在 "Windows 應用程式" 的那個 project,
就同時可以在 windows (.net framewordk) 及 wince(.net cf) 上執行.


用 google 去找,
"java applet netfront",
看來有個叫 JV-Lite 的 JVM, 是 Personal java 的, 可以用.

如果 java 聊天室是用 jdk1.2 之前寫的, 應該就可以用.
(MS 的 java 是 jdk1.1, 所以大部份用 IE 可以看到的 java 都 ok).


http://www.forrelease.com/D20031208/sfm123.P1.12082003141139.20363.html


有 NetFront 跟 JV-Lite2 bundlie 在一起的,
http://www.access.co.jp/english/press/031208.html
NetFront v3.1 for Pocket PC versions and prices:
NetFront v3.1 for Pocket PC 2003 with JV-Lite2 (XScale version)
Download price: US$29.80
Limited time discount: US$19.80


線上購買
http://leche.goodcrew.ne.jp/leche/servlet/download.lineup.info?cg=0&fn=162
(有含 jv-lite2 的版本, 不過是日本網頁, 台灣不知道可不可以買)

45 天試用版
http://nfppc.access.co.jp/agree_ca2003.html
(提到一些出口限制...)
(看不懂日文, 裏面有文字提到 javavm, 不確定這個試用版有沒有含 jv-lite2)



中和男子 wrote:
可以寫個讓pda能進聊天室的javavm嗎
我是電腦白癡

發現netfront 3.1可以看到聊天室的外觀了ㄋ
但是一直卡在系統連線中請稍後
能寫的出來ㄇ
這個是我現在安裝的NetFront的說明
November, 2003
NetFront(R) v3.1 for Pocket PC Commercial version
ProductID:NF31PPC3ARENR10JV
Copyright(c) 2003 ACCESS CO., LTD. All rights reserved.
************************************************************************

Contents:
1. Introduction
2. Specification
3. System Requirements
4. Verified Devices
5. Installation
6. Operation
7. Change from NetFront v3.0 for Pocket PC
8. Verified External Application
9. About JV-Lite2 Plug-in
10. Restrictions
11. Copyright and Trademarks


1. Introduction
Micro browser NetFront v3.1 for Pocket PC was developed based
on the standard protocols and supports the latest markup languages
HTML (HyperText Markup Language),XHTML (Extensible HyperText Markup
Language) and WAP2.0(WML1.3). It also supports content with CSS
(Cascading Style Sheets),ECMA Script (JavaScript), DOM
(Document Object Model),and DHTML (Dynamic HTML).


2. Specification
NetFront v3.1 for Pocket PC supports features including followings.

* HTML 4.01
* XHTML 1.1
* cHTML (Compact HTML)
* XHTML Basic (an XHTML subset: W3C Recommendation)
* WML1.3 on/off setting
* Smart Fit rendering
* ActiveX and Multimedia plug-in (Flash/Windows Media Player) support
* Installation to external storage device
* CSS (Cascading Style Sheets) 1, 2 (partial)
* ECMA Script 3rd Edition (equivalent to JavaScript 1.5)
* DOM (Document Object Model) 1, 2 (partial)
* Image formats: GIF, Animation GIF, PNG, JPEG, MNG-LC, BMP
* HTTP/1.1
* SSL (Secure Socket Layer) 2.0/3.0,
TLS (Transport Layer Security) 1.0
* Multi-windows (5 tabbed windows)
* Cookie support
* Bookmark, Page Memo
* Auto-Cruise
* Internet search engine
* Phone edition support
* Helper (call external application)
* JV-Lite2 plug-in support (Java applet)
* Mascot Capsule(R) Engine Micro3D Edition plug-in
(demonstration version)


3. System Requirements
* CPU: PXA255
* OS: Windows Mobile 2003 software for Pocket PC (English version)
* Memory for data storage: Approx. 7.0MB
* Memory for program execution: Approx. 5.0MB+
: Approx. 7.5MB+ (activating JV-Lite2)


4. Verified Devices
HP iPAQ pocket PC h2210
TOSHIBA e350


5. Installation
* Execute NF31PPC3ARENR10JV.exe on PC to install.


6. Operation
* Refer to the online help on NetFront v3.1 for Pocket PC.
(Launch NetFront v3.1 for Pocket PC, and then tap [Help]
in the start menu.)


7. Changes from NetFront v3.0 for Pocket PC
(1) Tool Bar

mode button.

(2) [File] menu
* [Bookmark]



[Delete], and [Move].

* [Page Memo]



[Delete], and [Move].

* [History]




[Add Bookmark], [Delete], [Properties].

* [Misc]



[Move].

(3) [Display] menu
* [Tool Bars]


* [Encode]
- Added choice of character sets.

* [Full Screen]
- Full screen mode was added.
- Full screen is reset by tap and hold on the screen.

(4) [Tool] menu
* [Window]


* [Scroll mode]
- Located the mode here instead of the scroll button.

(5) Sub menu
* [Full Screen]
- Full screen mode was added.
- Full screen is reset by tap and hold on the screen.

* [Fonts]
- Added font size setting.


* [General]
- Moved cache settings from [memory].
- Added history of data input. All the history can be deleted.
- The entire Cookie can be deleted.
- Added a setting of form data input. All of the history of
data at the form can be deleted.
- Moved software keyboard setting from [Misc].
- Moved Memory setting from [Memory].

* [Display]
- Added Wrap content. When [Wrap content] is chosen, the page
layout is changed.
- Font can be chosen.
- Display on/off of dialogs can be chosen.

* [Network]
- Since Windows Mobile 2003 software for Pocket PC standard
network setting is used, nothing other than proxy setting
can be adjusted here.

* [Helper]
- Moved mail application setting from [Misc].
- Moved plug-in setting from [Display]. Each plug-in can be set
on/off.

* [Security]
- Each SSL version can be set on/off.


* [Misc]
- Moved cursor key setting from [General].
- Supported multiple setting of User Agent.
- Moved Referrer setting from [General].
- Added UTF-8 encode setting of URL.
- Added default CSS setting.
- Added setting of Image decode level. Can save memory consumption
by limiting decoding images displayed in a page.

8. Verified External Application
* Adobe (R) Acrobat (R) Reader for Pocket PC Version 1.0
* Microsoft (R) Pocket Excel
* Microsoft (R) Pocket Word
* Windows Media Player for Pocket PC


9. About JV-Lite2 Plug-in
* JV-Lite2 is a Java Runtime Environment (JRE) implemented on
NetFront(R) as a plug-in.
* When NetFront loads a Java applet, JV-Lite2 starts automatically,
and then executes the Java applet.
For further detail, refer to the demonstration content of JV-Lite2.
(Bookmark: "JV-Lite2(R) Demo")


10. Restrictions
(1) NetFront v3.1 for Pocket PC
* After installing NetFront at an external storage, the program will
be unstable if you turn on/off the power while the program is
running.
* Scroll mode is not available in a plug-in screen.
* Integrated Windows Authentication of IIS is not supported.
* To use scheduled auto-cruise, stop NetFront.

(2) Java Applet Runtime Environment (JV-Lite2 plug-in)
* After installing NetFront at an external storage, JV-Lite2 will
be unstable if you turn on/off the power while the program is
running.
* For some Java applets, Pocket PC does not issue a key event by
software keyboard successfully.
To prevent this problem, JV-Lite2 allows you to assign hardware
keys to any keys.
For further details, refer to "3. Processing Java Applets"
in the JV-Lite2 demonstration.
* When starting or stopping Java Applet, processing Java modules may
stop.
In that case, stop NetFront and then activate it again.


11. Copyright and Trademarks
* NetFront and JV-Lite are registered trademarks or trademarks of
ACCESS CO., LTD. in Japan and selected countries worldwide.
* ACCESS is a registered trademark of ACCESS CO., LTD. in Japan.
* This software is based in part on the work of the Independent JPEG
Group.
* This software is licensed under U.S. Patent No. 4,558,302 and foreign
counterparts.
* Java, all trademarks and logos that contain Java and JavaScript are trademarks
or registered trademarks of Sun Microsystems, Inc. in the United States and
other countries.
* Microsoft, Windows and Internet Explorer are trademarks or registered
trademarks of Microsoft Corporation.
* RSA, RC4, MD5 are trademarks or registered trademarks of
RSA Security, Inc.
* Mascot Capsule is the registered trademark of HI CORPORATION.
* Adobe and Acrobat Reader are trademarks of Adobe Systems Incorporated.
* All other trademarks,logos and trade names,mentioned in the document are
the proprietary of their respecitive owners.
* The indication of the intellectual property rights of each owner, immunity,
disclaimers and other items specified in the source code in this product may
not be deleted or changed, and the new indication which may cause confusion
cannot be added.
能看到聊天室的外觀但是還是不能用
會卡在系統連線中請稍後
難道ppc真的不能上聊天室聊天ㄇ?????????

可能的問題很多,
先確定 jvm 有作用,
找一個簡單的 applet 試試看.

如:

http://www.muq.org/~cynbe/java/classes/hello/hello.html



中和男子 wrote:
這個是我現在安裝的NetFront的說明
November, 2003
NetFront(R) v3.1 for Pocket PC Commercial version
ProductID:NF31PPC3ARENR10JV
Copyright(c) 2003 ACCESS CO., LTD. All rights reserved.

ec wrote:

可能的問題很多,
先確定 jvm 有作用,
找一個簡單的 applet 試試看.

如:

http://www.muq.org/~cynbe/java/classes/hello/hello.html


NetFront(R) v3.1開不了這個網頁ㄋ代表 jvm 沒作用ㄇ

網頁不能開, 不是 jvm 的關係.
應該要能開, 而 applet 內容是空白, 內是 jvm 有問題.


去 view 那個網頁 source,
沒用 <html> 開頭....

試試這個

http://infocloud.com/mt/j.htm

我把原來的網頁整理放在我機器上,
看 applet 裏有沒有出現 "Hello World"


中和男子 wrote:


ec wrote:

可能的問題很多,
先確定 jvm 有作用,
找一個簡單的 applet 試試看.

如:

http://www.muq.org/~cynbe/java/classes/hello/hello.html


NetFront(R) v3.1開不了這個網頁ㄋ代表 jvm 沒作用ㄇ
剛試過了答案是有
Hello World
The simplest java applet:
Hello World
阿阿阿這代表什麼ㄋ????

中和男子 wrote:
剛試過了答案是
Applet:
ERR:java.io.IOException
阿阿阿這代表什麼ㄋ????



再試一次,
http://infocloud.com/mt/j.htm
(我原來是用 base href 指到原來網站,
下在是把原來網站的 .class download 到我機器)


如果還是有問題,

那就真的是有問題吧!
應該是有裝到 java vm,
但是沒裝好,
或是有沖到... 例如只能裝在日文?...
或許可以發 mail 去問問看.


那個 applet 的 source 很簡單,
只是印出個訊息, 並沒有用到什麼 io 的東西...

import java.applet.*;
import java.awt.*;

public class HelloWorld extends Applet {
public void paint( Graphics g ) {
g.drawString("Hello World",50,25);
} }



我剛忘了開外掛
剛又試過了答案是有
Hello World
The simplest java applet:
Hello World
阿阿阿這代表什麼ㄋ????
我還是只能看到聊天室的外框....>”<.....
麻煩你ㄌ>”<

代表 jvm 有正確在執行.

外框不是java,
裏面的東西才是 java.

我沒有 kimo 的帳號,
也不想去註冊帳號....
所以不知道是不是用了什麼特殊的東西.

或許你可以試試看,
不用註冊帳號.
http://chat.openfind.com.tw/





中和男子 wrote:
我剛忘了開外掛
剛又試過了答案是有
Hello World
The simplest java applet:
Hello World
阿阿阿這代表什麼ㄋ????
我還是只能看到聊天室的外框....>”<.....
麻煩你ㄌ>”<
  • 6
內文搜尋
X
評分
評分
複製連結
Mobile01提醒您
您目前瀏覽的是行動版網頁
是否切換到電腦版網頁呢?