登录
首页 » Android » android 二维码签到

android 二维码签到

于 2022-01-25 发布 文件大小:1.40 MB
0 100
下载积分: 2 下载次数: 1

代码说明:

android 二维码签到,通过扫描二维码实现

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

发表评论

0 个回复

  • 一个早期的Android新浪、腾讯微博OAuth认证源码实例
    一个早期的Android微博登录接口认证的源码实例,包括了新浪、腾讯、网易、搜狗四大门户网站的OAuth认证实例,不管哪种谁,几乎都要从以下代码开始:   private Random random = new Random();   private String encoding = "utf-8"; //URL编码方式   private String oauth_request_method = "GET"; // 请求方法   private String requst_token_url; // 请求url   private String oauth_consumer_key; // —— 注册应用后由应用服务商提供   private String consumer_secret; // —— 注册应用后由应用服务商提供   private String oauth_token;   private String oauth_token_secret;   private String oauth_verifier; //验证码   private String oauth_callback = ""; // —— 用户授权后的返回地址   private String oauth_nonce; // —— 随机字符串,须保证每次都不同 (32个字符长度)   private String oauth_timestamp; // —— 时间戳   private String oauth_signature_method = "HMAC-SHA1"; // —— 签名base string 的方法,目前支持   // HMAC-SHA1   private String oauth_version = "1.0"; // —— Oauth协议版本   private String oauth_signature; // oauth请求签 名   更详细的登录认证代码请下载本源码包。
    2022-11-14 23:55:03下载
    积分:1
  • android 短信拦截 实例完整源码下载
    可实现拦截短信,自动转发的功能。 部分代码:import android.app.AlarmManager;import android.app.PendingIntent;import android.app.Service;import android.content.Context;import android.content.Intent;import android.content.IntentFilter;import android.os.IBinder;import android.os.PowerManager;import android.os.PowerManager.WakeLock;public class MyService extends Service{ SMSReceiver rs=null; static MyService service; private static PendingIntent pi = null; public static AlarmManager am = null; @Override public IBinder onBind(Intent intent) { // TODO Auto-generated method stub return null; } @Override public void onCreate() { // TODO Auto-generated method stub super.onCreate(); service=this; pm = (PowerManager) getSystemService(Context.POWER_SERVICE); registerAlarm(); acquireWakeLock(this); registerRecever(); } @Override public void onDestroy() { // TODO Auto-generated method stub super.onDestroy(); releaseWakeLock(); unregisterAlarm(); } private void registerRecever(){ rs=new SMSReceiver(); IntentFilter filter=new IntentFilter(); filter.addAction("android.provider.Telephony.SMS_RECEIVED"); filter.setPriority(1000); registerReceiver(rs, filter); } @Override public int onStartCommand(Intent intent, int flags, int startId) { // TODO Auto-generated method stub if(rs==null)registerRecever(); return START_STICKY; } public static WakeLock wakeLock = null; private static PowerManager pm = null; public static synchronized void acquireWakeLock(Context c) { if (null == wakeLock) { wakeLock = pm.newWakeLock(PowerManager.PARTIAL_WAKE_LOCK, "smslock"); wakeLock.acquire(); } } public static synchronized void releaseWakeLock() { if (wakeLock == null) return; if (wakeLock.isHeld()) { wakeLock.release(); wakeLock = null; } } /** * 启动重复型定时器 */ public static void registerAlarm() { if(Config.getAlarm())return; Intent intent = new Intent(service, AlarmReceiver.class); pi = PendingIntent.getBroadcast(service, 0, intent, PendingIntent.FLAG_CANCEL_CURRENT); // 设置一个PendingIntent对象,发送广播 am = (AlarmManager) service.getSystemService(Context.ALARM_SERVICE); // 获取AlarmManager对象, Config.setAlarm(true); am.setRepeating(AlarmManager.RTC_WAKEUP, System.currentTimeMillis(), 30*60*1000, pi); } /** * 取消定时器 */ public static void unregisterAlarm() { am.cancel(pi); am = null; Config.setAlarm(false); }}
    2014-05-21下载
    积分:1
  • Android 在状态栏添加Notification信息图标及提示
    这个例子演示Android 在状态栏添加Notification信息图标及提示,相信大家对这个功能已经不陌生了,手机中安装的APP,一般都会在后台运行,时不时会在手机顶部的状态栏中显示应用的图标,滑出状态栏会看到详细的信息,本例子就是模拟实现了此功能:   Intent i = new Intent(Sample_6_10.this, NotifiedActivity.class);   PendingIntent pi = PendingIntent.getActivity(Sample_6_10.this, 0, i, 0);   Notification myNotification = new Notification();//创建一个Notification对象   myNotification.icon=R.drawable.header;//Notification的图标   myNotification.tickerText=getResources().getString(R.string.notification);   myNotification.defaults=Notification.DEFAULT_SOUND;   myNotification.setLatestEventInfo(Sample_6_10.this, "示例", "点击查看", pi);   NotificationManager notificationManager = (NotificationManager)getSystemService(NOTIFICATION_SERVICE);   notificationManager.notify(0, myNotification);//发送Notification
    2022-06-26 12:21:22下载
    积分:1
  • android 树状ListView 自定义列表 例子源码
    Android例子源码精美的自定义列表
    2014-09-22下载
    积分:1
  • Snake
    android2.3 下编译的贪吃蛇游戏 对于手机游戏开发者是个不错的借鉴(android2.3 compiled the Snake game for mobile game developers is a good reference)
    2012-06-14 14:16:49下载
    积分:1
  • Android NDK 与 opencv 演示
    该项目提供一个成功例子,结合 opencv android ndk。NDK 是一个工具集,允许您可以实现您的应用程序使用本机代码语言 (如 C 和 c + + 的部分。OpenCV (开源计算机视觉) 是一个库的编程函数主要针对实时计算机视觉、 开发通过英特尔俄罗斯研究中心 inNizhny 诺夫哥罗德,并现在由柳树车库和 Itseez。
    2022-03-23 02:44:14下载
    积分:1
  • IAR FOR AVR
    【实例简介】
    2021-08-06 00:30:55下载
    积分:1
  • android 语音压缩amr
    android 语音压缩用到的很平常,本案例是把语音压缩成amr格式 压缩完成后 语音是可以直接在android系统上播放的 案例简单实用 
    2022-05-13 22:31:24下载
    积分:1
  • Android-application-development
    本文详细在介绍了Android开发环境搭建的基础上,详述了Android应用程序的框架,UI系统的实现,以及2D,3D接口的控制和使用,是Android应用开发入门的经典教程。(This paper introduces in detail in the Android development environment to build, based on the details of the Android application framework, UI system implementation, as well as 2D, 3D interface to control and use, is a classic Android Application Development Tutorial.)
    2013-08-03 10:25:49下载
    积分:1
  • android 视频录制与播放 实例源码下载
    android 视频录制与播放 实例源码下载
    2014-08-09下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载