找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
查看: 1025|回复: 6

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

[复制链接]
发表于 2009-7-20 20:00 | 显示全部楼层 |阅读模式
http://hunter.pairsite.com/blogs/20090717/
: l3 V7 O1 b& d/ m4 p, m  p+ _
; b0 D, S9 \1 T! c- U' g2 T第一版完全没有访问OpenGL ES的能力,对加速器的采样也只有每秒四次——多数游戏需要每秒20次
- Y/ H: l% I$ k$ b; F
+ }  B& b. `7 {3 kWhen 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.; g* N4 s( O; W0 K( K

6 o6 F+ ~- q& SWe 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.& F4 U. _( I& Y7 @7 i
% b6 g+ H. o. s
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.
" [6 S: X3 K1 V/ B$ j% }! |7 N: E% Z, Y: }. p% e9 ^! E2 s7 F
Well, 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.
, K5 P" f5 X6 `. c; L
1 j# i+ y7 O, r$ W1 Y5 Z+ aIn 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.
1 @0 O0 X! N3 s
: g- y+ }5 b: `- D( z5 w) w$ DThis 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.2 d8 g7 S; C" [6 R) b% G" h6 |, E
( K. N  e" I  I3 A( j5 E! }# _
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.
& o/ K; g* n" ^& |9 r+ s+ X4 d; d' N
( \8 }( x+ m6 x7 ?9 {) k: W2 _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对很多地方还没有最终搞好..
% X# d+ w+ P1 A: |; b% j
( @, U! y4 ]3 i' |; q3 b所以开放的不够
回复 支持 反对

使用道具 举报

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

使用道具 举报

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

使用道具 举报

发表于 2009-7-20 23:59 | 显示全部楼层
这个就不用担心的啦。。。1 y- j9 Z. j8 f5 }6 ~" A9 G
要有个过程的。。。' |, t7 w; g8 E; m
我想总会比M8强点儿吧,,,都测试了快1年了,还没个皆大欢喜的固件咧
回复 支持 反对

使用道具 举报

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

使用道具 举报

发表于 2009-7-21 16:46 | 显示全部楼层
要想充分利用硬件,用JavaScript怕是不行
/ K3 P4 n! J& l/ j/ @9 T: {, z
: p! L1 g& v0 P, z$ h3 L得用二进制才行吧
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-29 03:30 , Processed in 0.307853 second(s), 15 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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