机器人 小姜饼 上开发 网络电话
来源:互联网 发布:java 读取命令行参数 编辑:程序博客网 时间:2024/05/06 15:09
developing voip/sip applications on android gingerbread.
- develop an sip application.
- in AndroidManifest.xml, add permission requests as following,
<uses-permission android:name="android.permission.INTERNET"></users-permission>
<uses-permission android:name="android.permission.USE_SIP"></users-permission> - use SipManager. check SipManager.isVoipSupported() (isApiSupported() is encluded) or SipManager.newInstance(this).
- in AndroidManifest.xml, add permission requests as following,
- enable sip in emulator. (according to http://xilard.hu)
- download system.img for SDK 2.3.3/API 10 from http://xilard.hu/emulator233_sip_files/system.img
- the following steps should work, too. but in my experience, system.img was not saved, maybe because system.img is in SDK's directory, but not in AVD's, so all the modifications are useless.
- in eclipse, menu Run->Run Configurations..., add following Additional Emulator Command Line Options in Target tab, or, you will not be able to add anything to avd's /system,
-partition-size 128 - run the application in eclipse with emulator
- adb remount
- enter frameworks/base/data/etc of gingerbread
- adb push android.software.sip.xm /system/etc/permissions
- adb push android.software.sip.voip.xm /system/etc/permissions
- disable config_sip_wifi_only in config.xml, and repack resource file. or download the result for SDK 2.3.3/API 10 from http://xilard.hu/emulator233_sip_files/framework-res.apk.
- adb push framework-res.apk /system/framework
- turn the emulator off
- enable sip in sdk
- in device of gingerbread, there is usually a mk file configuring product information. it calls product/generic.mk. use following line to add one of the two xml files to system.img
PRODUCT_COPY_FILES += frameworks/base/data/etc/android.software.sip.xml:system/etc/permissions/a ndroid.software.sip.xml - when running gingerbread, just use adb to remount and push the two xml files to the phone
- in device of gingerbread, there is usually a mk file configuring product information. it calls product/generic.mk. use following line to add one of the two xml files to system.img
- 机器人 小姜饼 上开发 网络电话
- java 开发小i机器人
- [网络电话]Android CSipSimple开发实例
- [网络电话]Android Linphone开发实例
- 网络电话
- UCskype网络电话软件定制和开发
- 微信公众平台开发(84) 小i机器人
- 编译在N1(G5, Passion)上运行的姜饼(GingerBread,Android 2.3)代码
- 网络电话是如何实现打到普通话机上的?
- voip 网络电话 sipdroid 的移植上出现的问题
- 小i机器人
- 小I机器人初探
- C语言小机器人
- C语言小机器人
- 小Q聊天机器人
- 关于任务栏上android模拟器的小机器人图标不显示的问题的解决
- Eclipse工具栏上android的机器人小图标和adt图片的显示
- ios 网络电话开发 (Voip Client For iPhone )
- C#,ASP.NET,数据库面试题
- 根据成员变量地址推算出结构体变量地址
- ASP.NET 结合AJAX 用户名验证
- android 横竖屏切换 分辨率大小设置的模拟器
- [其他] 程序员的七大坏毛病
- 机器人 小姜饼 上开发 网络电话
- JS的trim()方法
- Visual Studio 2008 App_Code中的类没有智能提示
- Linux Kernel Makefiles
- Android 中下载文件到sdcard和进度条小结
- Apache+Resion+(windows[xp] | Linux[debian6.0.1])
- getAttribute获取属性值
- 状态机之C++解析
- WF4教程第一弹