|
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, sKeypad & 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 mEmulator 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
|
|