找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
查看: 1655|回复: 5

[软件及汉化] MotionApps: WebOS, Classic Q&A

[复制链接]
发表于 2009-4-14 17:51 | 显示全部楼层 |阅读模式
MotionApps: WebOS, Classic Q&A
- @. o4 \9 [: U# j/ R5 x& `& e8 r' `: p/ X4 B
by PalmWebOS.org on April 13th, 2009
6 l2 i1 E* r$ T8 G
Last week there was quite a stir when folks noticed a little icon named “Classic” appeared in a “look but don’t touch” video demo of the Palm Pre, creating speculation that WebOS would support Palm OS applications. That rumor was verified as fact when MotionApps announced their “Classic” application and it got a brief video demonstration. But the information starved Palm enthusiasts demanded more and MotionApps - the company who made the “Classic” application - was bombarded with questions.# K! [4 g4 l, ~# s2 ]! Q  T. D
Now we’ve got answers.
0 o3 t/ H2 b1 u( T: u) cIn a blog post on the company’s website, MotionApps answers detailed and technical questions about the Classic application. We’ve copied and pasted the Q&A below for your convenience, but do them a solid and hit up their original Q&A article to show them some love for the transparency!) O! s" y9 s" m; f& s& [8 s* z
0 V6 u* X+ X0 u0 U: k
Q: What is the main difference between Classic running on webOS hardware and “real” PalmOS?
6 @1 Y2 o; C9 u5 RA: Most important difference between the two is that the Classic is an application for webOS running in parallel with other webOS apps, while the PalmOS running on Treos and Centros is the operating system of those devices. This means that Classic cannot take the full and unlimited control of the hardware it is working on. This imposes certain rules of good behavior that Classic must comply with – for example, Classic cannot turn off the device or network which normally is a responsibility of an OS, simply because there may be some other webOS apps running outside of it that are using the same services at the same time. Unlike this, on “real” PalmOS devices, there can be nothing else running in parallel with the operating system, so in that case PalmOS can and should coordinate everything that is going on with the device.
/ l& d7 P) r2 A: {Q: Which of the existing PalmOS devices are closest to Classic in terms of features?
0 \% E, `) z# \7 Q. d  p9 M3 mA: During development of Classic we strived for compatibility with Palm Centro smartphones. Thus, certain features that may be available on other PalmOS handhelds are not supported in Classic (like screens larger than 320×320 pixels, DIA input API and some other rarely used APIs). Of course, this doesn’t mean that you will be limited only to applications that are designed specifically for Centro: majority of existing PalmOS apps are device-agnostic and will run on any PalmOS system, including Classic.6 K- w* a5 |4 G0 N6 P5 I  `
Q: I have PalmOS applications that I would like to continue using in Classic. Do I need to buy them again?
' H9 w1 B# B5 p) M7 E2 a1 ?' g: JA: As far as Classic is concerned – you don’t. Classic will enable you to run existing PalmOS applications without any modifications or limitations. However, if you have commercial PalmOS applications you may need to check the licenses you received from their developers for using it on a different/new device.
$ v& e& p: O& `: v7 z2 y& vQ: Can I run multiple Classic instances at the same time?
, S. K6 K0 f) e- f. {, x2 {9 JA: No, you cannot. The design of webOS is such that it allows only a single instance of a given application to be run at a time. If you try to launch Classic from the main webOS launcher while another Classic is running, the system will simply switch to (bring to focus) the existing Classic instance.# g& k4 g& [5 L4 [, K0 X8 S: H
Q: Can Classic run the native ARM code (a.k.a. ARMlets, PNOlets…)?3 U0 e  Y+ a- L) J/ y$ R- i8 J$ N

, J; e9 z/ \2 l# p# }( Y# }A: Yes, it can. PalmOS applications containing both 68K and ARM code will work in Classic without modifications.# D; p( _9 P5 J+ B1 H, L' U
Q: Can PalmOS applications running in Classic access the SD card slot? What kind of access is supported?
9 |% ~. ^) L9 ?1 K: f( |2 i% y% p. ~

( A5 U4 `2 }& r! CA: Palm® Pre™ device does not have an SD card slot. However, Classic contains a full emulation of SD card related APIs. We have implemented this through a dedicated folder on device’s file system which mimics the SD card. PalmOS application can access files and folders in this virtual storage card using the standard PalmOS VFS API, without any restrictions. This means that PalmOS apps can create, read, modify or delete files and folders on the virtual SD card just as they did on real SD card on real PalmOS devices (it can even be formatted through standard PalmOS API). From the PalmOS application’s perspective, there is a fully functional SD card in Classic.
/ L# R1 p1 f; ~( \; D7 e. `5 _Q: Is there a HotSync support in Classic?
! O! P# O; [: N
3 k9 g4 B* w# g* H
A: Unfortunately, not in the first release. HotSync and conduits are some of the most requested features we have received requests for so far and we are looking into various ways for solving this problem, but there are some serious technical and other obstacles for adding HotSync support to Classic.
1 J7 D- L% U% a% Z7 n, [7 |Q: What is the “HotSync ID” icon that is present on some of the Classic screenshots?" j( }5 l% ~$ v, I; V7 a6 I$ W2 J1 a; L
A: It is a simple PalmOS application that we have bundled with Classic which enables you to define your HotSync ID. Since the only way for defining the HotSync ID on real PalmOS devices is by performing a HotSync operation – which is not supported on Classic – we have included this utility so that you can configure Classic to use the same HotSync ID you used on Treo/Centro. This application has nothing to do with actual HotSync – it just configures the ID that many applications require for registration purposes.( M9 F  z, {" F
Q: Are the native PalmOS PIM databases (contacts, calendar, memos and tasks) supported in Classic?  r. W# {( ?& C7 D: A
A: Classic includes PalmOS Contacts, Calendar, Tasks and Memos apps and their databases so that the other apps relying on those databases can be used in Classic. Access to native webOS PIM databases is not supported at this time.
+ w  f: B% _' RQ: Which screen resolutions are supported in Classic?
$ l+ @# f( G# ^; ~3 c5 O

& G+ h4 {0 E( J2 S+ d. S4 E$ ]" O+ e* DA: Classic supports 320×320 resolution, including 16-bit and 8-bit screen depths.
! _! V0 A1 R& p$ G3 {  @Q: Is direct screen access supported in Classic?: L( a+ I( F% u; f4 ?
, {: `  A9 B, V4 ?$ L
A: Yes, PalmOS applications can directly access the screen memory for faster rendering, just as they do on real PalmOS devices.$ \- ^0 W# g( G  l7 C# p& v8 o
Q: Will Classic integrate into the webOS device hardware and to what extent?
/ N$ o. v1 C: @3 v5 P" ?0 Y* D
. o& q* Q; b9 D& v: M
A: The ability of Classic to integrate with underlying hardware is limited. This means that Classic will not be able to access Bluetooth, wireless modem (phone radio), GPS, light sensors or accelerometer (nor the IR port – because there isn’t any on Pre). One exception to this is the network access which is fully supported. Also, there are some other hardware integration points in Classic: for example a PalmOS application can obtain IMEI, IMSI, ESN and similar identifiers from the modem, device’s serial number and some other information that is typically used by many PalmOS applications for purposes of product registration and licensing. This is done through a standard PalmOS APIs, just like on real PalmOS hardware.) u8 j" M# [1 @0 ~7 o# z
Q: Is there a network support in Classic?
6 X4 h  s. o: T9 j% i! |A: Yes, there is. The PalmOS Network Library is fully supported in Classic. PalmOS applications running in Classic can access the Internet the same way they do on real PalmOS hardware. (Geek stuff: what is not possible from Classic is configuring the network routes or proxy servers – i.e. a PalmOS application cannot decide whether the request will go through cellular or WiFi networks – these details are handled by underlying TCP/IP implementation in webOS).
4 \; {& @3 ~5 u1 qQ: Is the PalmOS web browser (Blazer) included in Classic?1 r; [" ]7 R. w( k
A: No, it is not. webOS contains a significantly more powerful web browser. However, there are lots of PalmOS applications that rely on Blazer services for displaying on-line content. When such an application attempts to launch Blazer and navigate to a web page, Classic will open the default webOS browser and point it to the requested location.
6 }) I$ C) U# d- _. aQ: Can I install a third party PalmOS web browser or e-mail client in Classic?5 T$ ]' j! O7 O5 K% k
A: Yes you can. Classic fully supports network access, so applications like web browsers, e-mail client, RSS readers, IMs or any other apps that are communicating with remote servers over the network will work with Classic.7 f0 p9 d3 p4 p, F! h
Q: What other restrictions exist in Classic, comparing to real PalmOS devices?
9 V5 I" y) m# [5 L

$ ^5 r) J/ P" x5 H- v% M% l* KA: In addition to limitations described above, following PalmOS features are not supported in Classic:
- _# R' o4 S' `3 Q& u# D/ f· Access to built-in camera
9 T; A) r, U* G$ E1 H· Access to external hardware devices through Bluetooth, serial or USB ports however access to network peripherals is supported
- H: y9 X6 l0 c; d· PalmOS development tools, like POSE, Gremlins, debuggers and similar
! Q1 m. k6 G9 U7 M# z  F· Audio/video codecs – due to licensing limitations there are no built-in audio/video codecs in Classic (e.g. MP3, MP4, AMR and others available on Centro).; r( T& P3 F% t" f7 E: F6 c/ z
回复

使用道具 举报

发表于 2009-4-14 19:20 | 显示全部楼层
E文看不懂
回复 支持 反对

使用道具 举报

发表于 2009-4-14 21:00 | 显示全部楼层
不错,看来大问题解决了,呵呵
回复 支持 反对

使用道具 举报

发表于 2009-4-15 10:00 | 显示全部楼层
不错,就是没有说明是否支持漢文
回复 支持 反对

使用道具 举报

发表于 2009-4-17 12:20 | 显示全部楼层
palmOS仿真器“classic"的最新细节和技术解答9 l# o8 f1 V% F3 Q) S; i" M: n7 l

) y+ ~  W" M5 |4月12日,MotionApps网站发布了palmOS仿真器“classic"的最新细节和技术方面的问答。* A$ }3 z. V" z( m
http://motionapps.blogspot.com/2009/04/classic-faq.html+ v$ T- L% ?& N$ V4 }$ T9 _
' m( ?& m$ Y! a( i8 h, j
我选择了一些问答,简单翻译如下:
; E5 L" d. ]& w% B' p4 T9 w! l% O
问:运行在webOS的classic和真实的palmOS有什么主要区别?
" P% T6 R4 H, T; h% k/ |. B答:最主要的区别是classic和其它webOS的软件一样是运行在webOS上的一个应用软件,而PalmOS是运行在treo或centro之类设备上的操作系统。这意味着classic不能完全无限制的控制它所运行的硬件。classic必须要遵守某些规则,例如,classic不能关闭设备或者网络,而这些真实的PalmOS是可以执行的。: `5 e, N& S) {+ `+ C; [8 o  W! r
  L, M' c& X& M0 h* |3 w6 A
问:在特性上,classic最接近于哪个现有的PalmOS设备?
% u) |1 K! k, g# Y! b) H答:在classic开发中,我们是力求兼容于centro的。因此有些其它palmOS设备支持的特性,classic是不支持的(像大于320x320的屏幕,DIA 输入API 和一些很少用到的API)。按我的理解是不支持480x320的宽屏显示界面,没有虚拟输入盘" x) q! d/ }$ p3 ^8 i( _1 W

; ~/ ]; @. L& q' l. w: k问:我现有的palmOS软件,如果要在classic上运行,需要重新购买吗?1 F' F: }+ S( F; p6 z
答:不需要。classic可以让你运行现有的palmOS软件,无须修改,没有限制。但是,如果是商业软件,你要留意软件的开发者对软件运行在别的设备上是否有版权的法律要求。$ ^: x9 v4 _. U- h! p

5 Q6 _6 }% b5 t8 U* R  t问:可以同时运行多个classic吗?% q7 g# M: `% b; {
答:不可以。
* u' V" i: `$ ?  w: G, |& d5 N( [5 O* n& Y( `1 ]1 C% e" Q) o& G
问:classic能否支持原生ARM代码(像 ARMlets, PNOlets), c* e8 \) q' c+ c8 r' n" N2 x
答:能够。包含68k或者arm代码的palmOS软件都可以在classic上运行,无须修改。
: ^! L  A. R, [( Q3 R' F, `; [  b0 H0 ?8 Q* N" T2 L
问:在classic上运行的palmOS软件可以访问SD卡吗?支持哪种访问?$ E- o5 ?& U& I5 c2 z  {
答:虽然pre没有SD卡槽,但是classic包含了SD卡相关API的完整仿真。我们在设备的文件系统中建立一个专用的文件夹去模拟SD卡。PalmOS软件可以使用标准的PalmOS VFSAPI去访问这个虚拟存储卡中的文件和文件夹,没有任何限制。也就是说可以在这个虚拟SD卡上创建、读写、删除文件和文件夹,就像对真实palmOS设备中的真实SD卡所进行的操作一样(甚至可以通过标准palmOS API进行格式化)。9 S0 R9 t9 E, i. M
$ ^6 E7 _( O7 \2 J0 q
问:classic是否支持hotsync热同步?3 d* S5 E. b( E; V: N
答:很遗憾,第一个发布的版本不会支持。我们正在寻找不同的方法去实现,但目前有一些技术上的障碍。
" q# z. A* Q1 V3 {; @+ G! |% c/ k
+ H1 a6 J% M$ ]! ], U; v问:一些classic的截屏图片中出现的“Hotsync ID”图标是什么?, m) E7 E' E+ G7 f
答:它是一个classic附带的简单软件,可以让你设定你的HotsyncID(同步名)。因为在真实的PalmOS设备上设定同步名,唯一方法是通过热同步,但classic目前是不支持热同步的,所以我们附带这个软件使你可以在classic设定和你的treo或centro上一样的同步名,便于注册软件。
1 \& ?' f& i. J5 C8 O7 l1 N0 R0 r* @
问:classic是否支持原生的PalmOS PIM 数据库
(contacts, calendar, memos and tasks)
  @! o% e9 i- y' D答:支持。但目前不支持原生的WebOS PIM数据库。: k3 n0 P% {" e  E  o

5 o* y- K# p! p. o5 {) }% B问:classic支持什么屏幕分辨率?
% w9 E1 D1 P# V, k5 q答:支持320x320,包括8位和16位色深。( Y6 W2 @3 M: B

  M9 Y3 V' J4 X问:classic是否支持直接屏幕访问?
1 Q* S5 @! l/ s答:支持。palmOS软件可以直接访问屏幕缓存以加快渲染,就和在真实PalmOS设备上操作的一样。
' ^) k  v8 a6 s1 M
! `! c9 h9 U$ Y, e5 }9 t3 ~' a' {问:Classic将会集成到webOS设备硬件上吗?集成到什么程度?
8 h& C! f$ K0 K/ A5 L* y6 g8 R/ Q+ b9 e答:classic与WebOS设备底层硬件集成的能力有限。因此,classic不能够操作蓝牙、手机信号无线modem、GPS、光学感应器和加速度感应器(也没有红外线,因为pre没有红外线接口)。有一个例外,就是网络访问,是完全支持的。另外,classic还支持一些硬件集成,例如palmOS软件可以从modem、设备序列号等获取IMEI、IMSI、ESN和其它识别信息,用于软件的版权或注册。这是通过标准的PalmOSAPI完成的。9 z0 o) S9 e  }: a$ a

9 v7 g; y5 w' E6 m) t问:classic是否支持网络?  I! f4 q$ C& v+ P* n7 z$ v
答:支持。Classic 完全支持PalmOS NetworkLibrary。在classic上运行的PalmOS软件可以像在真实palmOS设备上那样访问网络。(但classic不能设置网络路由和代理服务器,例如classic不能决定访问请求是走手机还是wifi网络,这些是由WebOS底层的tcp/ip层去处理的。)
$ s6 s) ?- X* J# ]' P+ X' a% h
/ @5 }4 N. A+ E6 Z0 b9 E/ F问:classic是否包含Palm Web浏览器(即blazer)?
6 T7 p5 {) t+ C' w答:不包含。因为webOS拥有一个非常强大的浏览器。但很多palmOS软件需要依赖blazer去打开网上的内容,如果这样的软件发出请求运行blazer浏览某个网页,classic会自动运行webOS默认的浏览器去浏览该网页。
1 V4 n7 v( B, d* ]9 z' p4 \3 p' F# M* i1 R
问:我可以在classic上安装第三方的PalmOS网络浏览器和邮件客户端吗?- H: V$ `# Q1 c: e, c' [
答:可以。classic完全支持网络访问,所以像网络浏览器、邮件客户端、rss阅读器、IM软件等通过网络和远端服务器进行通信的应用,在classic都可以工作。
# j0 L! J3 J* c1 o6 m/ w; F! q2 A* A# d% x: z3 ?& J
问:相比于真实的PalmOS设备,classic还有什么其它限制?
" W( B/ G* a  e# f  ?/ z答:除了上面提到的限制,classic还有以下几点是不支持的:
% s0 R, P. j# K5 k
  • 操作内置相机。
  • 通过蓝牙、串口、usb端口操作外置的硬件设备,但是访问网络外围设备是支持的。
  • PalmOS开发工具,像POSE, Gremlins, debuggers或类似软件。
  • 音频和视频的解码。由于版权限制,classic没有内置的音频和视频解码(像mp3、mp4、AMR等)
回复 支持 反对

使用道具 举报

发表于 2009-4-18 04:25 | 显示全部楼层
以前很多人的担心是多余的,现在担心对中文的支持相信也是多余的。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 加入我们

本版积分规则

QQ|Archiver|手机版|小黑屋|吹友吧 ( 京ICP备05078561号 )

GMT+8, 2025-1-3 17:20 , Processed in 0.308376 second(s), 16 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表