当前位置:  编程技术>移动开发
本页文章导读:
    ▪增添jar包到项目中去        添加jar包到项目中去   先在项目中新建一个名为“lib”的文件夹   将你的jar包复制进这个文件夹   然后右键项目-》Build Path -》 Add External archivals  找到你刚才添加到lib中的jar文件即可 也可.........
    ▪ 代码中设立布局属性        代码中设置布局属性 RelativeLayout.LayoutParams rl=new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);rl.setMargins(30,0,0,0);button.setLayoutParams(rl); ......
    ▪ Titanium Mobile SDK 2.0.1 提早发布       Titanium Mobile SDK 2.0.1 提前发布 http://developer.appcelerator.com/blog/2012/04/titanium-mobile-sdk-2-0-1-is-available-now.htmlBrace yourselves, Titanium fans. The latest helping of Titanium goodness, is now available hot off the update serv.........

[1]增添jar包到项目中去
    来源: 互联网  发布时间: 2014-02-18
添加jar包到项目中去

 

先在项目中新建一个名为“lib”的文件夹

 

将你的jar包复制进这个文件夹

 

然后右键项目-》Build Path -》 Add External archivals  找到你刚才添加到lib中的jar文件即可

也可以

右键项目-》Resource-》Java Builder Path-》Libraries选项卡-》Add JARs

 

 

添加系统版本的方法是:

右键项目-》Properties-》Resource-》Android

 

 

 


    
[2] 代码中设立布局属性
    来源: 互联网  发布时间: 2014-02-18
代码中设置布局属性
RelativeLayout.LayoutParams rl=new RelativeLayout.LayoutParams(RelativeLayout.LayoutParams.WRAP_CONTENT,RelativeLayout.LayoutParams.WRAP_CONTENT);

rl.setMargins(30,0,0,0);

button.setLayoutParams(rl);

    
[3] Titanium Mobile SDK 2.0.1 提早发布
    来源: 互联网  发布时间: 2014-02-18
Titanium Mobile SDK 2.0.1 提前发布
http://developer.appcelerator.com/blog/2012/04/titanium-mobile-sdk-2-0-1-is-available-now.html

Brace yourselves, Titanium fans. The latest helping of Titanium goodness, is now available hot off the update servers.

Titanium Mobile SDK 2.0.1 is now available.

We’ve been working on this feature release for last few months and I’m sure that you’ll find this release as exciting as I do.

Titanium Mobile SDK 2.0.1 builds on the strengths of Release 1.8, adding numerous new features, improving parity across different platforms and addressing over 700 issues. This release takes the Titanium platform to the next level but I will let you be the judge.

Highlights of the SDK 2.0.1 feature set include:
  • Integration with Appcelerator Cloud Services (formerly CocoaFish) to cloud-enable Titanium applications.
  • Mobile Web (formerly HTML5 platform) release candidate.
  • New Titanium Documentation Site with much improved documentation and examples
  • Composite layouts to address UI parity issues across different platforms. A migration guide is available to help you migrate your applications.
  • Well-defined module API for module developers.
  • More flexible geolocation functionality.
  • Xcode 4.3 and iOS 5.1 support.
  • Android V8 – Better memory management
  • Android r19 toolset support


We also processed quite a few community pull requests for this release. We appreciate the effort and commitment from our wonderful community and this release would not have been possible without your support.

Read the Release Notes for additional details on all improvements available in this release.

For More Information
For more information, you may view the related API Documentation: Titanium Mobile SDK 2.0.1 API docs.

    
最新技术文章:
▪Android开发之登录验证实例教程
▪Android开发之注册登录方法示例
▪Android获取手机SIM卡运营商信息的方法
▪Android实现将已发送的短信写入短信数据库的...
▪Android发送短信功能代码
▪Android根据电话号码获得联系人头像实例代码
▪Android中GPS定位的用法实例
▪Android实现退出时关闭所有Activity的方法
▪Android实现文件的分割和组装
▪Android录音应用实例教程
▪Android双击返回键退出程序的实现方法
▪Android实现侦听电池状态显示、电量及充电动...
▪Android获取当前已连接的wifi信号强度的方法
▪Android实现动态显示或隐藏密码输入框的内容
▪根据USER-AGENT判断手机类型并跳转到相应的app...
▪Android Touch事件分发过程详解
▪Android中实现为TextView添加多个可点击的文本
▪Android程序设计之AIDL实例详解
▪Android显式启动与隐式启动Activity的区别介绍
▪Android按钮单击事件的四种常用写法总结
▪Android消息处理机制Looper和Handler详解
▪Android实现Back功能代码片段总结
▪Android实用的代码片段 常用代码总结
▪Android实现弹出键盘的方法
▪Android中通过view方式获取当前Activity的屏幕截...
▪Android提高之自定义Menu(TabMenu)实现方法
▪Android提高之多方向抽屉实现方法
▪Android提高之MediaPlayer播放网络音频的实现方法...
▪Android提高之MediaPlayer播放网络视频的实现方法...
▪Android提高之手游转电视游戏的模拟操控
 


站内导航:


特别声明:169IT网站部分信息来自互联网,如果侵犯您的权利,请及时告知,本站将立即删除!

©2012-2021,,E-mail:www_#163.com(请将#改为@)

浙ICP备11055608号-3