|
http://blog.occuranz.com/2009/06 ... with-palm-mojo-sdk/# H% }. G$ e+ j8 N& Y& _: a
sdk 安装完成后。最有用的三个命令。+ _- [! ?/ E# }8 }
1,模版程序生成命令:palm-generate Test( Y& c5 z! C5 T0 V2 V4 B
将会产生一个Test文件夹,里面是程序模版,当然这个程序里没有什么内容。只是简单显示一页字5 V% w& A; G. S+ t) S% B* L2 v* l
2,模版打包命令:palm-package Test会将程序打包成.ipk文件 如com.yourdomain.test_1.0_all.ipk: s2 C* n7 T5 r' G
3,安装到模拟器中:palm-install com.yourdomain.test_1.0_all.ipk,就会把程序安装到模拟器中。
1 R# h6 U7 r- {8 E8 X) ]可以在模拟器中看看效果。+ N; r- o6 l, U6 y, k- x9 O
1 R- Q- Z5 s! J& |2 I
Now that the Palm PRE MOJO SDK has been released in the wild, we started with getting a example demo running in the emulator./ b+ A& }, w$ Q8 e a
Here is how we got the Data Example from the SDK running under Windows 7 RC and the MOJO Emulator2 ]3 c! g, _5 c9 W/ u8 v
Step 1 : start command prompt , copy the DATA folder from C:\Program Files\Palm\SDK\share\samples to a PATH you like" }7 b7 X' X! U& v
Step 2: on the command prompt, type palm-package data , this will generate a .ipk file
4 ~4 k' C( N7 O, x/ x8 }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. / D1 t+ B; `0 k# R
[ 本帖最后由 felixw 于 2009-6-28 13:43 编辑 ] |
评分
-
查看全部评分
|