-
AdvancedPAndroidPDevelopment
详细讲解Andriod程序开发的环境搭建、实战开发;同时也有高级功能。(Explain in detail Andriod application development environment to build, combat development also has advanced features.)
- 2013-07-01 16:27:46下载
- 积分:1
-
android菜单
android界面跳转菜单,完整代码,希望对你们有帮助,主要有三个java文件,对应生成布局页面,菜单页面,所有布局都是对应layout的,所以封装性还好。
public class MyActivity extends Activity {
private LinearLayout home_img_bn_Layout, style_img_bn_layout, cam_img_bn_layout, shopping_img_bn_layout, show_img_bn_layout;
@Override
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLE);
- 2022-02-01 12:26:52下载
- 积分:1
-
android录音amr解码
android录音amr解码,采用jni底层解码、编码的方式会音频进行压缩和解压缩以减小带宽的使用,采用8000 bit_16,单声道
- 2022-04-21 11:29:46下载
- 积分:1
-
AystnPicture
图片同步上传法,内有仔细的标注,利于读者学习(Image sync upload method, with annotations carefully, good for readers to learn)
- 2013-10-14 23:37:21下载
- 积分:1
-
android自动下载功能实现
android中apk自动下载功能的实现,http实现。下载完成之后,Intent intent = new Intent(); 通过intent发起请求,自动打开下载完成之后的apk应用程序。
- 2023-03-03 07:10:04下载
- 积分:1
-
android 4.4 通过拍照、相册 设置头像实例源码下载(亲测通过)
该实例成功解决了 android 4.4 系统 选择照片后 截图失败问题,这是路径取值问题, 详细看代码吧
- 2015-02-13下载
- 积分:1
-
咖啡用勺子 android 工作室项目
这个项目是一个 android 工作室项目,它将用咖啡来做集成测试等和我们也使用勺子插件来做到分布试验。这样你就可以做多重连接设备上的自动测试。
- 2023-01-10 05:40:04下载
- 积分:1
-
Android 简单播放歌曲功能演示
Android 简单播放歌曲功能演示,播放本地音乐,非网络播放,可播放、暂停,运行效果如截图所示,在编写时,要注意以下代码:
int status = 1;//当前的状态,1没有声音播放 ,2 正在播放声音,3暂停
ImageButton start;//播放、暂停按钮
ImageButton stop;//停止按钮
ActivityReceiver activityReceiver;
int status = 1;//当前的状态,1没有声音播放 ,2 正在播放声音,3暂停
public void onCreate(Bundle savedInstanceState) {//重写的onCreate方法
super.onCreate(savedInstanceState);
setContentView(R.layout.main);//设置当前的用户界面
start = (ImageButton) this.findViewById(R.id.start);//得到start的引用
stop = (ImageButton) this.findViewById(R.id.stop);//得到stop按钮的引用
start.setOnClickListener(this);//为按钮添加监听
stop.setOnClickListener(this);//为按钮添加监听
activityReceiver = new ActivityReceiver();//创建BroadcastReceiver
IntentFilter filter = new IntentFilter();//创建IntentFilter过滤器
filter.addAction("wyf.ytl.update");//添加Action
registerReceiver(activityReceiver, filter);//注册监听
Intent intent = new Intent(this, MyService.class);//创建Intent
startService(intent);//启动后台Service
}
- 2023-08-23 12:30:03下载
- 积分:1
-
android speex ogg封装
实现了语音的录制和压缩,通过speex进行编码,用ogg封装,效果不错,问价体积小
- 2022-06-17 06:39:51下载
- 积分:1
-
Android Json省市县三级联动菜单-支持滚动
Android ProvinceDistrict菜单,android 省市区县三级联动菜单,在弹出的选择框中,支持内容列表滚动。盛市、县菜单内容事前存储在文件中,结合JSON当用户选择时,从assert文件夹中读取省市区的json文件,然后转化为json对象,加载对应的区县内容,完成后释放Json对象的内存,实现的步骤:
把全国的省市区的信息以json的格式保存,解析完成后赋值为null
设置,省,市,县,的适配器,进行动态设置其中的值 begin
设置控件点击选择监听
根据当前的省,更新市和地区信息,第三个地址是详细地址,并且是第一次设置edtext值,正好,地址的长度为3的时候,设置详细地址。
不懂的地方,可参见本源码中的注释,非常丰富。
- 2022-03-31 23:41:44下载
- 积分:1