导入SDK sample中的范例

<!-- /* Font Definitions */ @font-face {font-family:"MS 明朝"; panose-1:2 2 6 9 4 2 5 8 3 4; mso-font-alt:"MS Mincho"; mso-font-charset:128; mso-generic-font-family:roman; mso-font-pitch:fixed; mso-font-signature:-536870145 1791491579 18 0 131231 0;} @font-face {font-family:SimSun; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-alt:宋体; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} @font-face {font-family:"MS ゴシック"; panose-1:2 11 6 9 7 2 5 8 2 4; mso-font-alt:"MS Gothic"; mso-font-charset:128; mso-generic-font-family:modern; mso-font-pitch:fixed; mso-font-signature:-536870145 1791491579 18 0 131231 0;} @font-face {font-family:Century; panose-1:2 4 6 4 5 5 5 2 3 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:647 0 0 0 159 0;} @font-face {font-family:"/@MS ゴシック"; panose-1:2 11 6 9 7 2 5 8 2 4; mso-font-charset:128; mso-generic-font-family:modern; mso-font-pitch:fixed; mso-font-signature:-536870145 1791491579 18 0 131231 0;} @font-face {font-family:"/@MS 明朝"; panose-1:2 2 6 9 4 2 5 8 3 4; mso-font-charset:128; mso-generic-font-family:roman; mso-font-pitch:fixed; mso-font-signature:-536870145 1791491579 18 0 131231 0;} @font-face {font-family:"/@SimSun"; panose-1:2 1 6 0 3 1 1 1 1 1; mso-font-charset:134; mso-generic-font-family:auto; mso-font-pitch:variable; mso-font-signature:3 135135232 16 0 262145 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:0mm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; mso-pagination:none; font-size:10.5pt; mso-bidi-font-size:12.0pt; font-family:Century; mso-fareast-font-family:"MS 明朝"; mso-bidi-font-family:"Times New Roman"; mso-font-kerning:1.0pt;} h1 {mso-style-next:標準; margin:0mm; margin-bottom:.0001pt; text-align:justify; text-justify:inter-ideograph; mso-pagination:none; page-break-after:avoid; mso-outline-level:1; font-size:12.0pt; font-family:Arial; mso-fareast-font-family:"MS ゴシック"; mso-bidi-font-family:"Times New Roman"; mso-font-kerning:1.0pt; font-weight:normal;} /* Page Definitions */ @page {mso-page-border-surround-header:no; mso-page-border-surround-footer:no;} @page Section1 {size:612.0pt 792.0pt; margin:99.25pt 30.0mm 30.0mm 30.0mm; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:1874688674; mso-list-type:hybrid; mso-list-template-ids:-1604931022 160210310 67698711 67698705 67698703 67698711 67698705 67698703 67698711 67698705;} @list l0:level1 {mso-level-text:%1,; mso-level-tab-stop:18.0pt; mso-level-number-position:left; margin-left:18.0pt; text-indent:-18.0pt; mso-fareast-font-family:"MS 明朝";} ol {margin-bottom:0mm;} ul {margin-bottom:0mm;} -->

如何 SDK sample 的范例

方法一 :

1, 打开 Eclipse

2 File -> New -> Android Project
3
,到了 “New Android Project” 面板,勾上 “Create project from existing sample”,Browser 选择 sdk 下的 sample 中的例子

方法二 :

很多学 android 的朋友都想看看安装目 里面 sample 的效果 , 但是使用 file-->import ... 选择 root directory 下面的 project 没有 选择 . 试试这样 :File-->new-->android project --> 选择 create project from existing source ...--> 选择 , 如果目 录选择 Build target 没有 选择 , 自己勾 一下 -->finish,1.5 sdk 一般 会自 build target , 入后也不会有什么 问题 , 担不是 1.5 , 然后 build target 选择 的是 1.5 , 来后 ,src 的包里面会有一个 R.java 文件 ,gen 下面也有一个 R.java 文件 , , 除掉 src 的包里面的那个 R.java 文件就可以了 ,1.0 版本的一些功能 1.5 不支持 , 比如 Phone,1.0 Phone , 里面有挂掉 电话 的方法 , 1.0 以上的版本不支持 个了 , 种情况的 就用 1.0 target ...

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值