登录
首页 » Java » Android SurfaceView 实例源码

Android SurfaceView 实例源码

于 2013-05-23 发布
0 84
下载积分: 1 下载次数: 0

代码说明:

其中实现了一个图片在屏幕缓缓移动的效果

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • android SDK 离线版chm文档下载(含大量示例)
    http://developer.android.com/ 打不开怎么办, 用android sdk离线版chm文档 查阅相关资料吧
    2015-05-04下载
    积分:1
  • android 判断双SD卡_CheckDoubleSDCard 例子源码
    android 判断双SD卡_CheckDoubleSDCard 例子源码
    2014-10-01下载
    积分:1
  • 安卓医院预约系统+ 服务端(不含sql脚本)
    这例子子就是安卓医院预约系统 加 服务端,可以用来大家学习安卓的开发的一个方向本项目是一个简单的医院挂号项目源码,实现了病人在安卓手机上登录、注册、挂号、查看医生信息等功能。实现原理是app端与web服务端做交互,然后web服务端再去调用mysql数据库里面的内容,维护mysql数据内容的时候直接在web服务端进行维护本项目暂时没有数据库,只有j2ee服务端源码和安卓客户端源码,所以只能给大家截两个登录注册的图,如果想看其他界面效果的话可以自己根据服务端srccomhospital下的model层里面的字段建表,我看了一下工程量也不大,就四个表,几个字段。有mysql或者mssql基础的人真想弄的话半小时内肯定可以把表建起来。时间有限我就不给大家弄数据库这一块了,感兴趣的朋友可以自己下载看一下。
    2020-12-03下载
    积分:1
  • android 下载网络图片 实例源码
    通过链接下载图片
    2015-01-23下载
    积分:1
  • android 异步加载资源示例源码下载
    android 异步加载资源示例源码下载
    2014-02-09下载
    积分:1
  • android高仿微信布动态(选择图片)
    Android 超高仿微信图片选择器
    2015-06-13下载
    积分:1
  • Android Intent实例
    Android Intent开发实例 核心代码:package com.amaker.ch06.app;import com.amaker.ch06.app.R;import android.app.Activity;import android.content.Intent;import android.os.Bundle;import android.view.View;import android.view.View.OnClickListener;import android.widget.Button;import android.widget.EditText;/** * @author 郭宏志 * 发送Email */public class MainActivity extends Activity { // 声明视图组件 private EditText toEditText,subjectEditText,contentEditText; private Button sendBtn; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); // 实例化视图组件 toEditText = (EditText)findViewById(R.id.toEditText01); subjectEditText = (EditText)findViewById(R.id.subjectEditText01); contentEditText = (EditText)findViewById(R.id.contentEditText01); sendBtn = (Button)findViewById(R.id.sendButton01); // 为按钮添加单击监听器 sendBtn.setOnClickListener(listener); } // 发送按钮单击监听器 private OnClickListener listener = new OnClickListener() { @Override public void onClick(View v) { // 获得输入信息 String to = toEditText.getText().toString(); String subject = subjectEditText.getText().toString(); String content = contentEditText.getText().toString(); // 创建Intent Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); // 设置内容类型 emailIntent.setType("plain/text"); // 设置额外信息 emailIntent.putExtra(android.content.Intent.EXTRA_EMAIL, new String[]{to}); emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, subject); emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, content); startActivity(Intent.createChooser(emailIntent, "发送邮件...")); } };}
    2014-11-24下载
    积分:1
  • android联系人带字母检索源码
    android联系人带字母检索源码/** * 联系人列表适配器。 * * @author guolin */public class ContactAdapter extends ArrayAdapter { /** * 需要渲染的item布局文件 */ private int resource; /** * 字母表分组工具 */ private SectionIndexer mIndexer; public ContactAdapter(Context context, int textViewResourceId, List objects) { super(context, textViewResourceId, objects); resource = textViewResourceId; } @Override public View getView(int position, View convertView, ViewGroup parent) { Contact contact = getItem(position); LinearLayout layout = null; if (convertView == null) { layout = (LinearLayout) LayoutInflater.from(getContext()).inflate(resource, null); } else { layout = (LinearLayout) convertView; } TextView name = (TextView) layout.findViewById(R.id.name); LinearLayout sortKeyLayout = (LinearLayout) layout.findViewById(R.id.sort_key_layout); TextView sortKey = (TextView) layout.findViewById(R.id.sort_key); name.setText(contact.getName()); int section = mIndexer.getSectionForPosition(position); if (position == mIndexer.getPositionForSection(section)) { sortKey.setText(contact.getSortKey()); sortKeyLayout.setVisibility(View.VISIBLE); } else { sortKeyLayout.setVisibility(View.GONE); } return layout; } /** * 给当前适配器传入一个分组工具。 * * @param indexer */ public void setIndexer(SectionIndexer indexer) { mIndexer = indexer; }}
    2014-04-13下载
    积分:1
  • android VideoCamera 摄像机实例源码下载
    android VideoCamera 摄像机实例源码下载
    2014-03-03下载
    积分:1
  • android 控制LED灯以及门禁关例子(智能家居)
    android 控制LED灯以及门禁开关例子(智能家居)
    2015-08-11下载
    积分:1
  • 696524资源总数
  • 103990会员总数
  • 18今日下载