找回密码
 加入我们

QQ登录

只需一步,快速开始

搜索
查看: 2398|回复: 5

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

[复制链接]
发表于 2009-6-28 16:13 | 显示全部楼层 |阅读模式
http://preinsiders.com/forum/viewtopic.php?f=12&t=23. b0 ?; k3 j5 C; U& i! H2 r2 z- t& n
大家可以看看。
回复

使用道具 举报

发表于 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.1 N: f, }; P  T. T/ ?9 P3 M0 z
( j9 d( a4 v2 w' F) N, [
Before you begin...
" A; _, h1 {( H: I+ y* I( \) BYoushould 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.   I9 E: T) J/ O. T

' b# y& S- c/ M. B% gNow, let's begin.
- W6 g  h$ \" }. v6 S
/ H" Y! l8 p. q. U+ K( _* EThings you will need:
1 L, t6 O- e, _0 Z) Y  N% A- Palm Mojo SDK version 0.3.4 (download here)
/ j9 X) c; `. r# _7 F# Y) d5 v9 l- Sun VirtualBox version 2.2.4 (download here)- p) L2 ~1 @  z7 @
- Java SE JDK version 6.0 (download here)
+ n  ?  Z$ i( Y* q/ v. t- Safari 4.0 (download here)
3 I4 B# S. Q: H- ?' Z7 l  n! k- B
0 ?8 Q* ^$ @) r0 D1: Once you have downloaded all of those, install each one except the SDK." ~6 g3 Q- s; m" U( f% U' [
8 |) W- c  R- r* a! e
2: Reboot your computer
, }% s/ a% U( r% t5 W5 E! l4 G+ |' d6 q4 \
3: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:# `, w8 g7 a  H% B2 l  J% ~5 p, @

4 E; b$ K6 i- I2 e' \
' J7 b0 ~& b1 ?( j2 V" N4 L* o; u! l- M* `
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." \0 [6 g1 P1 l2 u+ P4 ~

7 c. T% m* W# u1 A8 J
    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
8 O* b, K# t3 X# R& F$ s
    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
& d4 D, a: K9 s9 M
    Emulator Navigation5 A- |2 ^" `9 R8 Q$ N
    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
7 t! `& q% Y$ X2 C9 {! }
    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-11-19 21:40 , Processed in 0.322899 second(s), 16 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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