登录
首页 » Android » Android任务管理器源码

Android任务管理器源码

于 2023-07-27 发布 文件大小:166.18 kB
0 142
下载积分: 2 下载次数: 1

代码说明:

高级任务管理器Advanced Task Manager帮你结束程序,加快运行速度,节约电量,功能包括自动结束程序服务、程序间切换、显示内存信息、排除列表、一件结束全部窗口小部件、快速卸载程序。

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

发表评论

0 个回复

  • Android监听读取短信来源和内容
    Android监听读取短信来源和内容,关键性代码如下:for(SmsMessage message:messages){    sb.append("短信来源:")    .append(message.getDisplayOriginatingAddress())    .append(" -------短信内容---------- ")    .append(message.getDisplayMessageBody());   }
    2023-08-19 11:40:04下载
    积分:1
  • 迷你网球
    迷你网球游戏。由 Nguyen Thanh 平阳使用 Java 语言。这是非常简单和基本的。但这对学习游戏编程非常重要。
    2023-04-01 16:20:04下载
    积分:1
  • activity之间的切换
    这是一款适合新手学习和使用的代码,能让你轻松的在各个activity之间进行切换
    2022-10-17 09:45:03下载
    积分:1
  • 基于eclipse的安卓记事本初学者应用
    安卓edit text demo,美观实用,可直接使用,eclipse版本-Android edittext demo, beautiful and practical, can be used directly, eclipse version
    2022-03-05 10:25:01下载
    积分:1
  • A lightweight, well designed metronome app for Android
    Metronome is a lightweight, well designed metronome app for Android focused on offering a consistent and usable design without limiting functionality.
    2018-01-01下载
    积分:1
  • android_capture
    基于android手机的远程视频监控系统 有安卓手机端和pc服务器端 可以通过网络将手机摄像头捕捉到的数据传送到pc端以图片显示(Andrews mobile terminal and PC server-side remote video surveillance system based on android phone through the network to the mobile phone camera to capture the data transfer to the pc end display pictures)
    2013-03-27 18:00:04下载
    积分:1
  • 4013724
    本程序是对V-BLAST系统及其检测算法的仿真,可采用BPSK,QPSK,16QAM,64QAM调制,检测算法为ML,MM(This program is to simulate the V-BLAST system and its detection algorithm, which can be modulated by BPSK,QPSK,16QAM,64QAM, and the detection algorithm is ML,MM.)
    2019-03-28 05:10:23下载
    积分:1
  • 新浪微博分享,腾讯微博分享
    WeiboSDKDemo使用方法 请先熟悉官方文档,虽然其中有一些问题:) 根据文档申请开放平台帐号,特别注意回调地址,这个经常出现错误; 运行Demo前,先确定下载完Demo的所有文件; 然后修改开放平台的AppKey和AppSecret: 新浪微博需要在Constants类中把appkey、appsecret修改成自己应用对应的appkey和appsecret,回调地址不需要修改; 腾讯微博需要修改配置文件,目标文件config.properties在Android_SDK.jar包config文件夹下(我已经改名为TencentWeiboSDK.jar),把appkey、appsecret修改成自己应用对应的appkey和appsecret,这里再次提醒注意回调地址要和网上你填写的一致,别管文档怎么说. 修改完后,clean工程,运行测试吧!下面是我自己的一点总结,如果你有好的建议,请分享下吧~ 新浪微博平台: SSO一直没有测试成功,运行官方DEMO也如此,没有找到解决方法,已经确认是新浪的问题,没有开放大量注册,官方建议先使用老版本SDK ;今天发现新浪更新了文档和jar包,SSO可以正常使用,返回Token、uid、userName等信息; 网页授权得到的是授权Code,不是Token,所以还需要根据Code去获取Token,调用自定义的getTokenByCode 方法;最新jar包可以直接获取到Token; 目前网页授权、微博分享都操作已经整合到工程中,测
    2022-05-05 03:04:44下载
    积分: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
  • Android 演示开关灯效果
    Android 演示开关灯效果,单击按钮后开灯,再次单击则关灯,很逼真的演示了开关灯特效,开灯后灯光点亮的效果很逼真哦。主要是添加按钮事件,改变图片的状态,设置程序状态的方法:   public void setBulbState(boolean state){//true on false off   //设置图片状态   ImageView iv=(ImageView)findViewById(R.id.ImageView01);   iv.setImageResource((state)?R.drawable.bulb_on:R.drawable.bulb_off);//设置图片状态   //设置ToggleButton状态   ToggleButton tb=(ToggleButton)this.findViewById(R.id.ToggleButton01);   tb.setChecked(state);//设置ToggleButton状态
    2023-05-07 10:05:02下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载