|
http://blog.occuranz.com/2009/06 ... with-palm-mojo-sdk/
, L0 M" @4 p( F: D/ V; Hsdk 安装完成后。最有用的三个命令。
3 Z* P, [; D1 S/ z2 _% ]4 z1,模版程序生成命令:palm-generate Test |3 y) E5 j! p7 U; i6 h+ D
将会产生一个Test文件夹,里面是程序模版,当然这个程序里没有什么内容。只是简单显示一页字
1 ]8 d# R% w( J* [( n: b2,模版打包命令:palm-package Test会将程序打包成.ipk文件 如com.yourdomain.test_1.0_all.ipk
9 m8 Y' Q, |; E( z* }( a3,安装到模拟器中:palm-install com.yourdomain.test_1.0_all.ipk,就会把程序安装到模拟器中。. A8 O4 G' e! f
可以在模拟器中看看效果。+ C/ v: F0 V7 k! l, n
9 E j! j, D7 D6 u; _Now that the Palm PRE MOJO SDK has been released in the wild, we started with getting a example demo running in the emulator.
, N( v5 ]7 e2 r+ o! F2 y9 gHere is how we got the Data Example from the SDK running under Windows 7 RC and the MOJO Emulator
$ _6 \; @( q- V, [" _Step 1 : start command prompt , copy the DATA folder from C:\Program Files\Palm\SDK\share\samples to a PATH you like/ L% ^1 E) O) y, c
Step 2: on the command prompt, type palm-package data , this will generate a .ipk file, P+ L3 Z% t) D1 L& x
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.
7 h3 k1 K" W' U+ t[ 本帖最后由 felixw 于 2009-6-28 13:43 编辑 ] |
评分
-
查看全部评分
|