OPhone SDK Documentation (安装过程)

1.在OPhone官网上下载SDK url:http://www.ophonesdn.com/

    免费注册后就可以下载sdk

 

2.Eclipse IDE环境

3.安装SDK过程 "java -jar sdk-package-file.jar "

Installation of OPhone - welcome

Click "Next", and then choose accepting the license if you want to continue the installing.

Installation of OPhone - license

 

Installation of OPhone - path

 

Installation of OPhone - components

 

3.配置SDK

     在~/.bashrc 里PATH中加上${PATH}:<your_sdk_dir> /tools

4.安装SDK的中文帮助文档

 tools/ophone/ophone.sdk.doc_VERSION .jar 复制到eclipese的plugins文件夹下

 

5.加载SDK的编译文件

  1. Select Window > Preferences... to open the Preferences panel.
  2. Select Java > Build Path > User Libraries from the left panel.

  1. In the User Libraries panel, click New to open 'New User Libraries' dialog and input OPhone , and press OK .

  1. Click Add JARs to select oms.jar in OPhone SDK root folder, and OK . Now the OPhone User Library has been added to the build path in Eclipse IDE. When a new OPhone project is created, you also need add the OPhone User Library to the build path of the created project in order to use OPhone APIs.

  1. Still in previous window, double click at Javadoc Location under OPhone branch, and new window with captionJavadoc For 'oms.jar' will appear. Then choose the item of Javadoc in arc hive , and select the /plugins/ophone.sdk.doc_VERSION .jar under your Eclipse IDE. Then choose OK to finish the configuration.

 

6.安装ADT

sdk_folder/tools/ophone/ADT-0.8.0.zip.

For Eclipse 3.4 (Ganymede)
  1. Start Eclipse, then select Help > Software Updates... .
  2. In the dialog that appears, click the Available Software tab.
  3. Click Add Site... , then Archive...
  4. Browse and select the downloaded the zip file.
  5. Back in the Available Software view, you should see the plugin. Select the checkbox next to Android Development Tools and click Install...
  6. On the subsequent Install window, "Android Deveopment Tools" should be checked. Click Finish .
  7. Restart Eclipse.

After restart, update your Eclipse preferences to point to the SDK directory:

  1. Select Window > Preferences... to open the Preferences panel.
  2. Select Android from the left panel.
  3. For the SDK Location in the main panel, click Browse... and locate the SDK directory.
  4. Click Apply , then OK .

7.安装WDT

The WDT zip is available in the SDK: sdk_folder/tools/ophone/jil-wdt-site.zip

For Eclipse 3.4 (Ganymede)
  1. Start Eclipse, then select Help > Software Updates... .
  2. In the dialog that appears, click the Available Software tab.
  3. Click Add Site... , then Archive...
  4. Browse and select the downloaded the zip file.
  5. Back in the Available Software view, you should see the plugin. Select the checkbox next to Widget Development Tools and click Install...
  6. On the subsequent Install window, "Widget Development Tools" should be checked. Click Finish .
  7. Restart Eclipse.

After restart, update your Eclipse preferences to point to the SDK directory:

  1. Select Window > Preferences... to open the Preferences panel.
  2. Select Widget from the left panel.
  3. For the SDK Location in the main panel, click Browse... and locate the SDK directory.
  4. Click Apply , then OK .

 

8.运行模拟器

在终端输入: sdk_folder/tools/emulator -skin HVGA 等等就会出现OPhone的图标,再就是主界面

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 2
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值