├── .classpath ├── .project ├── .settings ├── org.eclipse.core.resources.prefs └── org.eclipse.jdt.core.prefs ├── AndroidManifest.xml ├── bin ├── AndroidManifest.xml ├── OldLady.apk ├── classes.dex ├── classes │ └── com │ │ └── example │ │ ├── fament │ │ ├── CloudeData$1.class │ │ ├── CloudeData$2.class │ │ ├── CloudeData.class │ │ ├── MyMessage$1.class │ │ └── MyMessage.class │ │ ├── oldlady │ │ ├── BuildConfig.class │ │ ├── Login$1.class │ │ ├── Login$2.class │ │ ├── Login.class │ │ ├── MainActivity.class │ │ ├── Myzhanghu$1.class │ │ ├── Myzhanghu$2.class │ │ ├── Myzhanghu.class │ │ ├── R$attr.class │ │ ├── R$dimen.class │ │ ├── R$drawable.class │ │ ├── R$id.class │ │ ├── R$layout.class │ │ ├── R$menu.class │ │ ├── R$string.class │ │ ├── R$style.class │ │ ├── R.class │ │ ├── Regeister$1.class │ │ ├── Regeister.class │ │ ├── Round.class │ │ ├── Welcome$1.class │ │ └── Welcome.class │ │ └── server │ │ ├── HTTPutils$1.class │ │ ├── HTTPutils$2.class │ │ ├── HTTPutils.class │ │ ├── LoginServer.class │ │ ├── RegeisterServer.class │ │ └── UpdateServer.class ├── dexedLibs │ ├── android-support-v4-9261a50b69e77d5de30e0d03a00aba97.jar │ ├── android-support-v4-ba46403c1925557069d252ca56d7cf78.jar │ ├── android-support-v4-c596e7884b3f10e3796c6bb30b7a2ef1.jar │ ├── mpandroidchartlibrary-2-1-6-8dcbcae3ec77feb020984c18a16baf42.jar │ └── mpandroidchartlibrary-2-1-6-aaa76595f700cba3deed15e2157e88e0.jar ├── jarlist.cache ├── res │ └── crunch │ │ ├── drawable-hdpi │ │ ├── gjiaoshi.png │ │ ├── guanjiaoshi0.png │ │ ├── guanxuesheng0.png │ │ ├── gxuesheng.png │ │ ├── head.png │ │ ├── ic_launcher.png │ │ ├── icon.png │ │ ├── laoren.png │ │ ├── password.png │ │ ├── phone.png │ │ ├── teacher.png │ │ └── user.png │ │ ├── drawable-ldpi │ │ ├── gjiaoshi.png │ │ ├── guanjiaoshi0.png │ │ ├── guanxuesheng0.png │ │ ├── gxuesheng.png │ │ ├── head.png │ │ ├── icon.png │ │ ├── laoren.png │ │ ├── password.png │ │ ├── phone.png │ │ ├── teacher.png │ │ └── user.png │ │ ├── drawable-mdpi │ │ ├── gjiaoshi.png │ │ ├── guanjiaoshi0.png │ │ ├── guanxuesheng0.png │ │ ├── gxuesheng.png │ │ ├── head.png │ │ ├── ic_launcher.png │ │ ├── icon.png │ │ ├── laoren.png │ │ ├── password.png │ │ ├── phone.png │ │ ├── teacher.png │ │ └── user.png │ │ ├── drawable-xhdpi │ │ ├── gjiaoshi.png │ │ ├── guanjiaoshi0.png │ │ ├── guanxuesheng0.png │ │ ├── gxuesheng.png │ │ ├── head.png │ │ ├── ic_launcher.png │ │ ├── icon.png │ │ ├── laoren.png │ │ ├── password.png │ │ ├── phone.png │ │ ├── teacher.png │ │ └── user.png │ │ └── drawable-xxhdpi │ │ ├── gjiaoshi.png │ │ ├── guanjiaoshi0.png │ │ ├── guanxuesheng0.png │ │ ├── gxuesheng.png │ │ ├── head.png │ │ ├── ic_launcher.png │ │ ├── icon.png │ │ ├── laoren.png │ │ ├── password.png │ │ ├── phone.png │ │ ├── teacher.png │ │ └── user.png └── resources.ap_ ├── gen └── com │ └── example │ └── oldlady │ ├── BuildConfig.java │ └── R.java ├── ic_launcher-web.png ├── libs ├── android-support-v4.jar └── mpandroidchartlibrary-2-1-6.jar ├── lint.xml ├── proguard-project.txt ├── project.properties ├── res ├── drawable-hdpi │ ├── back.jpg │ ├── gjiaoshi.png │ ├── guanjiaoshi0.png │ ├── guanxuesheng0.png │ ├── gxuesheng.png │ ├── head.png │ ├── ic_launcher.png │ ├── icon.png │ ├── laoren.png │ ├── linearlayout_boder.xml │ ├── password.png │ ├── phone.png │ ├── teacher.png │ ├── tou.jpg │ ├── tou1.jpg │ └── user.png ├── drawable-ldpi │ ├── back.jpg │ ├── gjiaoshi.png │ ├── guanjiaoshi0.png │ ├── guanxuesheng0.png │ ├── gxuesheng.png │ ├── head.png │ ├── icon.png │ ├── laoren.png │ ├── linearlayout_boder.xml │ ├── password.png │ ├── phone.png │ ├── teacher.png │ ├── tou.jpg │ ├── tou1.jpg │ └── user.png ├── drawable-mdpi │ ├── back.jpg │ ├── gjiaoshi.png │ ├── guanjiaoshi0.png │ ├── guanxuesheng0.png │ ├── gxuesheng.png │ ├── head.png │ ├── ic_launcher.png │ ├── icon.png │ ├── laoren.png │ ├── linearlayout_boder.xml │ ├── password.png │ ├── phone.png │ ├── teacher.png │ ├── tou.jpg │ ├── tou1.jpg │ └── user.png ├── drawable-xhdpi │ ├── back.jpg │ ├── gjiaoshi.png │ ├── guanjiaoshi0.png │ ├── guanxuesheng0.png │ ├── gxuesheng.png │ ├── head.png │ ├── ic_launcher.png │ ├── icon.png │ ├── laoren.png │ ├── linearlayout_boder.xml │ ├── password.png │ ├── phone.png │ ├── teacher.png │ ├── tou.jpg │ ├── tou1.jpg │ └── user.png ├── drawable-xxhdpi │ ├── back.jpg │ ├── gjiaoshi.png │ ├── guanjiaoshi0.png │ ├── guanxuesheng0.png │ ├── gxuesheng.png │ ├── head.png │ ├── ic_launcher.png │ ├── icon.png │ ├── laoren.png │ ├── linearlayout_boder.xml │ ├── password.png │ ├── phone.png │ ├── teacher.png │ ├── tou.jpg │ ├── tou1.jpg │ └── user.png ├── layout │ ├── activity_jiaoshizhanghu.xml │ ├── activity_login.xml │ ├── activity_main.xml │ ├── activity_regeister.xml │ ├── activity_welcome.xml │ ├── cloudedata.xml │ ├── jiaoshiwode.xml │ ├── mainfoot.xml │ ├── mainhead.xml │ └── mymessgae.xml ├── menu │ ├── jiaoshizhanghu.xml │ ├── main.xml │ ├── regeister.xml │ └── welcome.xml ├── values-sw600dp │ └── dimens.xml ├── values-sw720dp-land │ └── dimens.xml ├── values-v11 │ └── styles.xml ├── values-v14 │ └── styles.xml └── values │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml └── src └── com └── example ├── fament ├── CloudeData.java └── MyMessage.java ├── oldlady ├── Login.java ├── MainActivity.java ├── Myzhanghu.java ├── Regeister.java ├── Round.java └── Welcome.java └── server ├── HTTPutils.java ├── LoginServer.java ├── RegeisterServer.java └── UpdateServer.java /.classpath: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.project: -------------------------------------------------------------------------------- 1 | 2 | 3 | OldLady 4 | 5 | 6 | 7 | 8 | 9 | com.android.ide.eclipse.adt.ResourceManagerBuilder 10 | 11 | 12 | 13 | 14 | com.android.ide.eclipse.adt.PreCompilerBuilder 15 | 16 | 17 | 18 | 19 | org.eclipse.jdt.core.javabuilder 20 | 21 | 22 | 23 | 24 | com.android.ide.eclipse.adt.ApkBuilder 25 | 26 | 27 | 28 | 29 | 30 | com.android.ide.eclipse.adt.AndroidNature 31 | org.eclipse.jdt.core.javanature 32 | 33 | 34 | -------------------------------------------------------------------------------- /.settings/org.eclipse.core.resources.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | encoding//src/com/example/fament/CloudeData.java=UTF-8 3 | -------------------------------------------------------------------------------- /.settings/org.eclipse.jdt.core.prefs: -------------------------------------------------------------------------------- 1 | eclipse.preferences.version=1 2 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 3 | org.eclipse.jdt.core.compiler.compliance=1.6 4 | org.eclipse.jdt.core.compiler.source=1.6 5 | -------------------------------------------------------------------------------- /AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 19 | 22 | 23 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 35 | 36 | 39 | 40 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /bin/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 19 | 22 | 23 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 35 | 36 | 39 | 40 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /bin/OldLady.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/OldLady.apk -------------------------------------------------------------------------------- /bin/classes.dex: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes.dex -------------------------------------------------------------------------------- /bin/classes/com/example/fament/CloudeData$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/fament/CloudeData$1.class -------------------------------------------------------------------------------- /bin/classes/com/example/fament/CloudeData$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/fament/CloudeData$2.class -------------------------------------------------------------------------------- /bin/classes/com/example/fament/CloudeData.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/fament/CloudeData.class -------------------------------------------------------------------------------- /bin/classes/com/example/fament/MyMessage$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/fament/MyMessage$1.class -------------------------------------------------------------------------------- /bin/classes/com/example/fament/MyMessage.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/fament/MyMessage.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/BuildConfig.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/BuildConfig.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/Login$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/Login$1.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/Login$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/Login$2.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/Login.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/Login.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/MainActivity.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/MainActivity.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/Myzhanghu$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/Myzhanghu$1.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/Myzhanghu$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/Myzhanghu$2.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/Myzhanghu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/Myzhanghu.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/R$attr.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/R$attr.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/R$dimen.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/R$dimen.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/R$drawable.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/R$drawable.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/R$id.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/R$id.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/R$layout.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/R$layout.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/R$menu.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/R$menu.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/R$string.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/R$string.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/R$style.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/R$style.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/R.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/R.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/Regeister$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/Regeister$1.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/Regeister.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/Regeister.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/Round.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/Round.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/Welcome$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/Welcome$1.class -------------------------------------------------------------------------------- /bin/classes/com/example/oldlady/Welcome.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/oldlady/Welcome.class -------------------------------------------------------------------------------- /bin/classes/com/example/server/HTTPutils$1.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/server/HTTPutils$1.class -------------------------------------------------------------------------------- /bin/classes/com/example/server/HTTPutils$2.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/server/HTTPutils$2.class -------------------------------------------------------------------------------- /bin/classes/com/example/server/HTTPutils.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/server/HTTPutils.class -------------------------------------------------------------------------------- /bin/classes/com/example/server/LoginServer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/server/LoginServer.class -------------------------------------------------------------------------------- /bin/classes/com/example/server/RegeisterServer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/server/RegeisterServer.class -------------------------------------------------------------------------------- /bin/classes/com/example/server/UpdateServer.class: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/classes/com/example/server/UpdateServer.class -------------------------------------------------------------------------------- /bin/dexedLibs/android-support-v4-9261a50b69e77d5de30e0d03a00aba97.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/dexedLibs/android-support-v4-9261a50b69e77d5de30e0d03a00aba97.jar -------------------------------------------------------------------------------- /bin/dexedLibs/android-support-v4-ba46403c1925557069d252ca56d7cf78.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/dexedLibs/android-support-v4-ba46403c1925557069d252ca56d7cf78.jar -------------------------------------------------------------------------------- /bin/dexedLibs/android-support-v4-c596e7884b3f10e3796c6bb30b7a2ef1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/dexedLibs/android-support-v4-c596e7884b3f10e3796c6bb30b7a2ef1.jar -------------------------------------------------------------------------------- /bin/dexedLibs/mpandroidchartlibrary-2-1-6-8dcbcae3ec77feb020984c18a16baf42.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/dexedLibs/mpandroidchartlibrary-2-1-6-8dcbcae3ec77feb020984c18a16baf42.jar -------------------------------------------------------------------------------- /bin/dexedLibs/mpandroidchartlibrary-2-1-6-aaa76595f700cba3deed15e2157e88e0.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/dexedLibs/mpandroidchartlibrary-2-1-6-aaa76595f700cba3deed15e2157e88e0.jar -------------------------------------------------------------------------------- /bin/jarlist.cache: -------------------------------------------------------------------------------- 1 | # cache for current jar dependency. DO NOT EDIT. 2 | # format is 3 | # Encoding is UTF-8 4 | -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/gjiaoshi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-hdpi/gjiaoshi.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/guanjiaoshi0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-hdpi/guanjiaoshi0.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/guanxuesheng0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-hdpi/guanxuesheng0.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/gxuesheng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-hdpi/gxuesheng.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-hdpi/head.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/laoren.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-hdpi/laoren.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-hdpi/password.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-hdpi/phone.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/teacher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-hdpi/teacher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-hdpi/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-hdpi/user.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-ldpi/gjiaoshi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-ldpi/gjiaoshi.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-ldpi/guanjiaoshi0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-ldpi/guanjiaoshi0.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-ldpi/guanxuesheng0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-ldpi/guanxuesheng0.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-ldpi/gxuesheng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-ldpi/gxuesheng.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-ldpi/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-ldpi/head.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-ldpi/laoren.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-ldpi/laoren.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-ldpi/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-ldpi/password.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-ldpi/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-ldpi/phone.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-ldpi/teacher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-ldpi/teacher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-ldpi/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-ldpi/user.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/gjiaoshi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-mdpi/gjiaoshi.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/guanjiaoshi0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-mdpi/guanjiaoshi0.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/guanxuesheng0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-mdpi/guanxuesheng0.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/gxuesheng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-mdpi/gxuesheng.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-mdpi/head.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/laoren.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-mdpi/laoren.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-mdpi/password.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-mdpi/phone.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/teacher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-mdpi/teacher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-mdpi/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-mdpi/user.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/gjiaoshi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xhdpi/gjiaoshi.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/guanjiaoshi0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xhdpi/guanjiaoshi0.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/guanxuesheng0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xhdpi/guanxuesheng0.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/gxuesheng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xhdpi/gxuesheng.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xhdpi/head.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/laoren.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xhdpi/laoren.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xhdpi/password.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xhdpi/phone.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/teacher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xhdpi/teacher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xhdpi/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xhdpi/user.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/gjiaoshi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xxhdpi/gjiaoshi.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/guanjiaoshi0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xxhdpi/guanjiaoshi0.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/guanxuesheng0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xxhdpi/guanxuesheng0.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/gxuesheng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xxhdpi/gxuesheng.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xxhdpi/head.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xxhdpi/icon.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/laoren.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xxhdpi/laoren.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xxhdpi/password.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xxhdpi/phone.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/teacher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xxhdpi/teacher.png -------------------------------------------------------------------------------- /bin/res/crunch/drawable-xxhdpi/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/res/crunch/drawable-xxhdpi/user.png -------------------------------------------------------------------------------- /bin/resources.ap_: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/bin/resources.ap_ -------------------------------------------------------------------------------- /gen/com/example/oldlady/BuildConfig.java: -------------------------------------------------------------------------------- 1 | /** Automatically generated file. DO NOT MODIFY */ 2 | package com.example.oldlady; 3 | 4 | public final class BuildConfig { 5 | public final static boolean DEBUG = true; 6 | } -------------------------------------------------------------------------------- /gen/com/example/oldlady/R.java: -------------------------------------------------------------------------------- 1 | /* AUTO-GENERATED FILE. DO NOT MODIFY. 2 | * 3 | * This class was automatically generated by the 4 | * aapt tool from the resource data it found. It 5 | * should not be modified by hand. 6 | */ 7 | 8 | package com.example.oldlady; 9 | 10 | public final class R { 11 | public static final class attr { 12 | } 13 | public static final class dimen { 14 | /** Default screen margins, per the Android Design guidelines. 15 | 16 | Customize dimensions originally defined in res/values/dimens.xml (such as 17 | screen margins) for sw720dp devices (e.g. 10" tablets) in landscape here. 18 | 19 | */ 20 | public static final int activity_horizontal_margin=0x7f040000; 21 | public static final int activity_vertical_margin=0x7f040001; 22 | } 23 | public static final class drawable { 24 | public static final int back=0x7f020000; 25 | public static final int gjiaoshi=0x7f020001; 26 | public static final int guanjiaoshi0=0x7f020002; 27 | public static final int guanxuesheng0=0x7f020003; 28 | public static final int gxuesheng=0x7f020004; 29 | public static final int head=0x7f020005; 30 | public static final int ic_launcher=0x7f020006; 31 | public static final int icon=0x7f020007; 32 | public static final int laoren=0x7f020008; 33 | public static final int linearlayout_boder=0x7f020009; 34 | public static final int password=0x7f02000a; 35 | public static final int phone=0x7f02000b; 36 | public static final int teacher=0x7f02000c; 37 | public static final int tou=0x7f02000d; 38 | public static final int tou1=0x7f02000e; 39 | public static final int user=0x7f02000f; 40 | } 41 | public static final class id { 42 | public static final int Radio=0x7f080004; 43 | public static final int action_settings=0x7f080012; 44 | public static final int framengt1=0x7f080005; 45 | public static final int image1=0x7f08000b; 46 | public static final int left=0x7f08000d; 47 | public static final int listView1=0x7f080011; 48 | public static final int name=0x7f080000; 49 | public static final int pass=0x7f080001; 50 | public static final int pass1=0x7f080007; 51 | public static final int pass2=0x7f080002; 52 | public static final int phone=0x7f080008; 53 | public static final int right=0x7f08000f; 54 | public static final int sp=0x7f08000a; 55 | public static final int t1=0x7f08000e; 56 | public static final int t2=0x7f080010; 57 | public static final int tel=0x7f080003; 58 | public static final int text1=0x7f08000c; 59 | public static final int textView1=0x7f080009; 60 | public static final int user=0x7f080006; 61 | } 62 | public static final class layout { 63 | public static final int activity_jiaoshizhanghu=0x7f030000; 64 | public static final int activity_login=0x7f030001; 65 | public static final int activity_main=0x7f030002; 66 | public static final int activity_regeister=0x7f030003; 67 | public static final int activity_welcome=0x7f030004; 68 | public static final int cloudedata=0x7f030005; 69 | public static final int jiaoshiwode=0x7f030006; 70 | public static final int mainfoot=0x7f030007; 71 | public static final int mainhead=0x7f030008; 72 | public static final int mymessgae=0x7f030009; 73 | } 74 | public static final class menu { 75 | public static final int jiaoshizhanghu=0x7f070000; 76 | public static final int main=0x7f070001; 77 | public static final int regeister=0x7f070002; 78 | public static final int welcome=0x7f070003; 79 | } 80 | public static final class string { 81 | public static final int action_settings=0x7f050001; 82 | public static final int app_name=0x7f050000; 83 | public static final int hello_world=0x7f050002; 84 | public static final int qidog=0x7f050004; 85 | public static final int title_activity_jiaoshizhanghu=0x7f050007; 86 | public static final int title_activity_main=0x7f050006; 87 | public static final int title_activity_regeister=0x7f050005; 88 | public static final int title_activity_welcome=0x7f050003; 89 | } 90 | public static final class style { 91 | /** 92 | Base application theme, dependent on API level. This theme is replaced 93 | by AppBaseTheme from res/values-vXX/styles.xml on newer devices. 94 | 95 | 96 | Theme customizations available in newer API levels can go in 97 | res/values-vXX/styles.xml, while customizations related to 98 | backward-compatibility can go here. 99 | 100 | 101 | Base application theme for API 11+. This theme completely replaces 102 | AppBaseTheme from res/values/styles.xml on API 11+ devices. 103 | 104 | API 11 theme customizations can go here. 105 | 106 | Base application theme for API 14+. This theme completely replaces 107 | AppBaseTheme from BOTH res/values/styles.xml and 108 | res/values-v11/styles.xml on API 14+ devices. 109 | 110 | API 14 theme customizations can go here. 111 | */ 112 | public static final int AppBaseTheme=0x7f060000; 113 | /** Application theme. 114 | All customizations that are NOT specific to a particular API-level can go here. 115 | */ 116 | public static final int AppTheme=0x7f060001; 117 | } 118 | } 119 | -------------------------------------------------------------------------------- /ic_launcher-web.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/ic_launcher-web.png -------------------------------------------------------------------------------- /libs/android-support-v4.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/libs/android-support-v4.jar -------------------------------------------------------------------------------- /libs/mpandroidchartlibrary-2-1-6.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/libs/mpandroidchartlibrary-2-1-6.jar -------------------------------------------------------------------------------- /lint.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /proguard-project.txt: -------------------------------------------------------------------------------- 1 | # To enable ProGuard in your project, edit project.properties 2 | # to define the proguard.config property as described in that file. 3 | # 4 | # Add project specific ProGuard rules here. 5 | # By default, the flags in this file are appended to flags specified 6 | # in ${sdk.dir}/tools/proguard/proguard-android.txt 7 | # You can edit the include path and order by changing the ProGuard 8 | # include property in project.properties. 9 | # 10 | # For more details, see 11 | # http://developer.android.com/guide/developing/tools/proguard.html 12 | 13 | # Add any project specific keep options here: 14 | 15 | # If your project uses WebView with JS, uncomment the following 16 | # and specify the fully qualified class name to the JavaScript interface 17 | # class: 18 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 19 | # public *; 20 | #} 21 | -------------------------------------------------------------------------------- /project.properties: -------------------------------------------------------------------------------- 1 | # This file is automatically generated by Android Tools. 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! 3 | # 4 | # This file must be checked in Version Control Systems. 5 | # 6 | # To customize properties used by the Ant build system edit 7 | # "ant.properties", and override values to adapt the script to your 8 | # project structure. 9 | # 10 | # To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home): 11 | #proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt 12 | 13 | # Project target. 14 | target=android-19 15 | -------------------------------------------------------------------------------- /res/drawable-hdpi/back.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/back.jpg -------------------------------------------------------------------------------- /res/drawable-hdpi/gjiaoshi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/gjiaoshi.png -------------------------------------------------------------------------------- /res/drawable-hdpi/guanjiaoshi0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/guanjiaoshi0.png -------------------------------------------------------------------------------- /res/drawable-hdpi/guanxuesheng0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/guanxuesheng0.png -------------------------------------------------------------------------------- /res/drawable-hdpi/gxuesheng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/gxuesheng.png -------------------------------------------------------------------------------- /res/drawable-hdpi/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/head.png -------------------------------------------------------------------------------- /res/drawable-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /res/drawable-hdpi/laoren.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/laoren.png -------------------------------------------------------------------------------- /res/drawable-hdpi/linearlayout_boder.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 15 | -------------------------------------------------------------------------------- /res/drawable-hdpi/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/password.png -------------------------------------------------------------------------------- /res/drawable-hdpi/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/phone.png -------------------------------------------------------------------------------- /res/drawable-hdpi/teacher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/teacher.png -------------------------------------------------------------------------------- /res/drawable-hdpi/tou.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/tou.jpg -------------------------------------------------------------------------------- /res/drawable-hdpi/tou1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/tou1.jpg -------------------------------------------------------------------------------- /res/drawable-hdpi/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-hdpi/user.png -------------------------------------------------------------------------------- /res/drawable-ldpi/back.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-ldpi/back.jpg -------------------------------------------------------------------------------- /res/drawable-ldpi/gjiaoshi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-ldpi/gjiaoshi.png -------------------------------------------------------------------------------- /res/drawable-ldpi/guanjiaoshi0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-ldpi/guanjiaoshi0.png -------------------------------------------------------------------------------- /res/drawable-ldpi/guanxuesheng0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-ldpi/guanxuesheng0.png -------------------------------------------------------------------------------- /res/drawable-ldpi/gxuesheng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-ldpi/gxuesheng.png -------------------------------------------------------------------------------- /res/drawable-ldpi/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-ldpi/head.png -------------------------------------------------------------------------------- /res/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /res/drawable-ldpi/laoren.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-ldpi/laoren.png -------------------------------------------------------------------------------- /res/drawable-ldpi/linearlayout_boder.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 15 | -------------------------------------------------------------------------------- /res/drawable-ldpi/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-ldpi/password.png -------------------------------------------------------------------------------- /res/drawable-ldpi/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-ldpi/phone.png -------------------------------------------------------------------------------- /res/drawable-ldpi/teacher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-ldpi/teacher.png -------------------------------------------------------------------------------- /res/drawable-ldpi/tou.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-ldpi/tou.jpg -------------------------------------------------------------------------------- /res/drawable-ldpi/tou1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-ldpi/tou1.jpg -------------------------------------------------------------------------------- /res/drawable-ldpi/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-ldpi/user.png -------------------------------------------------------------------------------- /res/drawable-mdpi/back.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/back.jpg -------------------------------------------------------------------------------- /res/drawable-mdpi/gjiaoshi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/gjiaoshi.png -------------------------------------------------------------------------------- /res/drawable-mdpi/guanjiaoshi0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/guanjiaoshi0.png -------------------------------------------------------------------------------- /res/drawable-mdpi/guanxuesheng0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/guanxuesheng0.png -------------------------------------------------------------------------------- /res/drawable-mdpi/gxuesheng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/gxuesheng.png -------------------------------------------------------------------------------- /res/drawable-mdpi/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/head.png -------------------------------------------------------------------------------- /res/drawable-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /res/drawable-mdpi/laoren.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/laoren.png -------------------------------------------------------------------------------- /res/drawable-mdpi/linearlayout_boder.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 15 | -------------------------------------------------------------------------------- /res/drawable-mdpi/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/password.png -------------------------------------------------------------------------------- /res/drawable-mdpi/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/phone.png -------------------------------------------------------------------------------- /res/drawable-mdpi/teacher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/teacher.png -------------------------------------------------------------------------------- /res/drawable-mdpi/tou.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/tou.jpg -------------------------------------------------------------------------------- /res/drawable-mdpi/tou1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/tou1.jpg -------------------------------------------------------------------------------- /res/drawable-mdpi/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-mdpi/user.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/back.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/back.jpg -------------------------------------------------------------------------------- /res/drawable-xhdpi/gjiaoshi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/gjiaoshi.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/guanjiaoshi0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/guanjiaoshi0.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/guanxuesheng0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/guanxuesheng0.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/gxuesheng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/gxuesheng.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/head.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/laoren.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/laoren.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/linearlayout_boder.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 15 | -------------------------------------------------------------------------------- /res/drawable-xhdpi/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/password.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/phone.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/teacher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/teacher.png -------------------------------------------------------------------------------- /res/drawable-xhdpi/tou.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/tou.jpg -------------------------------------------------------------------------------- /res/drawable-xhdpi/tou1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/tou1.jpg -------------------------------------------------------------------------------- /res/drawable-xhdpi/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xhdpi/user.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/back.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/back.jpg -------------------------------------------------------------------------------- /res/drawable-xxhdpi/gjiaoshi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/gjiaoshi.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/guanjiaoshi0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/guanjiaoshi0.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/guanxuesheng0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/guanxuesheng0.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/gxuesheng.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/gxuesheng.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/head.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/icon.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/laoren.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/laoren.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/linearlayout_boder.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 15 | -------------------------------------------------------------------------------- /res/drawable-xxhdpi/password.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/password.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/phone.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/phone.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/teacher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/teacher.png -------------------------------------------------------------------------------- /res/drawable-xxhdpi/tou.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/tou.jpg -------------------------------------------------------------------------------- /res/drawable-xxhdpi/tou1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/tou1.jpg -------------------------------------------------------------------------------- /res/drawable-xxhdpi/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/huanglinqing123/Three---axis-sensor/ca597853d55b42b8f78d6cabad3cdce6b2eb3bb6/res/drawable-xxhdpi/user.png -------------------------------------------------------------------------------- /res/layout/activity_jiaoshizhanghu.xml: -------------------------------------------------------------------------------- 1 | 8 | 9 | 13 | 14 | 21 | 22 | 23 | 33 | 34 | 41 | 42 | 43 | 51 | 52 | 53 | 61 | 62 | 70 | 71 | 72 | 75 | 76 | 77 | 82 | 83 | 88 | 89 | 90 | 91 | 100 | 101 | 104 | 105 | 106 | 115 | 116 | 119 | 120 | 121 | 130 | 131 | 132 | 136 | 137 | 144 | 145 | 146 | 147 | -------------------------------------------------------------------------------- /res/layout/activity_login.xml: -------------------------------------------------------------------------------- 1 | 11 | 12 | 16 | 17 | 18 | 24 | 25 | 31 | 32 | 33 | 36 | 37 | 38 | 45 | 46 | 47 | 55 | 56 | 57 | 62 | 63 | 68 | 69 | 70 | 71 | 78 | 79 | 84 | 85 | 86 | 87 | 92 | 93 | 99 | 100 | 104 | 105 | 109 | 110 | 111 | 112 | 117 | 118 | 123 | 124 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | -------------------------------------------------------------------------------- /res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 9 | 10 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /res/layout/activity_regeister.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 12 | 13 | 21 | 22 | 23 | 24 | 28 | 29 | 30 | 37 | 38 | 45 | 46 | 47 | 54 | 55 | 56 | 63 | 64 | 65 | 72 | 73 | 74 | 77 | 78 | 79 | 86 | 87 | 90 | 91 | 92 | 99 | 100 | 103 | 104 | 105 | 106 | -------------------------------------------------------------------------------- /res/layout/activity_welcome.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /res/layout/cloudedata.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /res/layout/jiaoshiwode.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 11 | 12 | 19 | 20 | 28 | 29 | 30 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /res/layout/mainfoot.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | 14 | 19 | 20 | 27 | 28 | 29 | 35 | 36 | 37 | 42 | 43 | 50 | 51 | 52 | 58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /res/layout/mainhead.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 13 | 14 | 21 | 22 | 23 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /res/layout/mymessgae.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 12 | 13 | 14 | 18 | 19 | 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /res/menu/jiaoshizhanghu.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /res/menu/main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /res/menu/regeister.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /res/menu/welcome.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /res/values-sw600dp/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /res/values-sw720dp-land/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 128dp 8 | 9 | 10 | -------------------------------------------------------------------------------- /res/values-v11/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /res/values-v14/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 16dp 5 | 16dp 6 | 7 | 8 | -------------------------------------------------------------------------------- /res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 爱老人 5 | Settings 6 | Hello world! 7 | 爱老人 8 | 这是一个启动界面 9 | Regeister 10 | MainActivity 11 | Jiaoshizhanghu 12 | 13 | 14 | -------------------------------------------------------------------------------- /res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 14 | 15 | 16 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /src/com/example/fament/CloudeData.java: -------------------------------------------------------------------------------- 1 | package com.example.fament; 2 | 3 | import java.util.ArrayList; 4 | import java.util.List; 5 | 6 | import org.json.JSONArray; 7 | import org.json.JSONException; 8 | import org.json.JSONObject; 9 | 10 | import android.graphics.Color; 11 | import android.hardware.Sensor; 12 | import android.hardware.SensorEvent; 13 | import android.hardware.SensorEventListener; 14 | import android.hardware.SensorManager; 15 | import android.os.Bundle; 16 | import android.os.Handler; 17 | import android.support.v4.app.Fragment; 18 | import android.telephony.SmsManager; 19 | import android.util.DisplayMetrics; 20 | import android.view.LayoutInflater; 21 | import android.view.View; 22 | import android.view.ViewGroup; 23 | import android.widget.Toast; 24 | 25 | import com.example.oldlady.R; 26 | import com.example.server.HTTPutils; 27 | import com.github.mikephil.charting.charts.PieChart; 28 | import com.github.mikephil.charting.components.Legend; 29 | import com.github.mikephil.charting.components.Legend.LegendPosition; 30 | import com.github.mikephil.charting.data.Entry; 31 | import com.github.mikephil.charting.data.PieData; 32 | import com.github.mikephil.charting.data.PieDataSet; 33 | 34 | public class CloudeData extends Fragment { 35 | private String tel; 36 | private SensorManager manager ; 37 | private PieChart mChart; 38 | private String messContent = "您的老人可能摔倒了,请及时查看"; 39 | @Override 40 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 41 | Bundle savedInstanceState) { 42 | // TODO Auto-generated method stub 43 | View view = inflater.inflate(R.layout.cloudedata, null); 44 | mChart = (PieChart) view.findViewById(R.id.sp); 45 | final String name = getArguments().getString("name"); 46 | final String pass = getArguments().getString("pass"); 47 | String url = "http://www.huanglinqing.com/oldlady/gerenxinxi/getnewsJSON.php?name="; 48 | url = url + name; 49 | new HTTPutils().getNewsJSON(url, handler2); 50 | manager = (SensorManager) getActivity().getSystemService(getActivity().SENSOR_SERVICE); 51 | Sensor sensor = manager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER); 52 | manager.registerListener(listener, sensor, manager.SENSOR_DELAY_NORMAL); 53 | PieData mData = getPieData(5, 100); 54 | showChart(mChart, mData); 55 | return view; 56 | } 57 | private void showChart(PieChart mChart, PieData mData) { 58 | // TODO Auto-generated method stub 59 | mChart.setHoleColorTransparent(true); 60 | mChart.setHoleRadius(60f);// 61 | mChart.setTransparentCircleRadius(64f);// 62 | mChart.setDescription("跌倒地点分布图"); 63 | mChart.setDrawCenterText(true);// 64 | mChart.setDrawHoleEnabled(true); 65 | mChart.setTouchEnabled(true); 66 | mChart.setRotationAngle(90);// 67 | mChart.setRotationEnabled(true);// 68 | mChart.setUsePercentValues(true);// 69 | mChart.setCenterText("跌到地点"); 70 | 71 | mChart.setData(mData); 72 | Legend mLegend = mChart.getLegend();// 73 | mLegend.setPosition(LegendPosition.RIGHT_OF_CHART);// 74 | mLegend.setXEntrySpace(7f); 75 | mLegend.setYEntrySpace(5f); 76 | mChart.animateXY(1000, 1000);// 77 | } 78 | 79 | private PieData getPieData(int count, float range) { 80 | // TODO Auto-generated method stub 81 | ArrayList xValues = new ArrayList();// 82 | for (int i = 0; i < count; i++) { 83 | xValues.add("厨房");// 84 | xValues.add("卧室"); 85 | xValues.add("卫生间"); 86 | xValues.add("过道"); 87 | xValues.add("客厅"); 88 | } 89 | ArrayList yValues = new ArrayList();// 90 | 91 | 92 | float ggy1 = 4; 93 | float ggy2 = 14; 94 | float ggy3 = 34; 95 | float ggy4 = 38; 96 | float ggy5 = 10; 97 | yValues.add(new Entry(ggy1, 0)); 98 | yValues.add(new Entry(ggy2, 0)); 99 | yValues.add(new Entry(ggy3, 0)); 100 | yValues.add(new Entry(ggy4, 0)); 101 | yValues.add(new Entry(ggy5, 0)); 102 | 103 | PieDataSet dataSet = new PieDataSet(yValues, "跌到地点"); 104 | dataSet.setSliceSpace(0f); 105 | ArrayList colors = new ArrayList(); 106 | 107 | colors.add(Color.rgb(205, 205, 205)); 108 | colors.add(Color.rgb(114, 188, 223)); 109 | colors.add(Color.rgb(255, 123, 124)); 110 | colors.add(Color.rgb(57, 135, 200)); 111 | colors.add(Color.rgb(67, 105, 200)); 112 | dataSet.setColors(colors); 113 | DisplayMetrics metrics = getResources().getDisplayMetrics(); 114 | float px = 5 * (metrics.densityDpi / 160f); 115 | dataSet.setSelectionShift(px); 116 | PieData pieData = new PieData(xValues, dataSet); 117 | return pieData; 118 | } 119 | public void sendMessage(String phoneNum, String mess) { 120 | SmsManager manager = SmsManager.getDefault(); 121 | List divideContents = manager.divideMessage(mess); 122 | for (int i = 0; i < divideContents.size(); i++) { 123 | manager.sendTextMessage(phoneNum, null, mess, null, null); 124 | } 125 | 126 | } 127 | private SensorEventListener listener = new SensorEventListener() { 128 | @Override 129 | public void onAccuracyChanged(Sensor arg0, int arg1) { 130 | // TODO Auto-generated method stub 131 | 132 | } 133 | @Override 134 | public void onSensorChanged(SensorEvent event) { 135 | // TODO Auto-generated method stub 136 | float x = Math.abs(event.values[0]); 137 | float y = Math.abs(event.values[1]); 138 | float z = Math.abs(event.values[2]); 139 | if (x > 25 || y >25 || z > 28) { 140 | sendMessage(tel, messContent); 141 | Toast.makeText(getActivity(), "报警信息已成功发送", 0).show(); 142 | } 143 | } 144 | }; 145 | private Handler handler2 = new Handler() { 146 | public void handleMessage(android.os.Message msg) { 147 | String json=(String) msg.obj; 148 | try { 149 | JSONArray array=new JSONArray(json); 150 | for (int i = 0; i < array.length(); i++) { 151 | JSONObject jsonObject=array.getJSONObject(i); 152 | tel=jsonObject.getString("tel"); 153 | 154 | } 155 | } catch (JSONException e) { 156 | // TODO Auto-generated catch block 157 | e.printStackTrace(); 158 | } 159 | }; 160 | }; 161 | } 162 | -------------------------------------------------------------------------------- /src/com/example/fament/MyMessage.java: -------------------------------------------------------------------------------- 1 | package com.example.fament; 2 | 3 | import java.util.ArrayList; 4 | import java.util.HashMap; 5 | import java.util.List; 6 | import java.util.Map; 7 | 8 | import com.example.oldlady.Myzhanghu; 9 | import com.example.oldlady.R; 10 | 11 | import android.content.Intent; 12 | import android.os.Bundle; 13 | import android.support.v4.app.Fragment; 14 | import android.view.LayoutInflater; 15 | import android.view.View; 16 | import android.view.ViewGroup; 17 | import android.widget.AdapterView; 18 | import android.widget.ListView; 19 | import android.widget.SimpleAdapter; 20 | import android.widget.AdapterView.OnItemClickListener; 21 | 22 | public class MyMessage extends Fragment { 23 | private ListView listView; 24 | private String titles[] = { "账户信息" }; 25 | private int Image[] = { R.drawable.teacher}; 26 | private List> list = new ArrayList>(); 27 | private SimpleAdapter adapter; 28 | @Override 29 | public View onCreateView(LayoutInflater inflater, ViewGroup container, 30 | Bundle savedInstanceState) { 31 | // TODO Auto-generated method stub 32 | View v = inflater.inflate(R.layout.mymessgae, null); 33 | listView = (ListView) v.findViewById(R.id.listView1); 34 | final String name = getArguments().getString("name"); 35 | 36 | final String pass = getArguments().getString("pass"); 37 | for (int i = 0; i < 1; i++) { 38 | Map map = new HashMap(); 39 | map.put("title", titles[i]); 40 | map.put("image", Image[i]); 41 | list.add(map); 42 | } 43 | adapter = new SimpleAdapter(getActivity(), list, R.layout.jiaoshiwode, 44 | new String[] { "title", "image" }, new int[] { R.id.text1, 45 | R.id.image1 }); 46 | listView.setAdapter(adapter); 47 | listView.setOnItemClickListener(new OnItemClickListener() { 48 | 49 | @Override 50 | public void onItemClick(AdapterView arg0, View arg1, int arg2, 51 | long arg3) { 52 | // TODO Auto-generated method stub 53 | if (arg2 == 0) { 54 | Intent intent = new Intent(getActivity(), 55 | Myzhanghu.class); 56 | intent.putExtra("name", name); 57 | intent.putExtra("pass", pass); 58 | startActivity(intent); 59 | 60 | } 61 | } 62 | }); 63 | return v; 64 | } 65 | } 66 | -------------------------------------------------------------------------------- /src/com/example/oldlady/Login.java: -------------------------------------------------------------------------------- 1 | package com.example.oldlady; 2 | 3 | import com.example.server.LoginServer; 4 | 5 | import android.os.Bundle; 6 | import android.os.Handler; 7 | import android.os.Message; 8 | import android.app.Activity; 9 | import android.content.Intent; 10 | import android.view.KeyEvent; 11 | import android.view.Menu; 12 | import android.view.View; 13 | import android.view.Window; 14 | import android.widget.EditText; 15 | import android.widget.Toast; 16 | 17 | public class Login extends Activity { 18 | 19 | private EditText editText1, editText2; 20 | 21 | @Override 22 | protected void onCreate(Bundle savedInstanceState) { 23 | super.onCreate(savedInstanceState); 24 | requestWindowFeature(Window.FEATURE_NO_TITLE); 25 | setContentView(R.layout.activity_login); 26 | editText1 = (EditText) findViewById(R.id.name); 27 | editText2 = (EditText) findViewById(R.id.pass); 28 | 29 | } 30 | 31 | // 登录按钮 32 | public void denglu(View v) { 33 | String name = editText1.getText().toString(); 34 | String pass = editText2.getText().toString(); 35 | if (name.isEmpty() || pass.isEmpty()) { 36 | Toast.makeText(Login.this, "用户名或密码为空", 0).show(); 37 | } else { 38 | String url = "http://www.huanglinqing.com/oldlady/denglu/"; 39 | // 用户登录验证 40 | new LoginServer(name, pass, url, handler).start(); 41 | } 42 | } 43 | 44 | // 登录验证线程机制 45 | private Handler handler = new Handler() { 46 | public void handleMessage(Message msg) { 47 | String json = (String) msg.obj; 48 | int index = json.indexOf("登陆成功"); 49 | int index1 = json.indexOf("密码错误"); 50 | int index2 = json.indexOf("服务器繁忙"); 51 | int index3 = json.indexOf("用户名不存在"); 52 | if (index > 0) { 53 | Toast.makeText(Login.this, "登录成功", 0).show(); 54 | Intent intent = new Intent(Login.this, MainActivity.class); 55 | String name = editText1.getText().toString(); 56 | String pass = editText2.getText().toString(); 57 | intent.putExtra("name", name); 58 | intent.putExtra("pass", pass); 59 | startActivity(intent); 60 | Login.this.finish(); 61 | 62 | } else if (index1 > 0) { 63 | Toast.makeText(Login.this, "密码错误", 0).show(); 64 | } else if (index2 > 0) { 65 | Toast.makeText(Login.this, "服务器繁忙", 0).show(); 66 | } else if (index3 > 0) { 67 | Toast.makeText(Login.this, "用户名不存在", 0).show(); 68 | } 69 | }; 70 | }; 71 | 72 | // 新用户注册按钮 73 | public void zhuce(View v) { 74 | Intent intent = new Intent(this, Regeister.class); 75 | startActivity(intent); 76 | Login.this.finish(); 77 | } 78 | 79 | // 取消按钮 80 | 81 | // 再按一次退出 82 | private static final int MSG_EXIT = 1; 83 | private static final int MSG_EXIT_WAIT = 2; 84 | private static final long EXIT_DELAY_TIME = 2000; 85 | private Handler mHandle = new Handler() { 86 | public void handleMessage(Message msg) { 87 | switch (msg.what) { 88 | case MSG_EXIT: 89 | if (mHandle.hasMessages(MSG_EXIT_WAIT)) { 90 | finish(); 91 | } else { 92 | Toast.makeText(Login.this, "再按一次返回键退出", Toast.LENGTH_SHORT) 93 | .show(); 94 | mHandle.sendEmptyMessageDelayed(MSG_EXIT_WAIT, 95 | EXIT_DELAY_TIME); 96 | } 97 | break; 98 | case MSG_EXIT_WAIT: 99 | break; 100 | } 101 | } 102 | }; 103 | 104 | public boolean onKeyDown(int keyCode, KeyEvent event) { 105 | if (KeyEvent.KEYCODE_BACK == keyCode) { 106 | mHandle.sendEmptyMessage(MSG_EXIT); 107 | return true; 108 | } 109 | return super.onKeyDown(keyCode, event); 110 | } 111 | 112 | } 113 | -------------------------------------------------------------------------------- /src/com/example/oldlady/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example.oldlady; 2 | 3 | import java.util.List; 4 | 5 | import com.example.fament.CloudeData; 6 | import com.example.fament.MyMessage; 7 | 8 | import android.os.Bundle; 9 | import android.app.Activity; 10 | import android.content.Intent; 11 | import android.graphics.Color; 12 | import android.hardware.Sensor; 13 | import android.hardware.SensorEvent; 14 | import android.hardware.SensorEventListener; 15 | import android.hardware.SensorManager; 16 | import android.support.v4.app.Fragment; 17 | import android.support.v4.app.FragmentActivity; 18 | import android.support.v4.app.FragmentManager; 19 | import android.support.v4.app.FragmentTransaction; 20 | import android.telephony.SmsManager; 21 | import android.view.Menu; 22 | import android.view.View; 23 | import android.view.Window; 24 | import android.view.View.OnClickListener; 25 | import android.widget.ImageButton; 26 | import android.widget.TextView; 27 | import android.widget.Toast; 28 | 29 | public class MainActivity extends FragmentActivity implements OnClickListener { 30 | private ImageButton left, right; 31 | private TextView textView1, textView2; 32 | private Fragment fragmentleft, fragmentright; 33 | public void onAttachFragment(Fragment fragment) { 34 | // TODO Auto-generated method stub 35 | super.onAttachFragment(fragment); 36 | if (fragmentleft == null && fragment instanceof CloudeData) { 37 | fragmentleft = (CloudeData) fragment; 38 | } else if (fragmentright == null && fragment instanceof MyMessage) { 39 | fragmentright = (MyMessage) fragment; 40 | } 41 | } 42 | 43 | @Override 44 | protected void onCreate(Bundle savedInstanceState) { 45 | super.onCreate(savedInstanceState); 46 | requestWindowFeature(Window.FEATURE_NO_TITLE); 47 | setContentView(R.layout.activity_main); 48 | init();// 系统组件初始化函数 49 | jianting(); 50 | } 51 | 52 | 53 | 54 | // 系统组件初始化函数 55 | private void init() { 56 | left = (ImageButton) findViewById(R.id.left); 57 | right = (ImageButton) findViewById(R.id.right); 58 | textView1 = (TextView) findViewById(R.id.t1); 59 | textView2 = (TextView) findViewById(R.id.t2); 60 | jianting(); 61 | resetimage(); 62 | select(0); 63 | } 64 | 65 | // 初始化监听事件 66 | private void jianting() { 67 | left.setOnClickListener(MainActivity.this); 68 | right.setOnClickListener(MainActivity.this); 69 | 70 | } 71 | 72 | // 底部菜单选择事件 73 | public void select(int i) { 74 | FragmentManager fragmentManager = getSupportFragmentManager(); 75 | FragmentTransaction transaction = fragmentManager.beginTransaction(); 76 | hideframent(transaction); 77 | switch (i) { 78 | case 0: 79 | // if (fragmentleft == null) { 80 | // fragmentleft = new CloudeData(); 81 | // Intent intent = getIntent(); 82 | // String name = intent.getStringExtra("name"); 83 | // Bundle bundle = new Bundle(); 84 | // bundle.putString("name", name); 85 | // fragmentleft.setArguments(bundle); 86 | // 87 | // transaction.add(R.id.framengt1, fragmentleft); 88 | // } else { 89 | // transaction.show(fragmentleft); 90 | // } 91 | // transaction.commit(); 92 | fragmentleft = new CloudeData(); 93 | Intent intent1 = getIntent(); 94 | String name1 = intent1.getStringExtra("name"); 95 | Bundle bundle1 = new Bundle(); 96 | bundle1.putString("name", name1); 97 | fragmentleft.setArguments(bundle1); 98 | transaction.add(R.id.framengt1, fragmentleft); 99 | left.setImageResource(R.drawable.gxuesheng); 100 | textView1.setTextColor(Color.BLUE); 101 | transaction.commit(); 102 | break; 103 | case 1: 104 | if (fragmentright == null) { 105 | fragmentright = new MyMessage(); 106 | Intent intent = getIntent(); 107 | String name = intent.getStringExtra("name"); 108 | String pass = intent.getStringExtra("pass"); 109 | Bundle bundle = new Bundle(); 110 | bundle.putString("name", name); 111 | bundle.putString("pass", pass); 112 | fragmentright.setArguments(bundle); 113 | transaction.add(R.id.framengt1, fragmentright); 114 | } else { 115 | transaction.show(fragmentright); 116 | } 117 | transaction.commit(); 118 | right.setImageResource(R.drawable.gjiaoshi); 119 | textView2.setTextColor(Color.BLUE); 120 | break; 121 | 122 | } 123 | } 124 | 125 | // 隐藏底部菜单 126 | private void hideframent(FragmentTransaction transaction) { 127 | if (fragmentleft != null) { 128 | transaction.hide(fragmentleft); 129 | } 130 | if (fragmentright != null) { 131 | transaction.hide(fragmentright); 132 | } 133 | 134 | } 135 | 136 | @Override 137 | public void onClick(View v) { 138 | // TODO Auto-generated method stub 139 | resetimage(); 140 | switch (v.getId()) { 141 | case R.id.left: 142 | select(0); 143 | break; 144 | case R.id.right: 145 | select(1); 146 | break; 147 | 148 | } 149 | } 150 | 151 | private void resetimage() { 152 | // TODO Auto-generated method stub 153 | textView1.setTextColor(Color.BLACK); 154 | textView2.setTextColor(Color.BLACK); 155 | left.setImageResource(R.drawable.guanjiaoshi0); 156 | right.setImageResource(R.drawable.guanjiaoshi0); 157 | } 158 | } 159 | -------------------------------------------------------------------------------- /src/com/example/oldlady/Myzhanghu.java: -------------------------------------------------------------------------------- 1 | package com.example.oldlady; 2 | 3 | import org.json.JSONArray; 4 | import org.json.JSONException; 5 | import org.json.JSONObject; 6 | 7 | import com.example.server.HTTPutils; 8 | import com.example.server.UpdateServer; 9 | 10 | import android.os.Bundle; 11 | import android.os.Handler; 12 | import android.app.Activity; 13 | import android.content.Intent; 14 | import android.view.Menu; 15 | import android.view.View; 16 | import android.view.Window; 17 | import android.widget.EditText; 18 | import android.widget.Toast; 19 | 20 | public class Myzhanghu extends Activity { 21 | 22 | private EditText editText1, editText2, editText3, editText4; 23 | private String tel; 24 | 25 | @Override 26 | protected void onCreate(Bundle savedInstanceState) { 27 | super.onCreate(savedInstanceState); 28 | requestWindowFeature(Window.FEATURE_NO_TITLE); 29 | setContentView(R.layout.activity_jiaoshizhanghu); 30 | editText1 = (EditText) findViewById(R.id.name); 31 | editText2 = (EditText) findViewById(R.id.pass); 32 | editText3 = (EditText) findViewById(R.id.pass2); 33 | editText4 = (EditText) findViewById(R.id.tel); 34 | editText1.setFocusable(false); 35 | Intent intent = getIntent(); 36 | String name = intent.getStringExtra("name"); 37 | String pass = intent.getStringExtra("pass"); 38 | String url = "http://www.huanglinqing.com/oldlady/gerenxinxi/getnewsJSON.php?name="; 39 | url = url + name; 40 | new HTTPutils().getNewsJSON(url, handler2); 41 | 42 | editText1.setText(name); 43 | editText2.setText(pass); 44 | editText3.setText(pass); 45 | 46 | 47 | init(); 48 | } 49 | 50 | private Handler handler2 = new Handler() { 51 | public void handleMessage(android.os.Message msg) { 52 | String json=(String) msg.obj; 53 | try { 54 | JSONArray array=new JSONArray(json); 55 | for (int i = 0; i < array.length(); i++) { 56 | JSONObject jsonObject=array.getJSONObject(i); 57 | tel=jsonObject.getString("tel"); 58 | editText4.setText(tel); 59 | } 60 | } catch (JSONException e) { 61 | // TODO Auto-generated catch block 62 | e.printStackTrace(); 63 | } 64 | }; 65 | }; 66 | 67 | // 点击退出当前登录 68 | public void zhuxiao(View v) { 69 | // Login.sp.edit().putBoolean("IsAuto", false).commit();//取消自动登录 70 | // Login.sp.edit().putInt("status", 0); 71 | startActivity(new Intent(Myzhanghu.this, Login.class)); 72 | finish(); 73 | } 74 | 75 | // 点击修改密码 76 | public void update(View v) { 77 | editText2.setText(""); 78 | editText2.setFocusableInTouchMode(true); 79 | editText3.setText(""); 80 | editText3.setFocusableInTouchMode(true); 81 | 82 | 83 | } 84 | 85 | // 保存修改 86 | public void xiugai(View v) { 87 | Intent intent = getIntent(); 88 | String pass = intent.getStringExtra("pass"); 89 | if (editText2.getText().toString().isEmpty() 90 | || editText3.getText().toString().isEmpty()) { 91 | Toast.makeText(Myzhanghu.this, "密码不能为空", 0).show(); 92 | } else if (!editText2.getText().toString() 93 | .equals(editText3.getText().toString())) { 94 | Toast.makeText(Myzhanghu.this, "两次输入的密码不一致", 0).show(); 95 | } else if (editText2.getText().toString().equals(pass)) { 96 | Toast.makeText(Myzhanghu.this, "新密码与当前密码相同", 0).show(); 97 | } else { 98 | // 更新用户密码的功能 99 | String url = "http://www.huanglinqing.com/oldlady/Updatepassword/"; 100 | String password = editText2.getText().toString(); 101 | String name = intent.getStringExtra("name"); 102 | new UpdateServer(name, password, url, handler).start(); 103 | } 104 | } 105 | 106 | private Handler handler = new Handler() { 107 | public void handleMessage(android.os.Message msg) { 108 | String result = (String) msg.obj; 109 | int result1 = result.indexOf("修改成功"); 110 | if (result1 > 0) { 111 | Toast.makeText(Myzhanghu.this, "密码修改成功,请重新登录", 0).show(); 112 | startActivity(new Intent(Myzhanghu.this, Login.class)); 113 | Myzhanghu.this.finish(); 114 | } 115 | }; 116 | }; 117 | 118 | private void init() { 119 | editText2.setFocusable(false); 120 | editText3.setFocusable(false); 121 | editText4.setFocusable(false); 122 | } 123 | 124 | } 125 | -------------------------------------------------------------------------------- /src/com/example/oldlady/Regeister.java: -------------------------------------------------------------------------------- 1 | package com.example.oldlady; 2 | 3 | import com.example.server.RegeisterServer; 4 | 5 | import android.os.Bundle; 6 | import android.os.Handler; 7 | import android.app.Activity; 8 | import android.content.Intent; 9 | import android.view.Menu; 10 | import android.view.View; 11 | import android.view.Window; 12 | import android.widget.EditText; 13 | import android.widget.Toast; 14 | 15 | public class Regeister extends Activity { 16 | 17 | private EditText editText1, editText2, editText3, editText4; 18 | 19 | @Override 20 | protected void onCreate(Bundle savedInstanceState) { 21 | super.onCreate(savedInstanceState); 22 | requestWindowFeature(Window.FEATURE_NO_TITLE); 23 | setContentView(R.layout.activity_regeister); 24 | editText1 = (EditText) findViewById(R.id.user); 25 | editText2 = (EditText) findViewById(R.id.pass1); 26 | editText3 = (EditText) findViewById(R.id.pass2); 27 | editText4 = (EditText) findViewById(R.id.phone); 28 | } 29 | 30 | // 取消按钮 31 | public void back(View v) { 32 | Intent intent = new Intent(Regeister.this, Login.class); 33 | startActivity(intent); 34 | Regeister.this.finish(); 35 | } 36 | 37 | // 注册按钮 38 | public void zhuce(View v) { 39 | String name = editText1.getText().toString(); 40 | String pass1 = editText2.getText().toString(); 41 | String pass2 = editText3.getText().toString(); 42 | String phone = editText4.getText().toString(); 43 | 44 | if (name.isEmpty() || pass1.isEmpty() || pass2.isEmpty() 45 | || phone.isEmpty()) { 46 | Toast.makeText(Regeister.this, "您输入的信息不完整", 0).show(); 47 | } else if (!pass1.equals(pass2)) { 48 | Toast.makeText(Regeister.this, "两次输入的密码不一致", 0).show(); 49 | 50 | } else { 51 | String url = "http://www.huanglinqing.com/oldlady/zhuce/"; 52 | // 存储用户信息 53 | new RegeisterServer(name, pass1, phone, url, handler).start(); 54 | } 55 | 56 | } 57 | 58 | // 注册线程机制 59 | private Handler handler = new Handler() { 60 | public void handleMessage(android.os.Message msg) { 61 | String json = (String) msg.obj; 62 | int index = json.indexOf("注册成功"); 63 | if (index > 0) { 64 | Toast.makeText(Regeister.this, "注册成功", 0).show(); 65 | startActivity(new Intent(Regeister.this, Login.class)); 66 | Regeister.this.finish(); 67 | } else { 68 | Toast.makeText(Regeister.this, "注册失败,请稍后重试", 0).show(); 69 | } 70 | 71 | }; 72 | }; 73 | } 74 | -------------------------------------------------------------------------------- /src/com/example/oldlady/Round.java: -------------------------------------------------------------------------------- 1 | package com.example.oldlady; 2 | 3 | import android.content.Context; 4 | import android.graphics.Bitmap; 5 | import android.graphics.Bitmap.Config; 6 | import android.graphics.Canvas; 7 | import android.graphics.Paint; 8 | import android.graphics.PorterDuff.Mode; 9 | import android.graphics.PorterDuffXfermode; 10 | import android.graphics.Rect; 11 | import android.graphics.drawable.BitmapDrawable; 12 | import android.graphics.drawable.Drawable; 13 | import android.util.AttributeSet; 14 | import android.widget.ImageView; 15 | 16 | /** 17 | * 自定义的圆形ImageView,可以直接当组件在布局中使用。 18 | * @author caizhiming 19 | * 20 | */ 21 | public class Round extends ImageView{ 22 | 23 | private Paint paint ; 24 | 25 | public Round(Context context) { 26 | this(context,null); 27 | } 28 | 29 | public Round(Context context, AttributeSet attrs) { 30 | this(context, attrs,0); 31 | } 32 | 33 | public Round(Context context, AttributeSet attrs, int defStyle) { 34 | super(context, attrs, defStyle); 35 | paint = new Paint(); 36 | 37 | } 38 | 39 | /** 40 | * 绘制圆形图片 41 | * @author caizhiming 42 | */ 43 | @Override 44 | protected void onDraw(Canvas canvas) { 45 | 46 | Drawable drawable = getDrawable(); 47 | if (null != drawable) { 48 | Bitmap bitmap = ((BitmapDrawable) drawable).getBitmap(); 49 | Bitmap b = getCircleBitmap(bitmap, 14); 50 | final Rect rectSrc = new Rect(0, 0, b.getWidth(), b.getHeight()); 51 | final Rect rectDest = new Rect(0,0,getWidth(),getHeight()); 52 | paint.reset(); 53 | canvas.drawBitmap(b, rectSrc, rectDest, paint); 54 | 55 | } else { 56 | super.onDraw(canvas); 57 | } 58 | } 59 | 60 | /** 61 | * 获取圆形图片方法 62 | * @param bitmap 63 | * @param pixels 64 | * @return Bitmap 65 | * @author caizhiming 66 | */ 67 | private Bitmap getCircleBitmap(Bitmap bitmap, int pixels) { 68 | Bitmap output = Bitmap.createBitmap(bitmap.getWidth(), 69 | bitmap.getHeight(), Config.ARGB_8888); 70 | Canvas canvas = new Canvas(output); 71 | 72 | final int color = 0xff424242; 73 | 74 | final Rect rect = new Rect(0, 0, bitmap.getWidth(), bitmap.getHeight()); 75 | paint.setAntiAlias(true); 76 | canvas.drawARGB(0, 0, 0, 0); 77 | paint.setColor(color); 78 | int x = bitmap.getWidth(); 79 | 80 | canvas.drawCircle(x / 2, x / 2, x / 2, paint); 81 | paint.setXfermode(new PorterDuffXfermode(Mode.SRC_IN)); 82 | canvas.drawBitmap(bitmap, rect, rect, paint); 83 | return output; 84 | 85 | 86 | } 87 | } -------------------------------------------------------------------------------- /src/com/example/oldlady/Welcome.java: -------------------------------------------------------------------------------- 1 | package com.example.oldlady; 2 | 3 | import android.os.Bundle; 4 | import android.os.Handler; 5 | import android.app.Activity; 6 | import android.content.Intent; 7 | import android.view.Menu; 8 | import android.view.Window; 9 | 10 | public class Welcome extends Activity { 11 | 12 | @Override 13 | protected void onCreate(Bundle savedInstanceState) { 14 | super.onCreate(savedInstanceState); 15 | requestWindowFeature(Window.FEATURE_NO_TITLE); 16 | setContentView(R.layout.activity_welcome); 17 | new Handler().postDelayed(new Runnable() { 18 | 19 | @Override 20 | public void run() { 21 | // TODO Auto-generated method stub 22 | startActivity(new Intent(Welcome.this,Login.class)); 23 | Welcome.this.finish(); 24 | } 25 | }, 2000); 26 | 27 | } 28 | 29 | 30 | 31 | } 32 | -------------------------------------------------------------------------------- /src/com/example/server/HTTPutils.java: -------------------------------------------------------------------------------- 1 | package com.example.server; 2 | import java.io.BufferedReader; 3 | import java.io.IOException; 4 | import java.io.InputStream; 5 | import java.io.InputStreamReader; 6 | import java.net.HttpURLConnection; 7 | import java.net.MalformedURLException; 8 | import java.net.URI; 9 | import java.net.URL; 10 | 11 | import android.graphics.Bitmap; 12 | import android.graphics.BitmapFactory; 13 | import android.os.Handler; 14 | import android.os.Message; 15 | import android.widget.ImageView; 16 | 17 | public class HTTPutils { 18 | public static void getNewsJSON(final String url,final Handler handler) { 19 | new Thread(new Runnable() { 20 | 21 | @Override 22 | public void run() { 23 | // TODO Auto-generated method stub 24 | HttpURLConnection connection; 25 | InputStream is; 26 | try { 27 | connection = (HttpURLConnection) new URL(url) 28 | .openConnection(); 29 | connection.setRequestMethod("GET"); 30 | is=connection.getInputStream(); 31 | BufferedReader bufferedReader=new BufferedReader(new InputStreamReader(is)); 32 | String line=""; 33 | StringBuilder result = new StringBuilder(); 34 | while((line=bufferedReader.readLine())!=null){ 35 | result.append(line); 36 | } 37 | Message message=new Message(); 38 | message.obj=result.toString(); 39 | handler.sendMessage(message); 40 | } catch (MalformedURLException e) { 41 | // TODO Auto-generated catch block 42 | e.printStackTrace(); 43 | } catch (IOException e) { 44 | // TODO Auto-generated catch block 45 | e.printStackTrace(); 46 | } 47 | 48 | } 49 | }).start(); 50 | } 51 | public static void setPicBitmap(final ImageView ima, final String pic_url){ 52 | new Thread(new Runnable() { 53 | 54 | @Override 55 | public void run() { 56 | // TODO Auto-generated method stub 57 | try { 58 | HttpURLConnection cono=(HttpURLConnection) new URL(pic_url).openConnection(); 59 | cono.connect(); 60 | InputStream is=cono.getInputStream(); 61 | Bitmap bitmap=BitmapFactory.decodeStream(is); 62 | ima.setImageBitmap(bitmap); 63 | is.close(); 64 | 65 | } catch (Exception e) { 66 | // TODO Auto-generated catch block 67 | e.printStackTrace(); 68 | } 69 | 70 | } 71 | }).start(); 72 | } 73 | } 74 | -------------------------------------------------------------------------------- /src/com/example/server/LoginServer.java: -------------------------------------------------------------------------------- 1 | package com.example.server; 2 | 3 | 4 | import java.io.BufferedReader; 5 | import java.io.IOException; 6 | import java.io.InputStreamReader; 7 | import java.io.OutputStream; 8 | import java.net.HttpURLConnection; 9 | import java.net.MalformedURLException; 10 | import java.net.URL; 11 | 12 | import android.os.Handler; 13 | import android.os.Message; 14 | 15 | public class LoginServer extends Thread { 16 | private String name; 17 | private String password; 18 | 19 | private Handler handler; 20 | private String url; 21 | 22 | public LoginServer(String name, String password, String url,Handler handler) { 23 | this.name = name; 24 | this.password = password; 25 | 26 | this.url = url; 27 | this.handler=handler; 28 | } 29 | 30 | private void doget() { 31 | url=url+"?name="+name+"&&password="+password; 32 | try { 33 | URL httpurl=new URL(url); 34 | try { 35 | HttpURLConnection connection=(HttpURLConnection) httpurl.openConnection(); 36 | connection.setRequestMethod("GET"); 37 | connection.setReadTimeout(5000); 38 | BufferedReader bufferedReader=new BufferedReader(new InputStreamReader(connection.getInputStream())); 39 | String str; 40 | StringBuffer stringBuffer=new StringBuffer(); 41 | while((str=bufferedReader.readLine())!=null) 42 | { 43 | stringBuffer.append(str); 44 | } 45 | String jkkk=stringBuffer.toString(); 46 | Message message=new Message(); 47 | message.obj=jkkk; 48 | handler.sendMessage(message); 49 | } catch (IOException e) { 50 | // TODO Auto-generated catch block 51 | e.printStackTrace(); 52 | } 53 | } catch (MalformedURLException e) { 54 | // TODO Auto-generated catch block 55 | e.printStackTrace(); 56 | } 57 | } 58 | // private void dopost() { 59 | // try { 60 | // URL httpurl = new URL(url); 61 | // try { 62 | // HttpURLConnection connection = (HttpURLConnection) httpurl 63 | // .openConnection(); 64 | // connection.setRequestMethod("POST"); 65 | // connection.setReadTimeout(5000); 66 | // OutputStream outputStream = connection.getOutputStream(); 67 | // String content = "name=" + name + "&&password=" + password 68 | // + "&&phone=" + phone + "&&sex=" + sex + "&&touxiang=" 69 | // + touxiang; 70 | // outputStream.write(content.getBytes()); 71 | // BufferedReader bufferedReader = new BufferedReader( 72 | // new InputStreamReader(connection.getInputStream())); 73 | // StringBuffer stringBuffer = new StringBuffer(); 74 | // String str; 75 | // while ((str = bufferedReader.readLine()) != null) { 76 | // stringBuffer.append(str); 77 | // } 78 | // String jkkk = stringBuffer.toString(); 79 | // Message message = new Message(); 80 | // message.obj = jkkk; 81 | // handler.sendMessage(message); 82 | // 83 | // } catch (IOException e) { 84 | // // TODO Auto-generated catch block 85 | // e.printStackTrace(); 86 | // } 87 | // } catch (MalformedURLException e) { 88 | // // TODO Auto-generated catch block 89 | // e.printStackTrace(); 90 | // } 91 | // } 92 | 93 | public void run() { 94 | doget(); 95 | } 96 | } 97 | -------------------------------------------------------------------------------- /src/com/example/server/RegeisterServer.java: -------------------------------------------------------------------------------- 1 | package com.example.server; 2 | 3 | 4 | import java.io.BufferedReader; 5 | import java.io.IOException; 6 | import java.io.InputStreamReader; 7 | import java.io.OutputStream; 8 | import java.net.HttpURLConnection; 9 | import java.net.MalformedURLException; 10 | import java.net.URL; 11 | 12 | import android.os.Handler; 13 | import android.os.Message; 14 | 15 | public class RegeisterServer extends Thread { 16 | private String name; 17 | private String password; 18 | private String phone; 19 | private String url; 20 | private Handler handler; 21 | 22 | 23 | public RegeisterServer(String name, String password,String phone,String url,Handler handler) { 24 | this.name = name; 25 | this.password = password; 26 | this.phone=phone; 27 | this.url=url; 28 | this.handler=handler; 29 | 30 | } 31 | 32 | private void doget() { 33 | url=url+"?name="+name+"&&password="+password+"&&phone="+phone; 34 | try { 35 | URL httpurl=new URL(url); 36 | try { 37 | HttpURLConnection connection=(HttpURLConnection) httpurl.openConnection(); 38 | connection.setRequestMethod("GET"); 39 | connection.setReadTimeout(5000); 40 | BufferedReader bufferedReader=new BufferedReader(new InputStreamReader(connection.getInputStream())); 41 | String str; 42 | StringBuffer stringBuffer=new StringBuffer(); 43 | while((str=bufferedReader.readLine())!=null) 44 | { 45 | stringBuffer.append(str); 46 | } 47 | String jkkk=stringBuffer.toString(); 48 | Message message=new Message(); 49 | message.obj=jkkk; 50 | handler.sendMessage(message); 51 | } catch (IOException e) { 52 | // TODO Auto-generated catch block 53 | e.printStackTrace(); 54 | } 55 | } catch (MalformedURLException e) { 56 | // TODO Auto-generated catch block 57 | e.printStackTrace(); 58 | } 59 | } 60 | // private void dopost() { 61 | // try { 62 | // URL httpurl = new URL(url); 63 | // try { 64 | // HttpURLConnection connection = (HttpURLConnection) httpurl 65 | // .openConnection(); 66 | // connection.setRequestMethod("POST"); 67 | // connection.setReadTimeout(5000); 68 | // OutputStream outputStream = connection.getOutputStream(); 69 | // String content = "name=" + name + "&&password=" + password 70 | // + "&&phone=" + phone + "&&sex=" + sex + "&&touxiang=" 71 | // + touxiang; 72 | // outputStream.write(content.getBytes()); 73 | // BufferedReader bufferedReader = new BufferedReader( 74 | // new InputStreamReader(connection.getInputStream())); 75 | // StringBuffer stringBuffer = new StringBuffer(); 76 | // String str; 77 | // while ((str = bufferedReader.readLine()) != null) { 78 | // stringBuffer.append(str); 79 | // } 80 | // String jkkk = stringBuffer.toString(); 81 | // Message message = new Message(); 82 | // message.obj = jkkk; 83 | // handler.sendMessage(message); 84 | // 85 | // } catch (IOException e) { 86 | // // TODO Auto-generated catch block 87 | // e.printStackTrace(); 88 | // } 89 | // } catch (MalformedURLException e) { 90 | // // TODO Auto-generated catch block 91 | // e.printStackTrace(); 92 | // } 93 | // } 94 | 95 | public void run() { 96 | doget(); 97 | } 98 | } 99 | -------------------------------------------------------------------------------- /src/com/example/server/UpdateServer.java: -------------------------------------------------------------------------------- 1 | package com.example.server; 2 | 3 | 4 | import java.io.BufferedReader; 5 | import java.io.IOException; 6 | import java.io.InputStreamReader; 7 | import java.net.HttpURLConnection; 8 | import java.net.MalformedURLException; 9 | import java.net.URL; 10 | 11 | import android.os.Handler; 12 | import android.os.Message; 13 | 14 | public class UpdateServer extends Thread { 15 | private String name; 16 | private String password; 17 | private Handler handler; 18 | private String url; 19 | 20 | public UpdateServer(String name, String password, String url,Handler handler) { 21 | this.name = name; 22 | this.password = password; 23 | this.url = url; 24 | this.handler=handler; 25 | } 26 | 27 | private void doget() { 28 | url=url+"?name="+name+"&&password="+password; 29 | try { 30 | URL httpurl=new URL(url); 31 | try { 32 | HttpURLConnection connection=(HttpURLConnection) httpurl.openConnection(); 33 | connection.setRequestMethod("GET"); 34 | connection.setReadTimeout(5000); 35 | BufferedReader bufferedReader=new BufferedReader(new InputStreamReader(connection.getInputStream())); 36 | String str; 37 | StringBuffer stringBuffer=new StringBuffer(); 38 | while((str=bufferedReader.readLine())!=null) 39 | { 40 | stringBuffer.append(str); 41 | } 42 | String jkkk=stringBuffer.toString(); 43 | Message message=new Message(); 44 | message.obj=jkkk; 45 | handler.sendMessage(message); 46 | } catch (IOException e) { 47 | // TODO Auto-generated catch block 48 | e.printStackTrace(); 49 | } 50 | } catch (MalformedURLException e) { 51 | // TODO Auto-generated catch block 52 | e.printStackTrace(); 53 | } 54 | } 55 | 56 | public void run() { 57 | doget(); 58 | } 59 | } 60 | --------------------------------------------------------------------------------