-
自定义控件实现视差滚动
应用背景有对页面视图有视差滚动要求的app和对视差滚动有幅度变更需求的app关键技术自定义控件继承scrollview更改滚动方式实现双层滚动时实现视差滚动效果
- 2022-09-25 22:35:03下载
- 积分:1
-
棋游戏
它是一个简单的项目,为 android 手机开发。它是一个简单的游戏,叫井字游戏,这是全球各地很受欢迎。此应用程序是在 Eclipse 环境中开发的。您也可以使用 Android 的工作室或任何其他 android 开发工具。
- 2022-12-29 15:10:03下载
- 积分:1
-
android xmpp 即时聊天
应用背景Extensible Messaging and Presence Protocol(XMPP)——可扩展消息与表示协议, 是由Jabber 开源社区贡献的一个基于XML的通信协议,它是被广泛应用的四大即时通信协议之一。Google 的即时通信软件GTalk 就是基于XMPP协议的。这次Google 推出Android,当然不会忘记XMPP,为它编写了相应的API 和Demo,现在就让我们从Google提供的Demo开始,一步步了解Android上的XMPP应用。关键技术
import java.io.BufferedInputStream;
import java.io.BufferedReader;
import java.io.ByteArrayInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Lis
- 2022-06-03 08:16:58下载
- 积分:1
-
AbstractGet
Abstract Google Source Result for Andriod.
- 2013-10-04 10:17:29下载
- 积分:1
-
仿微信图片轮播
用ViewGroup实现的图片轮播,带小圆点,图片轮播时,小圆点跟着滑动播放。放在srollview里会有点卡,这主要是由于要做触摸方向的判断,可以对scrollview稍做改动即可!
- 2022-03-23 15:59:18下载
- 积分:1
-
商城Android项目源码仿淘宝安卓客户端源码
商城Android项目源码仿淘宝安卓客户端源码
- 2019-11-21下载
- 积分:1
-
andriod滚轮选择生日 例子源码下载
andriod滚轮选择生日 例子源码下载
- 2015-04-21下载
- 积分:1
-
Android: 自定义对话框
翻译 maninwest@Codeforge 作者:Satyam A.@CodeProject这里介绍如何在安卓中创建自定义对话框并从中获得结果。背景对话框主要是个弹出框。你可以用对话框请用户确认一个操作/通知一个事件或者提示用户信息。 由于对话框会打断 UI 流,所以,你在没有办法的情况下才可选择对话框。在很多情况下,你可以将确认等直接集成到 app.使用代码Dialog 是创建对话框的基本类。 创建一个如下项目:ProjectName: CustomDialogBox PackageName: sat.tuts4mobile.customdialogbox ActivityName: CustomDialogActivity 在 CustomDialogActivity.java 文件中,复制以下代码: package sat.tuts4mobile.customdialogbox;
import android.app.Activity;
import android.app.Dialog;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.view.Window;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;
public class CustomDialogActivity extends Activity {
Button butt
- 2022-04-19 22:36:31下载
- 积分:1
-
远程视频监控
【核心代码】 public interface CameraSource { static final String LOG_TAG = "camera"; /** * Open the camera source for subsequent use via calls to capture(). * * @return true if the camera source was successfully opened. */ boolean open(); /** * Close the camera source. Calling close on a closed CameraSource is * permitted but has no effect. The camera source may be reopened after * being closed. */ void close(); /** * The width of the captured image. * * @return the width of the capture in pixels */ int getWidth(); /** * The height of the captured image. * * @return the height of the capture in pixels */ int getHeight(); /** * Attempts to render the current camera view onto the supplied canvas. * The capture will be rendered into the rectangle (0,0,width,height). * Outstanding transformations on the canvas may alter this. * * @param canvas the canvas to which the captured pixel data will be written * @return true iff a frame was successfully written to the canvas */ boolean capture(Canvas canvas); boolean saveImage(String savePath, String fileName); }
- 2013-12-04下载
- 积分:1
-
Android拍照和相册剪辑上传 例子源码下载
Android拍照和相册剪辑上传 例子源码下载
- 2015-05-08下载
- 积分:1