-
自己积累的
自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的自己积累的
- 2022-01-26 00:49:53下载
- 积分:1
-
SurfaceView浅析
浅析系统封装的vedioView实现原理,自定义view继承自surfaceView
- 2022-04-14 15:56:53下载
- 积分:1
-
使用USB数据线连接PC端和Android端进行数据的交互.zip
android 与pc端socket通讯实例
- 2021-09-18 00:31:01下载
- 积分:1
-
AsyncTask异步下载
使用AsyncTask异步下载网络图片demo。。里面包括对AsyncTask类的继承实现,重写三个方法 分别为:onpreExecute() DoInBackground() onPostExecute()
- 2022-08-03 21:26:38下载
- 积分:1
-
Andriod备忘录
开发一款简单的备忘录,里面有日历、闹钟的提醒且有铃声!!每个界面都有背景!
- 2022-03-22 00:56:27下载
- 积分: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
-
QQ-for-Android
android客户端仿QQ源代码,包括Client、Server和SQL执行语句(在SQl server中执行就可以),主要实现了一对一、一对多聊天(android client imitation QQ source code, including the Client, Server, and SQL statement is executed (SQl server), the main achievement of the one-to-one, one-to-many chat)
- 2013-04-02 18:42:56下载
- 积分:1
-
finalassignment
android 移动应用系统设计
1、最后提交两部分内容
a. 对一个功能的实现+实验报告(该项作为平时作业成绩)
- 可以选择上课中所演示的任意功能,截图完成实验报告
- 需要提交程序 + 3-5页的实验报告
b. 从以下网址下载一个app源码,或者其它地方的源码,对代码进行详细解析(该项作为期末课程考核成绩)
- 推荐下载网址为:http://www.devstore.cn/code/list/pn1-or0.html
- 需要提交下载的源码,和对该源码实现的分析报告,不少于8页
2、将所有内容按下面两个目录进行存放,打包以“学号+姓名” 命名,上传到作业ftp
- 实验
- 课程综合(android mobile application system design 1, the final submission of two parts a test report achieve+ a function (such as the usual job performance)- You can any function demonstrated in class, theme complete test report- to be submitted program+ Experimental report b 3-5 pages downloaded the following URL an app source code, or elsewhere source, detailed analysis of the code (such as the end of course examination results)- Recommended download site at: http: //www.devstore .cn/code/list/pn1-or0.html- to submit to download the source code, and analysis of the source code to achieve, at least 8 2, all the content stored in the following two directories, packed to " learn No.+ name " name, upload to job ftp- Experiment- Integrated Course)
- 2015-11-17 10:36:12下载
- 积分:1
-
WiFiDirectServiceDiscovery
WIFI直接的客户端,和服务端配合使用,Android4.0以后的功能,需要硬件的支持(WIFI Direct client and server with the use, Android4.0 later feature, you need hardware support)
- 2013-08-28 10:33:43下载
- 积分:1
-
android Gallery实现异步加载网络图片实例完整源码下载(亲测通过)
android Gallery实现异步加载网络图片实例完整源码下载(亲测通过)
- 2014-05-14下载
- 积分:1