|
http://blog.occuranz.com/2009/06 ... with-palm-mojo-sdk/
' k1 v5 Y& K/ [" V0 \sdk 安装完成后。最有用的三个命令。
0 C4 X5 C( V3 Y3 m( P1,模版程序生成命令:palm-generate Test$ E3 e8 T% N% h6 Z- ~
将会产生一个Test文件夹,里面是程序模版,当然这个程序里没有什么内容。只是简单显示一页字4 e4 {4 j; h/ D q3 n
2,模版打包命令:palm-package Test会将程序打包成.ipk文件 如com.yourdomain.test_1.0_all.ipk
Z5 {' u2 ^6 f$ s3,安装到模拟器中:palm-install com.yourdomain.test_1.0_all.ipk,就会把程序安装到模拟器中。# n3 o+ j8 c' H/ ]7 B, X: Y- t Q
可以在模拟器中看看效果。
% L1 y+ d! i3 X U0 Z0 x7 N( C5 z: m( I, g, P" F! ~: V% F
Now that the Palm PRE MOJO SDK has been released in the wild, we started with getting a example demo running in the emulator.( U, S1 u) b. } c
Here is how we got the Data Example from the SDK running under Windows 7 RC and the MOJO Emulator
3 y8 |( ?% }$ k/ oStep 1 : start command prompt , copy the DATA folder from C:\Program Files\Palm\SDK\share\samples to a PATH you like
5 C4 C n2 ^- {# Q! V7 W( eStep 2: on the command prompt, type palm-package data , this will generate a .ipk file6 V" S) `/ U0 O5 S% u6 _" N
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.
% D, h* P% `5 ?$ I1 _[ 本帖最后由 felixw 于 2009-6-28 13:43 编辑 ] |
评分
-
查看全部评分
|