Skip to content

Commit

Permalink
Change package name to xyz.monkeytong.hongbao.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhongyi Tong committed Jan 18, 2016
1 parent 3a6965f commit 48e246c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

## **版权及免责声明**

本项目源自小米今年秋季发布会时演示的抢红包测试[源码](https://github.com/XiaoMi/LuckyMoneyTool)。stable分支基于此代码继续开发,dev分支重写了几乎所有的逻辑代码。应用的包名com.miui.hongbao未变。
本项目源自小米今年秋季发布会时演示的抢红包测试[源码](https://github.com/XiaoMi/LuckyMoneyTool)。stable分支基于此代码继续开发,dev分支重写了几乎所有的逻辑代码。

由于插件可能会改变自然的微信交互方式,这份代码仅可用于教学目的,不得更改后用于其他用途。对于使用插件时可能发生的任何情形,由使用者自行承担,包括但不限于“禁用红包功能”、“微信封号”。

Expand Down
2 changes: 1 addition & 1 deletion README_EN.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ The following doc is targeted at **stable branch**.

## License

The project was heavily inspired by an [app](https://github.com/XiaoMi/LuckyMoneyTool) demonstrated on XiaoMi's news conference for its phone product this autumn. The stable branch is developed after this, while the dev branch rewrites nearly all the code. The package name remains unchanged as `com.miui.hongbao`.
The project was heavily inspired by an [app](https://github.com/XiaoMi/LuckyMoneyTool) demonstrated on XiaoMi's news conference for its phone product this autumn. The stable branch is developed after this, while the dev branch rewrites nearly all the code.

**Note that:** This app might alter the natural way of interactions with WeChat. Thus the code is restricted to educational use only. You are *not* allowed to use it for other purposes. You must understand and be fully responsiable of the potential risks of using the app, including "being forbidden to use WeChat Lucky Money functionality", etc.
2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ android {
buildToolsVersion "22.0.1"

defaultConfig {
applicationId "com.miui.hongbao"
applicationId "xyz.monkeytong.hongbao"
minSdkVersion 15
targetSdkVersion 22
versionCode 2
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.miui.hongbao">
package="xyz.monkeytong.hongbao">
<uses-sdk android:minSdkVersion="18"
android:targetSdkVersion="22"/>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name">
<activity
android:name=".MainActivity"
android:name="xyz.monkeytong.hongbao.MainActivity"
android:label="@string/app_name"
android:theme="@style/Base.Theme.AppCompat.Light">
<intent-filter>
Expand All @@ -17,7 +17,7 @@
</intent-filter>
</activity>
<service
android:name=".HongbaoService"
android:name="xyz.monkeytong.hongbao.HongbaoService"
android:permission="android.permission.BIND_ACCESSIBILITY_SERVICE">
<intent-filter>
<action android:name="android.accessibilityservice.AccessibilityService"/>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
package com.miui.hongbao;
package xyz.monkeytong.hongbao;

import android.accessibilityservice.AccessibilityService;
import android.annotation.TargetApi;
import android.app.Notification;
import android.app.PendingIntent;
import android.os.Build;
import android.os.Parcelable;
import android.view.accessibility.AccessibilityEvent;
import android.view.accessibility.AccessibilityNodeInfo;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package com.miui.hongbao;
package xyz.monkeytong.hongbao;

import android.accessibilityservice.AccessibilityServiceInfo;
import android.app.ActionBar;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
Expand All @@ -13,11 +12,9 @@
import android.view.WindowManager;
import android.view.accessibility.AccessibilityManager;
import android.widget.Button;
import android.widget.TextView;


import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.List;

Expand Down

0 comments on commit 48e246c

Please sign in to comment.