|
http://blog.occuranz.com/2009/06 ... with-palm-mojo-sdk/
7 [9 v% G! K' Z* c r' usdk 安装完成后。最有用的三个命令。! e8 S; E* n- h' w2 D
1,模版程序生成命令:palm-generate Test
: C( `% h5 }: a1 _. b0 W S将会产生一个Test文件夹,里面是程序模版,当然这个程序里没有什么内容。只是简单显示一页字
8 t: K, P6 k1 x, W$ T" O2,模版打包命令:palm-package Test会将程序打包成.ipk文件 如com.yourdomain.test_1.0_all.ipk
6 m, R8 C/ k' i: n3,安装到模拟器中:palm-install com.yourdomain.test_1.0_all.ipk,就会把程序安装到模拟器中。
! C" {" `) z x3 ?# }& [可以在模拟器中看看效果。
J$ x& ^4 _# i2 F) J6 _
2 ]+ I& L, L4 f) Y' @# z \Now that the Palm PRE MOJO SDK has been released in the wild, we started with getting a example demo running in the emulator.
7 J+ Y6 K# y+ ]& I" q$ k( FHere is how we got the Data Example from the SDK running under Windows 7 RC and the MOJO Emulator
2 N- z& F6 H" Z5 D4 \1 ?Step 1 : start command prompt , copy the DATA folder from C:\Program Files\Palm\SDK\share\samples to a PATH you like* ~5 _2 D+ m# H1 p$ _ Y* E$ N0 L
Step 2: on the command prompt, type palm-package data , this will generate a .ipk file- _" y% v. |! A/ ?
Step 3: type palm-install com.palmdts.data_1.0_all.ipk and press enter, voila the App should be loaded in the emulator’s home screen , see screenshot attached.
/ I1 E5 c! T/ v( o& E[ 本帖最后由 felixw 于 2009-6-28 13:43 编辑 ] |
评分
-
查看全部评分
|