|
http://blog.occuranz.com/2009/06 ... with-palm-mojo-sdk/+ g0 T' ]! ?) q5 w+ @' Y: _1 z
sdk 安装完成后。最有用的三个命令。
# r& l' O& A( ~6 s( l1,模版程序生成命令:palm-generate Test
T$ M; r- ?+ \$ u6 L& D/ h( O/ |将会产生一个Test文件夹,里面是程序模版,当然这个程序里没有什么内容。只是简单显示一页字) p" P c6 C5 }
2,模版打包命令:palm-package Test会将程序打包成.ipk文件 如com.yourdomain.test_1.0_all.ipk5 {) n& X8 s. I8 E
3,安装到模拟器中:palm-install com.yourdomain.test_1.0_all.ipk,就会把程序安装到模拟器中。
- d4 Z) K) d# `; D5 J! g可以在模拟器中看看效果。
$ Q" E, x% J" j$ C) P! U. L+ _& K
Now that the Palm PRE MOJO SDK has been released in the wild, we started with getting a example demo running in the emulator.
) `2 j3 y, v8 ?Here is how we got the Data Example from the SDK running under Windows 7 RC and the MOJO Emulator' a% @" v3 L0 K
Step 1 : start command prompt , copy the DATA folder from C:\Program Files\Palm\SDK\share\samples to a PATH you like
7 f& g; Q/ B4 y: E4 BStep 2: on the command prompt, type palm-package data , this will generate a .ipk file3 A. ]6 {, O0 o, |0 Q
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. 4 o) ]1 b. D; R( u
[ 本帖最后由 felixw 于 2009-6-28 13:43 编辑 ] |
评分
-
查看全部评分
|