找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
查看: 2401|回复: 5

[webOS开发] SDK一些信息,比较详细

[复制链接]
发表于 2009-6-28 16:13 | 显示全部楼层 |阅读模式
http://preinsiders.com/forum/viewtopic.php?f=12&t=239 V* @6 I0 D& ?: D
大家可以看看。
回复

使用道具 举报

发表于 2009-6-28 16:22 | 显示全部楼层
After we blogged about the SDK leaking last night,web forums and blog posts were ubiquitous with questions on how to getthe SDK running. Well, now we've created a step-by-step tutorial on howto correctly install and get the Mojo SDK running.
. Q- e' Z* v* J4 d$ G5 v  }6 l% x0 Z. c* D9 `7 ]# D2 d% V7 f
Before you begin...
8 U7 G3 \' V  x5 a1 ~/ l; wYoushould know that Palm has not released any official word on this, andwe cannot say that they are allowing nor are they disallowing the useof this premature SDK release. For that reason, we ask all users to usethis as a learning tool for the proper SDK release (click here for more info on that).Any applications created on this build of the SDK should be regarded asthe same as previous homebrew applications - there is no officialsupport from Palm and if you brick your Pre doing something, it's onyou. However, that being said, this forum will serve as a communityknowledge-base for application development.
+ n) ]5 q+ [: r. b) n9 T8 u/ n  C: u
Now, let's begin.
, v* M: X$ Q! J) E
# U0 \4 P* |4 C4 G$ \Things you will need:$ [- C/ q/ D1 K/ m1 V
- Palm Mojo SDK version 0.3.4 (download here)" g" h1 Q) R; `0 e
- Sun VirtualBox version 2.2.4 (download here)8 l8 b/ r$ t+ z$ @
- Java SE JDK version 6.0 (download here)5 C! u* M% ~' i! o! {
- Safari 4.0 (download here)+ G9 S  }: S& C

' x2 K/ M/ [) F/ Z0 d, G6 _1: Once you have downloaded all of those, install each one except the SDK.
* P  F& F: \* w& U( P' p" F8 |$ e- q! j& B' B# Z% j
2: Reboot your computer3 f( u* W" y( [' e& g- R

' G2 j6 ^+ a7 x9 q( n) x3:Launch the PalmSDK-Win-0.3.4.exe file (or whatever it is named). A DOScommand prompt should load up in VirtualBox looking like this:% r4 K3 K) t+ j6 f3 Q- P" g( [
+ T4 d- s2 M6 e7 Q
: H( |8 D6 w2 w- A
& r9 t$ |3 k- o2 P: N( \* F3 W
4:After a few moments, the Palm splash screen will show and you will beat the emulator's main screen. Now, how to navigate around the SDK.Credit goes to genoahous on the Precentral Forums.
3 W& w4 {! L# l. Z7 v( D# Z' O
, ]$ f, V9 t6 E8 o, s
    Keypad & Gestures
  • Back Gesture - Escape (Esc)
  • Center Button - Home
  • Flick Up Gesture - End
  • Switch between applications - Left / Right arrows
  • Shift - Shift
  • Option (orange button) - Alt
  • Symbol (Sym) - Left Ctrl + Desired letter

/ T0 I" O& \8 H+ y( [
    Mouse
  • Touch/tap screen - Left mouse click
  • Gesture/swipescreen - Click and hold left mouse and drag in desired direction (suchas "swipe up" to show launcher, go to card view, etc).
  • Drag applications/cards - Click and hold left mouse and drag to desired location
  • Quick zoom - Double click left mouse

& O& l6 f& C  i  ~8 ]3 m
    Emulator Navigation4 S& A: l2 k, d
    By default, Right Ctrl is the Host button in VirtualBox. This can be remapped in the options menu.
  • Host + F - Toggle full screen view on/off
  • Host + N - Display session information
  • Host + S - Take a snapshot (will automatically be placed the the Snapshot tab of VirtualBox)
  • Host + Q - Close the emulator
% ]3 a  e6 \! h  t/ {
    SDK Batch Commands
  • palm-emulator.bat - Starts the emulator
  • palm-generate.bat - Creates an application template
  • palm-inspector.bat - Runs Palm Inspector, a debugging tool. Requires Safari or Google Chrome to run.
  • palm-install.bat - Installs application on your Pre (must be connected via USB) or on the emulator (tcp)
  • palm-launch.bat - Launch application on your Pre (USB) or the emulator (tcp) with debugging options activated
  • palm-package.bat - Package application as .ipk file
回复 支持 反对

使用道具 举报

发表于 2009-6-28 19:49 | 显示全部楼层
2楼的很详细,收藏。
回复 支持 反对

使用道具 举报

发表于 2009-6-29 15:25 | 显示全部楼层
如何横屏?
回复 支持 反对

使用道具 举报

发表于 2009-6-29 15:56 | 显示全部楼层
哪里有 classic.ipk,想试一下我常用的palmos软件
回复 支持 反对

使用道具 举报

发表于 2009-7-18 13:58 | 显示全部楼层
hao,顶啊。学习了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-22 16:28 , Processed in 0.299014 second(s), 15 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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