|
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.
) a0 |' g: ]5 M' v2 e! L+ B# `1 ]) r+ Q/ }
Before you begin..." F/ a% H3 P8 H6 L
Youshould 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. 7 o) z0 C3 Q7 T8 f
& r7 G/ j6 O9 eNow, let's begin.
+ P! k( m9 B( \& J7 E0 |
; P' ]5 Y7 K. \1 J6 j0 _Things you will need:1 t' k6 i( F2 b/ s
- Palm Mojo SDK version 0.3.4 (download here)+ F0 K; k: L m
- Sun VirtualBox version 2.2.4 (download here)0 }8 w5 k. s/ {
- Java SE JDK version 6.0 (download here)
& C1 W5 z h: A- n9 u- Safari 4.0 (download here)
5 s7 j- q% ?) c' K. x* l# ~: o1 }' E+ V1 G6 i
1: Once you have downloaded all of those, install each one except the SDK.
- b$ W% f5 m0 F4 k
3 L( B0 b0 @1 [" f4 M* F2: Reboot your computer
! i" s% h A0 Y; ]$ v
: D1 H, _6 b) G+ k6 d" d3: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:
0 @7 ?/ s% n# c: a1 k+ U
" h) s4 e# `+ L5 L0 y, k- A
1 }& V n; s# c. t4 @5 T& Y) s. P: X; a, Q2 ?$ F. B0 q. @5 i& j* ~
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.% s6 w: T5 M+ \. {
( E& \1 v+ \7 b! W" FKeypad & 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
( v0 m( k! }+ \" |- t/ g3 Z
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
4 m1 f& o$ _: g- I- x2 l: @# xEmulator Navigation
0 Z6 W! E+ m7 x( B/ OBy 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
9 h( S" n" w8 k6 a g1 A8 O0 d" d8 D
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
|
|