• 大小: 1.45M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-24
  • 标签: 模拟  Android  微信  红包  

资源简介

借助AccessibilityService实现模拟操作

资源截图

代码片段和文件信息

package com.miscell.lucky;

import android.app.Dialog;
import android.content.Context;
import android.util.TypedValue;
import android.view.View;
import android.view.WindowManager;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;

import static android.view.ViewGroup.LayoutParams.MATCH_PARENT;
import static android.view.ViewGroup.LayoutParams.WRAP_CONTENT;

/**
 * Created by chenjishi on 14/11/21.
 */
public class ConfirmDialog extends Dialog {
    private LinearLayout mButtonLayout;
    private float mDensity;

    private View.onclickListener mPositiveListener;
    private String mPositiveText;

    public ConfirmDialog(Context context) {
        super(context R.style.FullHeightDialog);
        setCanceledOnTouchOutside(true);
        setC

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2015-03-13 07:04  luckymoney-master\
     文件         290  2015-03-13 07:04  luckymoney-master\.gitignore
     文件        2048  2015-03-13 07:04  luckymoney-master\AndroidManifest.xml
     文件       11325  2015-03-13 07:04  luckymoney-master\LICENSE
     文件         398  2015-03-13 07:04  luckymoney-master\README.md
     目录           0  2015-03-13 07:04  luckymoney-master\assets\
     文件        6148  2015-03-13 07:04  luckymoney-master\assets\.DS_Store
     文件           7  2015-03-13 07:04  luckymoney-master\assets\readme.txt
     文件        1435  2015-03-13 07:04  luckymoney-master\build.gradle
     文件     1062406  2015-03-13 07:04  luckymoney-master\demo4.gif
     目录           0  2015-03-13 07:04  luckymoney-master\libs\
     文件        6148  2015-03-13 07:04  luckymoney-master\libs\.DS_Store
     文件      153709  2015-03-13 07:04  luckymoney-master\libs\FlurryAnalytics-5.1.0.jar
     文件      207457  2015-03-13 07:04  luckymoney-master\luckymoney0313.apk
     目录           0  2015-03-13 07:04  luckymoney-master\res\
     文件        6148  2015-03-13 07:04  luckymoney-master\res\.DS_Store
     目录           0  2015-03-13 07:04  luckymoney-master\res\drawable-hdpi\
     文件        8083  2015-03-13 07:04  luckymoney-master\res\drawable-hdpi\ic_lucky.png
     目录           0  2015-03-13 07:04  luckymoney-master\res\drawable-mdpi\
     文件        3147  2015-03-13 07:04  luckymoney-master\res\drawable-mdpi\ic_lucky.png
     目录           0  2015-03-13 07:04  luckymoney-master\res\drawable-xhdpi\
     文件        6148  2015-03-13 07:04  luckymoney-master\res\drawable-xhdpi\.DS_Store
     文件       13577  2015-03-13 07:04  luckymoney-master\res\drawable-xhdpi\ic_lucky.png
     文件       23864  2015-03-13 07:04  luckymoney-master\res\drawable-xhdpi\tips1.png
     文件       57123  2015-03-13 07:04  luckymoney-master\res\drawable-xhdpi\tips2.png
     目录           0  2015-03-13 07:04  luckymoney-master\res\drawable-xxhdpi\
     文件        6148  2015-03-13 07:04  luckymoney-master\res\drawable-xxhdpi\.DS_Store
     文件       18435  2015-03-13 07:04  luckymoney-master\res\drawable-xxhdpi\ic_lucky.png
     目录           0  2015-03-13 07:04  luckymoney-master\res\drawable\
     文件         344  2015-03-13 07:04  luckymoney-master\res\drawable\btn_red.xml
     文件         187  2015-03-13 07:04  luckymoney-master\res\drawable\btn_red_focus.xml
............此处省略22个文件信息

评论

共有 条评论