-
AndBase开发各种功能
AndBase开发各种功能
- 2015-06-02下载
- 积分:1
-
odnnw
介绍mimo比较经典的一篇文章主要详细的介绍了空间分集,时空编码等比较适合于初学者来学()
- 2018-02-01 12:00:50下载
- 积分:1
-
Android.Application.Testing.Guide
android测试,英文版的,写的很基础(for android test)
- 2013-09-22 12:28:52下载
- 积分:1
-
IAR FOR AVR
【实例简介】
- 2021-08-06 00:30:55下载
- 积分:1
-
longdi
Android应用源码技术成熟的隆笛音乐播放器是一款音乐播放器源码,应该说这个播放器太强大了,功能很多我的音乐、我的最爱、文件夹、查看歌手、查看专辑等等。
本项目UI设计的也很炫,可以换肤想设置哪种就设置哪种,项目中使用了现在特别火的slidemenu滑动效果和fragment。
项目中设置时间这一项感觉特别人性化可以在睡觉之前设置一下。可以扫描本地歌词,可以摇一摇换歌,可以自动下载歌词。(Android application source code technology mature lung flute music player is a music player source code, should say the player is too strong, the function a lot of my music, my favorite, folder, view artist, album view and so on.
The UI design is also very Hyun, skin to which settings set which, the project used now special fire slidemenu sliding effects and the fragment.
Items in the setting time this feeling is particularly humane can be set before going to bed. Can scan the local lyrics, you can shake a shake to change songs, you can automatically download the lyrics.)
- 2016-05-21 17:58:05下载
- 积分:1
-
仿IOS 对话框
package com.zf.iosdialog.widget;import android.app.Dialog;import android.content.Context;import android.view.Display;import android.view.LayoutInflater;import android.view.View;import android.view.View.OnClickListener;import android.view.WindowManager;import android.widget.Button;import android.widget.FrameLayout;import android.widget.ImageView;import android.widget.LinearLayout;import android.widget.LinearLayout.LayoutParams;import android.widget.TextView;import com.zf.iosdialog.R;public class AlertDialog {private Context context;private Dialog dialog;private LinearLayout lLayout_bg;private TextView txt_title;private TextView txt_msg;private Button btn_neg;private Button btn_pos;private ImageView img_line;private Display display;private boolean showTitle = false;private boolean showMsg = false;private boolean showPosBtn = false;private boolean showNegBtn = false;public AlertDialog(Context context) {this.context = context;WindowManager windowManager = (WindowManager) context.getSystemService(Context.WINDOW_SERVICE);display = windowManager.getDefaultDisplay();}public AlertDialog builder() {// 获取Dialog布局View view = LayoutInflater.from(context).inflate(R.layout.view_alertdialog, null);// 获取自定义Dialog布局中的控件lLayout_bg = (LinearLayout) view.findViewById(R.id.lLayout_bg);txt_title = (TextView) view.findViewById(R.id.txt_title);txt_title.setVisibility(View.GONE);txt_msg = (TextView) view.findViewById(R.id.txt_msg);txt_msg.setVisibility(View.GONE);btn_neg = (Button) view.findViewById(R.id.btn_neg);btn_neg.setVisibility(View.GONE);btn_pos = (Button) view.findViewById(R.id.btn_pos);btn_pos.setVisibility(View.GONE);img_line = (ImageView) view.findViewById(R.id.img_line);img_line.setVisibility(View.GONE);// 定义Dialog布局和参数dialog = new Dialog(context, R.style.AlertDialogStyle);dialog.setContentView(view);// 调整dialog背景大小lLayout_bg.setLayoutParams(new FrameLayout.LayoutParams((int) (display.getWidth() * 0.85), LayoutParams.WRAP_CONTENT));return this;}public AlertDialog setTitle(String title) {showTitle = true;if ("".equals(title)) {txt_title.setText("标题");} else {txt_title.setText(title);}return this;}public AlertDialog setMsg(String msg) {showMsg = true;if ("".equals(msg)) {txt_msg.setText("内容");} else {txt_msg.setText(msg);}return this;}public AlertDialog setCancelable(boolean cancel) {dialog.setCancelable(cancel);return this;}public AlertDialog setPositiveButton(String text,final OnClickListener listener) {showPosBtn = true;if ("".equals(text)) {btn_pos.setText("确定");} else {btn_pos.setText(text);}btn_pos.setOnClickListener(new OnClickListener() {@Overridepublic void onClick(View v) {listener.onClick(v);dialog.dismiss();}});return this;}public AlertDialog setNegativeButton(String text,final OnClickListener listener) {showNegBtn = true;if ("".equals(text)) {btn_neg.setText("取消");} else {btn_neg.setText(text);}btn_neg.setOnClickListener(new OnClickListener() {@Overridepublic void onClick(View v) {listener.onClick(v);dialog.dismiss();}});return this;}private void setLayout() {if (!showTitle && !showMsg) {txt_title.setText("提示");txt_title.setVisibility(View.VISIBLE);}if (showTitle) {txt_title.setVisibility(View.VISIBLE);}if (showMsg) {txt_msg.setVisibility(View.VISIBLE);}if (!showPosBtn && !showNegBtn) {btn_pos.setText("确定");btn_pos.setVisibility(View.VISIBLE);btn_pos.setBackgroundResource(R.drawable.alertdialog_single_selector);btn_pos.setOnClickListener(new OnClickListener() {@Overridepublic void onClick(View v) {dialog.dismiss();}});}if (showPosBtn && showNegBtn) {btn_pos.setVisibility(View.VISIBLE);btn_pos.setBackgroundResource(R.drawable.alertdialog_right_selector);btn_neg.setVisibility(View.VISIBLE);btn_neg.setBackgroundResource(R.drawable.alertdialog_left_selector);img_line.setVisibility(View.VISIBLE);}if (showPosBtn && !showNegBtn) {btn_pos.setVisibility(View.VISIBLE);btn_pos.setBackgroundResource(R.drawable.alertdialog_single_selector);}if (!showPosBtn && showNegBtn) {btn_neg.setVisibility(View.VISIBLE);btn_neg.setBackgroundResource(R.drawable.alertdialog_single_selector);}}public void show() {setLayout();dialog.show();}}
- 2015-01-03下载
- 积分:1
-
wallah午餐
这个应用程序将允许您浏览我们的菜单 (每天旋转菜单),还将允许您下订单。从他们的工作区,它将订购午餐帮助学生和在职人士。它允许您快速规划您的每日三餐。功能·午餐服务提供午餐和晚餐服务非常实惠的价格。·订单通过应用 (只是 3 水龙头到订单来源于当地的午餐和晚餐)。·功能听命于访客角色。·跟踪订单。·取消订单·通过查看 day-wise 菜单下订单。·货到付款·订单确认通知。·直接与送货员进行交互。·每月比尔代·精简的订单管理。·保存每日和每周膳食计划供以后使用·交货快捷 (平均 20 分钟,在你微笑的午餐将在你家门口与您的订单。请记住,是已经是包括小费 !)
- 2022-07-19 18:47:12下载
- 积分:1
-
使用USB数据线连接PC端和Android端进行数据的交互.zip
android 与pc端socket通讯实例
- 2021-09-18 00:31:01下载
- 积分:1
-
Android 所有Sensor 读取测试案例
应用背景Android 所有的Sensor的注册,打开,读取关键技术
Android API 的使用
Android Sensor 服务的使用
- 2022-02-04 11:48:22下载
- 积分:1
-
Bregman算法
Bregman算法的原理,非常详尽的解释
- 2020-05-26下载
- 积分:1