找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
查看: 1031|回复: 6

[软件及汉化] 第一版的SDK无法开发充分利用硬件的软件

[复制链接]
发表于 2009-7-20 20:00 | 显示全部楼层 |阅读模式
http://hunter.pairsite.com/blogs/20090717/
  r& ^1 t( z8 x; z5 @3 r; {) z0 [2 F. {, L5 h
第一版完全没有访问OpenGL ES的能力,对加速器的采样也只有每秒四次——多数游戏需要每秒20次
) f9 U7 S* f- R& f) X' ]! K- x% t9 v+ I' C( Q/ L+ ?8 }6 F2 ?% G$ _
When I found out Palm released the webOS SDK yesterday, I immediately downloaded it and took a look at the documentation. I'm a pretty dedicated iPhone developer but was excited about new possibilities on the Pre and its successors. As much as I enjoy developing iPhone apps, the iTunes store is horribly crowded and it's really challenging to get a toehold with new apps. The iPhone app market has turned into somewhat of a beast. Ironically, Apple has been touting the size of the iPhone app market and App Store as a major accomplishment, which it is, but there's always a downside when things get "big". I'm not sure big is good myself, at least not when Apple is the only game in town.% P; Z3 r! g4 F  h

- T' V5 J! o6 ]We can't go back to the salad days of the iTunes App Store, but the same thing is poised to happen on the webOS platform. Or so I hoped. I knew that webOS development was based on HTML, JavaScript, and CSS, but I was hoping there was a way, some way, any way, to tap into advanced hardware features and software technologies. Chief on my list is OpenGL, which is a requirement for serious games. GL even became necessary for some of my simpler apps, like Kaleido and Butterfly Collection, since basic software rendering just isn't responsive enough for smooth animations at decent speeds. You need to tap into the graphics hardware with OpenGL ES.
3 A9 N# X( w6 J2 M! W3 z4 a' a/ H+ B5 o. v: k' ^: U; {8 l1 `1 q
Sadly, my suspicions were confirmed -- there is no way for developers to tap into OpenGL ES using the webOS SDK, despite the fact that the hardware supports it. So that's a major blow. Then I took a look at the accelerometer capabilities. The accelerometer is desirable for games that use tilt control of course, but is also key to apps based on the equations of motion, like my gMeter (vehicle performance) and greenMeter (eco driving) apps.' E! a& u' E# f9 D4 t0 i

7 C) Q. _3 e' U$ vWell, strike two -- while the webOS SDK allows access to raw accelerometer data, it's limited to a 4 Hz sampling rate (that's four samples per second). Applications like gMeter and greenMeter need 50-100 Hz to even be practical, and most games need at least 20 Hz for smooth inputs that won't lag too far behind typical graphics framerates. A low rate of 4Hz is not usable for dynamic motion where high fidelity is desired. Accelerometer support in the webOS is suitable for detecting basic movement of the phone for interface rotation, but that's about it.
3 J, z/ D. O' ~+ ~7 ^# C  B7 y% H2 X5 E
In my quest to re-experience the early days of app development on a new mobile platform, I didn't rewind one year like I was hoping -- I went back two years, back to the days when we could only develop web apps on the iPhone. I wrote this piece back then, bitching about the limitations of web apps on the iPhone. It seems we're right back in the same boat with webOS.
7 L1 U4 l$ e* y1 s$ `
' R2 g8 |. {( d+ W4 M9 M: M2 I1 c* cThis wouldn't be so bad for Palm if we were still in 2007, but in the age of sophisticated iPhone native apps here in 2009, web apps just don't cut it anymore. With such amazing software capabilities flourishing on the iPhone, Palm can't afford to wait a year while they make the transition from web apps to native apps in their SDK. Palm might have had a chance against the 2007 Apple SDK, but not the 2009 version. Not even close. With this limitation, webOS will not be taken seriously by consumers who place importance on games or sophisticated third party apps. The iPhone has raised their expectations too high.0 p1 p  ?. m8 I- I) @2 D, P+ y
  u4 Y8 ]& s4 `& u
That's a pity, because I find Palm's webOS to be a pretty nice operating system that is very well done for a 1.0 release. The Pre hardware is mediocre, but that can be overlooked because of the nice OS and user interface. But when it comes to the SDK, I think Palm stepped up to the plate and laid a solid bunt. Unfortunately, nobody was on base, and getting to first isn't going to win the game for Palm. They need home runs at this point. They need to swing for the fences.
0 U5 V( b$ o; }. [- I! m3 M9 ?/ Q# T0 A0 j0 b. n
From what I can see, it looks like Apple is going to hold on to the mobile app pennant for a while. The real question is, will Palm even hold on for another season?
回复

使用道具 举报

发表于 2009-7-20 20:09 | 显示全部楼层
感觉目前Palm对很多地方还没有最终搞好..; x6 `- r/ B  V6 G  D* b

! p( g& }; _2 l" P0 S. S" m( c所以开放的不够
回复 支持 反对

使用道具 举报

发表于 2009-7-20 20:56 | 显示全部楼层
面包会有的
回复 支持 反对

使用道具 举报

发表于 2009-7-20 22:58 | 显示全部楼层
just wait and see, buddies.
回复 支持 反对

使用道具 举报

发表于 2009-7-20 23:59 | 显示全部楼层
这个就不用担心的啦。。。
  W* Z  \4 V4 ]0 o1 B* P# E要有个过程的。。。
  P* \, H3 `  G, F8 V5 c我想总会比M8强点儿吧,,,都测试了快1年了,还没个皆大欢喜的固件咧
回复 支持 反对

使用道具 举报

发表于 2009-7-21 14:26 | 显示全部楼层
好正确 被说中了
回复 支持 反对

使用道具 举报

发表于 2009-7-21 16:46 | 显示全部楼层
要想充分利用硬件,用JavaScript怕是不行
0 _4 g; S1 l: d' P! Y0 _6 Z
( x* |6 |7 d; w% |得用二进制才行吧
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-20 14:44 , Processed in 0.227436 second(s), 16 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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