|
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 JKeypad & 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
|
|