├── .idea ├── .name ├── copyright │ └── profiles_settings.xml ├── vcs.xml ├── modules.xml ├── gradle.xml ├── compiler.xml └── misc.xml ├── app ├── .gitignore ├── libs │ └── BmobSDK_V3.4.2_0727.jar ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable-hdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-mdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-xhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── drawable-xxhdpi │ │ │ │ └── ic_launcher.png │ │ │ ├── values │ │ │ │ ├── styles.xml │ │ │ │ ├── dimens.xml │ │ │ │ └── strings.xml │ │ │ ├── values-w820dp │ │ │ │ └── dimens.xml │ │ │ ├── menu │ │ │ │ ├── menu_info.xml │ │ │ │ ├── menu_login.xml │ │ │ │ ├── menu_main.xml │ │ │ │ └── menu_register.xml │ │ │ └── layout │ │ │ │ ├── activity_login.xml │ │ │ │ ├── activity_main.xml │ │ │ │ └── activity_register.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── jkxqj │ │ │ │ └── qiandao │ │ │ │ ├── model │ │ │ │ ├── User.java │ │ │ │ ├── QianTui.java │ │ │ │ └── QianDao.java │ │ │ │ └── UIController │ │ │ │ ├── RegisterActivity.java │ │ │ │ ├── LoginActivity.java │ │ │ │ └── MainActivity.java │ │ └── AndroidManifest.xml │ └── androidTest │ │ └── java │ │ └── com │ │ └── jkxqj │ │ └── qiandao │ │ └── ApplicationTest.java ├── proguard-rules.pro ├── build.gradle └── app.iml ├── settings.gradle ├── .gitignore ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── README.md ├── BianQian.iml ├── gradle.properties ├── QianDao.iml ├── gradlew.bat └── gradlew /.idea/.name: -------------------------------------------------------------------------------- 1 | BianQian -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | /local.properties 3 | /.idea/workspace.xml 4 | /.idea/libraries 5 | .DS_Store 6 | /build 7 | -------------------------------------------------------------------------------- /app/libs/BmobSDK_V3.4.2_0727.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkxqj/BianQian/HEAD/app/libs/BmobSDK_V3.4.2_0727.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkxqj/BianQian/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # BianQian 2 | [便签]签到app,安卓客户端,服务端使用Bmob服务,利用办公室wifi的MAC地址签到,作者:JKXQJ 3 | http://blog.csdn.net/acmjk/article/details/47206577 -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkxqj/BianQian/HEAD/app/src/main/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkxqj/BianQian/HEAD/app/src/main/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkxqj/BianQian/HEAD/app/src/main/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jkxqj/BianQian/HEAD/app/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 16dp 5 | 6 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Wed Apr 10 15:27:10 PDT 2013 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip 7 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/values-w820dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 64dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_info.xml: -------------------------------------------------------------------------------- 1 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_login.xml: -------------------------------------------------------------------------------- 1 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 5 | 7 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_register.xml: -------------------------------------------------------------------------------- 1 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/jkxqj/qiandao/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.jkxqj.qiandao; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 便签 5 | 欢迎使用便签app签到! 6 | Settings 7 | 登录 8 | 个人信息 9 | 注册 10 | 签到 11 | 查看签到/退信息 12 | 13 | 14 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 12 | 13 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in D:\androidSDK\sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /BianQian.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /app/src/main/java/com/jkxqj/qiandao/model/User.java: -------------------------------------------------------------------------------- 1 | package com.jkxqj.qiandao.model; 2 | 3 | import cn.bmob.v3.BmobObject; 4 | 5 | /** 6 | * Created by JKXQJ on 2015/8/1. 7 | */ 8 | public class User extends BmobObject { 9 | private String account; 10 | private String password; 11 | private String realName; 12 | 13 | public String getAccount() { 14 | return account; 15 | } 16 | 17 | public void setAccount(String account) { 18 | this.account = account; 19 | } 20 | 21 | public String getPassword() { 22 | return password; 23 | } 24 | 25 | public void setPassword(String password) { 26 | this.password = password; 27 | } 28 | 29 | public String getRealName() { 30 | return realName; 31 | } 32 | 33 | public void setRealName(String realName) { 34 | this.realName = realName; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true -------------------------------------------------------------------------------- /QianDao.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 21 5 | buildToolsVersion "21.1.2" 6 | 7 | defaultConfig { 8 | applicationId "com.jkxqj.qiandao" 9 | minSdkVersion 15 10 | targetSdkVersion 21 11 | versionCode 1 12 | versionName "1.0" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | 22 | dependencies { 23 | compile fileTree(dir: 'libs', include: ['*.jar']) 24 | compile 'com.android.support:appcompat-v7:21.0.3' 25 | compile 'com.android.support:support-annotations:21.0.3' 26 | compile 'com.android.support:support-v4:21.0.3' 27 | compile files('libs/Bmob_Push_V0.6beta_20150408.jar') 28 | compile files('libs/android-support-v4.jar') 29 | compile files('libs/BmobSDK_V3.4.2_0727.jar') 30 | compile files('libs/filechoose.jar') 31 | } 32 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 19 | 20 | 21 | 22 | 23 | jdk1.7 24 | 25 | 30 | 31 | 32 | 33 | 34 | 35 | -------------------------------------------------------------------------------- /app/src/main/java/com/jkxqj/qiandao/model/QianTui.java: -------------------------------------------------------------------------------- 1 | package com.jkxqj.qiandao.model; 2 | 3 | import cn.bmob.v3.BmobObject; 4 | 5 | /** 6 | * Created by JKXQJ on 2015/8/1. 7 | */ 8 | public class QianTui extends BmobObject { 9 | private String id; 10 | private String account; 11 | private String realName; 12 | private String IP; 13 | private String MAC; 14 | private String TuiTime; 15 | 16 | public String getId() { 17 | return id; 18 | } 19 | 20 | public void setId(String id) { 21 | this.id = id; 22 | } 23 | 24 | public String getAccount() { 25 | return account; 26 | } 27 | 28 | public void setAccount(String account) { 29 | this.account = account; 30 | } 31 | 32 | public String getRealName() { 33 | return realName; 34 | } 35 | 36 | public void setRealName(String realName) { 37 | this.realName = realName; 38 | } 39 | 40 | public String getIP() { 41 | return IP; 42 | } 43 | 44 | public void setIP(String IP) { 45 | this.IP = IP; 46 | } 47 | 48 | public String getMAC() { 49 | return MAC; 50 | } 51 | 52 | public void setMAC(String MAC) { 53 | this.MAC = MAC; 54 | } 55 | 56 | public String getTuiTime() { 57 | return TuiTime; 58 | } 59 | 60 | public void setTuiTime(String tuiTime) { 61 | TuiTime = tuiTime; 62 | } 63 | 64 | 65 | } 66 | -------------------------------------------------------------------------------- /app/src/main/java/com/jkxqj/qiandao/model/QianDao.java: -------------------------------------------------------------------------------- 1 | package com.jkxqj.qiandao.model; 2 | 3 | import cn.bmob.v3.BmobObject; 4 | 5 | /** 6 | * Created by JKXQJ on 2015/8/1. 7 | */ 8 | public class QianDao extends BmobObject { 9 | 10 | private String id; 11 | private String account; 12 | private String realName; 13 | private String IP; 14 | private String MAC; 15 | private String DaoTime; 16 | 17 | public String getId() { 18 | return id; 19 | } 20 | 21 | public void setId(String id) { 22 | this.id = id; 23 | } 24 | 25 | public String getAccount() { 26 | return account; 27 | } 28 | 29 | public void setAccount(String account) { 30 | this.account = account; 31 | } 32 | 33 | public String getRealName() { 34 | return realName; 35 | } 36 | 37 | public void setRealName(String realName) { 38 | this.realName = realName; 39 | } 40 | 41 | public String getIP() { 42 | return IP; 43 | } 44 | 45 | public void setIP(String IP) { 46 | this.IP = IP; 47 | } 48 | 49 | public String getMAC() { 50 | return MAC; 51 | } 52 | 53 | public void setMAC(String MAC) { 54 | this.MAC = MAC; 55 | } 56 | 57 | public String getDaoTime() { 58 | return DaoTime; 59 | } 60 | 61 | public void setDaoTime(String daoTime) { 62 | DaoTime = daoTime; 63 | } 64 | 65 | 66 | } 67 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 17 | 18 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 30 | 31 | 32 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_login.xml: -------------------------------------------------------------------------------- 1 | 8 | 14 | 22 | 23 | 31 | 32 |