Commit 72c8807731c5b9b272b9afbf456edc1aa2406c79
1 parent
2072b147
Exists in
master
iniciando os modulos de projetos e da camara
Showing
58 changed files
with
1822 additions
and
57 deletions
Show diff stats
... | ... | @@ -0,0 +1,11 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="MPAndroidChart-v2.1.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.github.PhilJay/MPAndroidChart/v2.1.0/ec46f9251e1e0ee60e1b6beae8b16f2e0fdee474/MPAndroidChart-v2.1.0.jar!/" /> | |
5 | + </CLASSES> | |
6 | + <JAVADOC /> | |
7 | + <SOURCES> | |
8 | + <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.github.PhilJay/MPAndroidChart/v2.1.0/35464e3d77fb61541890501312dd57a72844fa73/MPAndroidChart-v2.1.0-sources.jar!/" /> | |
9 | + </SOURCES> | |
10 | + </library> | |
11 | +</component> | |
0 | 12 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="answers-1.2.2"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.crashlytics.sdk.android/answers/1.2.2/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.crashlytics.sdk.android/answers/1.2.2/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,15 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="appcompat-v7-22.2.0"> | |
3 | + <ANNOTATIONS> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.0/annotations.zip!/" /> | |
5 | + </ANNOTATIONS> | |
6 | + <CLASSES> | |
7 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.0/jars/classes.jar!/" /> | |
8 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.0/res" /> | |
9 | + </CLASSES> | |
10 | + <JAVADOC /> | |
11 | + <SOURCES> | |
12 | + <root url="jar://$USER_HOME$/dev/sdk/extras/android/m2repository/com/android/support/appcompat-v7/22.2.0/appcompat-v7-22.2.0-sources.jar!/" /> | |
13 | + </SOURCES> | |
14 | + </library> | |
15 | +</component> | |
0 | 16 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="beta-1.1.3"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.crashlytics.sdk.android/beta/1.1.3/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.crashlytics.sdk.android/beta/1.1.3/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,11 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="bolts-android-1.2.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.parse.bolts/bolts-android/1.2.0/6ee2953ccf51ce72b6d548c30c4633b99eb4f9dd/bolts-android-1.2.0.jar!/" /> | |
5 | + </CLASSES> | |
6 | + <JAVADOC /> | |
7 | + <SOURCES> | |
8 | + <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.parse.bolts/bolts-android/1.2.0/857ff136219a186d2cccbf25977e2d00c38c5e3d/bolts-android-1.2.0-sources.jar!/" /> | |
9 | + </SOURCES> | |
10 | + </library> | |
11 | +</component> | |
0 | 12 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,12 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="cardview-v7-22.2.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/cardview-v7/22.2.0/jars/classes.jar!/" /> | |
5 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/cardview-v7/22.2.0/res" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES> | |
9 | + <root url="jar://$USER_HOME$/dev/sdk/extras/android/m2repository/com/android/support/cardview-v7/22.2.0/cardview-v7-22.2.0-sources.jar!/" /> | |
10 | + </SOURCES> | |
11 | + </library> | |
12 | +</component> | |
0 | 13 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="crashlytics-2.4.0"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.crashlytics.sdk.android/crashlytics/2.4.0/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.crashlytics.sdk.android/crashlytics/2.4.0/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="crashlytics-core-2.3.3"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.crashlytics.sdk.android/crashlytics-core/2.3.3/jars/classes.jar!/" /> | |
5 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.crashlytics.sdk.android/crashlytics-core/2.3.3/res" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,13 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="design-22.2.0"> | |
3 | + <ANNOTATIONS> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/design/22.2.0/annotations.zip!/" /> | |
5 | + </ANNOTATIONS> | |
6 | + <CLASSES> | |
7 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/design/22.2.0/res" /> | |
8 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/design/22.2.0/jars/classes.jar!/" /> | |
9 | + </CLASSES> | |
10 | + <JAVADOC /> | |
11 | + <SOURCES /> | |
12 | + </library> | |
13 | +</component> | |
0 | 14 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="fabric-1.3.4"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/io.fabric.sdk.android/fabric/1.3.4/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/io.fabric.sdk.android/fabric/1.3.4/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,11 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="gson-2.3.1"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.3.1/ecb6e1f8e4b0e84c4b886c2f14a1500caf309757/gson-2.3.1.jar!/" /> | |
5 | + </CLASSES> | |
6 | + <JAVADOC /> | |
7 | + <SOURCES> | |
8 | + <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.3.1/563dcb685903c96ce8abbd03adf7fa49e19aa8b4/gson-2.3.1-sources.jar!/" /> | |
9 | + </SOURCES> | |
10 | + </library> | |
11 | +</component> | |
0 | 12 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="iconics-1.0.2"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.mikepenz/iconics/1.0.2/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.mikepenz/iconics/1.0.2/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="materialdrawer-3.0.6"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.mikepenz/materialdrawer/3.0.6/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.mikepenz/materialdrawer/3.0.6/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,14 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="mediarouter-v7-22.0.0"> | |
3 | + <ANNOTATIONS> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/mediarouter-v7/22.0.0/annotations.zip!/" /> | |
5 | + </ANNOTATIONS> | |
6 | + <CLASSES> | |
7 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/mediarouter-v7/22.0.0/jars/classes.jar!/" /> | |
8 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/mediarouter-v7/22.0.0/res" /> | |
9 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/mediarouter-v7/22.0.0/jars/libs/internal_impl-22.0.0.jar!/" /> | |
10 | + </CLASSES> | |
11 | + <JAVADOC /> | |
12 | + <SOURCES /> | |
13 | + </library> | |
14 | +</component> | |
0 | 15 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services/7.5.0/jars/classes.jar!/" /> | |
5 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services/7.5.0/res" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-ads-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-ads/7.5.0/jars/classes.jar!/" /> | |
5 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-ads/7.5.0/res" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-analytics-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-analytics/7.5.0/jars/classes.jar!/" /> | |
5 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-analytics/7.5.0/res" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-appindexing-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-appindexing/7.5.0/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-appindexing/7.5.0/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-appinvite-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-appinvite/7.5.0/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-appinvite/7.5.0/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-appstate-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-appstate/7.5.0/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-appstate/7.5.0/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-base-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-base/7.5.0/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-base/7.5.0/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-cast-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-cast/7.5.0/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-cast/7.5.0/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-drive-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-drive/7.5.0/jars/classes.jar!/" /> | |
5 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-drive/7.5.0/res" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-fitness-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-fitness/7.5.0/jars/classes.jar!/" /> | |
5 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-fitness/7.5.0/res" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-games-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-games/7.5.0/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-games/7.5.0/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-gcm-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-gcm/7.5.0/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-gcm/7.5.0/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-identity-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-identity/7.5.0/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-identity/7.5.0/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-location-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-location/7.5.0/jars/classes.jar!/" /> | |
5 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-location/7.5.0/res" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-maps-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-maps/7.5.0/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-maps/7.5.0/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-nearby-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-nearby/7.5.0/jars/classes.jar!/" /> | |
5 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-nearby/7.5.0/res" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-panorama-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-panorama/7.5.0/jars/classes.jar!/" /> | |
5 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-panorama/7.5.0/res" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-plus-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-plus/7.5.0/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-plus/7.5.0/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-safetynet-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-safetynet/7.5.0/jars/classes.jar!/" /> | |
5 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-safetynet/7.5.0/res" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-wallet-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-wallet/7.5.0/res" /> | |
5 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-wallet/7.5.0/jars/classes.jar!/" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,10 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="play-services-wearable-7.5.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-wearable/7.5.0/jars/classes.jar!/" /> | |
5 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.google.android.gms/play-services-wearable/7.5.0/res" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES /> | |
9 | + </library> | |
10 | +</component> | |
0 | 11 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,12 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="recyclerview-v7-22.2.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/22.2.0/jars/classes.jar!/" /> | |
5 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/22.2.0/res" /> | |
6 | + </CLASSES> | |
7 | + <JAVADOC /> | |
8 | + <SOURCES> | |
9 | + <root url="jar://$USER_HOME$/dev/sdk/extras/android/m2repository/com/android/support/recyclerview-v7/22.2.0/recyclerview-v7-22.2.0-sources.jar!/" /> | |
10 | + </SOURCES> | |
11 | + </library> | |
12 | +</component> | |
0 | 13 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,11 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="support-annotations-22.2.0"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$USER_HOME$/dev/sdk/extras/android/m2repository/com/android/support/support-annotations/22.2.0/support-annotations-22.2.0.jar!/" /> | |
5 | + </CLASSES> | |
6 | + <JAVADOC /> | |
7 | + <SOURCES> | |
8 | + <root url="jar://$USER_HOME$/dev/sdk/extras/android/m2repository/com/android/support/support-annotations/22.2.0/support-annotations-22.2.0-sources.jar!/" /> | |
9 | + </SOURCES> | |
10 | + </library> | |
11 | +</component> | |
0 | 12 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,16 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="support-v4-22.2.0"> | |
3 | + <ANNOTATIONS> | |
4 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-v4/22.2.0/annotations.zip!/" /> | |
5 | + </ANNOTATIONS> | |
6 | + <CLASSES> | |
7 | + <root url="file://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-v4/22.2.0/res" /> | |
8 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-v4/22.2.0/jars/classes.jar!/" /> | |
9 | + <root url="jar://$PROJECT_DIR$/app/build/intermediates/exploded-aar/com.android.support/support-v4/22.2.0/jars/libs/internal_impl-22.2.0.jar!/" /> | |
10 | + </CLASSES> | |
11 | + <JAVADOC /> | |
12 | + <SOURCES> | |
13 | + <root url="jar://$USER_HOME$/dev/sdk/extras/android/m2repository/com/android/support/support-v4/22.2.0/support-v4-22.2.0-sources.jar!/" /> | |
14 | + </SOURCES> | |
15 | + </library> | |
16 | +</component> | |
0 | 17 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,11 @@ |
1 | +<component name="libraryTable"> | |
2 | + <library name="universal-image-loader-1.9.3"> | |
3 | + <CLASSES> | |
4 | + <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.nostra13.universalimageloader/universal-image-loader/1.9.3/a85588bec3e2c4584d593d3f15df1677321bca72/universal-image-loader-1.9.3.jar!/" /> | |
5 | + </CLASSES> | |
6 | + <JAVADOC /> | |
7 | + <SOURCES> | |
8 | + <root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.nostra13.universalimageloader/universal-image-loader/1.9.3/3af7bbe53f48e328c99582dd15d6e5e7dbe1c27a/universal-image-loader-1.9.3-sources.jar!/" /> | |
9 | + </SOURCES> | |
10 | + </library> | |
11 | +</component> | |
0 | 12 | \ No newline at end of file | ... | ... |
app/app.iml
... | ... | @@ -72,12 +72,34 @@ |
72 | 72 | <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.0/jars" /> |
73 | 73 | <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/cardview-v7/22.2.0/jars" /> |
74 | 74 | <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/design/22.2.0/jars" /> |
75 | - <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/21.0.3/jars" /> | |
75 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/mediarouter-v7/22.0.0/jars" /> | |
76 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/22.2.0/jars" /> | |
76 | 77 | <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.android.support/support-v4/22.2.0/jars" /> |
77 | 78 | <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.crashlytics.sdk.android/answers/1.2.2/jars" /> |
78 | 79 | <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.crashlytics.sdk.android/beta/1.1.3/jars" /> |
79 | 80 | <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.crashlytics.sdk.android/crashlytics-core/2.3.3/jars" /> |
80 | 81 | <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.crashlytics.sdk.android/crashlytics/2.4.0/jars" /> |
82 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-ads/7.5.0/jars" /> | |
83 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-analytics/7.5.0/jars" /> | |
84 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-appindexing/7.5.0/jars" /> | |
85 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-appinvite/7.5.0/jars" /> | |
86 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-appstate/7.5.0/jars" /> | |
87 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-base/7.5.0/jars" /> | |
88 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-cast/7.5.0/jars" /> | |
89 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-drive/7.5.0/jars" /> | |
90 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-fitness/7.5.0/jars" /> | |
91 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-games/7.5.0/jars" /> | |
92 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-gcm/7.5.0/jars" /> | |
93 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-identity/7.5.0/jars" /> | |
94 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-location/7.5.0/jars" /> | |
95 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-maps/7.5.0/jars" /> | |
96 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-nearby/7.5.0/jars" /> | |
97 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-panorama/7.5.0/jars" /> | |
98 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-plus/7.5.0/jars" /> | |
99 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-safetynet/7.5.0/jars" /> | |
100 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-wallet/7.5.0/jars" /> | |
101 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services-wearable/7.5.0/jars" /> | |
102 | + <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.google.android.gms/play-services/7.5.0/jars" /> | |
81 | 103 | <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.mikepenz/iconics/1.0.2/jars" /> |
82 | 104 | <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/com.mikepenz/materialdrawer/3.0.6/jars" /> |
83 | 105 | <excludeFolder url="file://$MODULE_DIR$/build/intermediates/exploded-aar/io.fabric.sdk.android/fabric/1.3.4/jars" /> |
... | ... | @@ -98,22 +120,45 @@ |
98 | 120 | </content> |
99 | 121 | <orderEntry type="jdk" jdkName="Android API 22 Platform" jdkType="Android SDK" /> |
100 | 122 | <orderEntry type="sourceFolder" forTests="false" /> |
123 | + <orderEntry type="library" exported="" name="play-services-wallet-7.5.0" level="project" /> | |
101 | 124 | <orderEntry type="library" exported="" name="gson-2.3.1" level="project" /> |
125 | + <orderEntry type="library" exported="" name="play-services-cast-7.5.0" level="project" /> | |
126 | + <orderEntry type="library" exported="" name="mediarouter-v7-22.0.0" level="project" /> | |
127 | + <orderEntry type="library" exported="" name="recyclerview-v7-22.2.0" level="project" /> | |
128 | + <orderEntry type="library" exported="" name="play-services-drive-7.5.0" level="project" /> | |
129 | + <orderEntry type="library" exported="" name="support-annotations-22.2.0" level="project" /> | |
130 | + <orderEntry type="library" exported="" name="play-services-analytics-7.5.0" level="project" /> | |
131 | + <orderEntry type="library" exported="" name="play-services-panorama-7.5.0" level="project" /> | |
132 | + <orderEntry type="library" exported="" name="materialdrawer-3.0.6" level="project" /> | |
133 | + <orderEntry type="library" exported="" name="appcompat-v7-22.2.0" level="project" /> | |
134 | + <orderEntry type="library" exported="" name="play-services-appindexing-7.5.0" level="project" /> | |
135 | + <orderEntry type="library" exported="" name="play-services-location-7.5.0" level="project" /> | |
136 | + <orderEntry type="library" exported="" name="Parse-1.9.2" level="project" /> | |
137 | + <orderEntry type="library" exported="" name="play-services-ads-7.5.0" level="project" /> | |
138 | + <orderEntry type="library" exported="" name="play-services-safetynet-7.5.0" level="project" /> | |
139 | + <orderEntry type="library" exported="" name="play-services-base-7.5.0" level="project" /> | |
140 | + <orderEntry type="library" exported="" name="play-services-7.5.0" level="project" /> | |
141 | + <orderEntry type="library" exported="" name="play-services-gcm-7.5.0" level="project" /> | |
142 | + <orderEntry type="library" exported="" name="bolts-android-1.2.0" level="project" /> | |
143 | + <orderEntry type="library" exported="" name="play-services-appinvite-7.5.0" level="project" /> | |
102 | 144 | <orderEntry type="library" exported="" name="iconics-1.0.2" level="project" /> |
103 | 145 | <orderEntry type="library" exported="" name="fabric-1.3.4" level="project" /> |
104 | 146 | <orderEntry type="library" exported="" name="beta-1.1.3" level="project" /> |
105 | - <orderEntry type="library" exported="" name="support-annotations-22.2.0" level="project" /> | |
106 | 147 | <orderEntry type="library" exported="" name="support-v4-22.2.0" level="project" /> |
148 | + <orderEntry type="library" exported="" name="universal-image-loader-1.9.3" level="project" /> | |
107 | 149 | <orderEntry type="library" exported="" name="crashlytics-core-2.3.3" level="project" /> |
108 | - <orderEntry type="library" exported="" name="materialdrawer-3.0.6" level="project" /> | |
109 | - <orderEntry type="library" exported="" name="appcompat-v7-22.2.0" level="project" /> | |
150 | + <orderEntry type="library" exported="" name="play-services-fitness-7.5.0" level="project" /> | |
151 | + <orderEntry type="library" exported="" name="play-services-nearby-7.5.0" level="project" /> | |
110 | 152 | <orderEntry type="library" exported="" name="crashlytics-2.4.0" level="project" /> |
111 | - <orderEntry type="library" exported="" name="Parse-1.9.2" level="project" /> | |
112 | - <orderEntry type="library" exported="" name="recyclerview-v7-21.0.3" level="project" /> | |
153 | + <orderEntry type="library" exported="" name="play-services-plus-7.5.0" level="project" /> | |
154 | + <orderEntry type="library" exported="" name="play-services-wearable-7.5.0" level="project" /> | |
155 | + <orderEntry type="library" exported="" name="play-services-appstate-7.5.0" level="project" /> | |
156 | + <orderEntry type="library" exported="" name="play-services-games-7.5.0" level="project" /> | |
157 | + <orderEntry type="library" exported="" name="play-services-identity-7.5.0" level="project" /> | |
113 | 158 | <orderEntry type="library" exported="" name="MPAndroidChart-v2.1.0" level="project" /> |
114 | - <orderEntry type="library" exported="" name="bolts-android-1.2.0" level="project" /> | |
115 | - <orderEntry type="library" exported="" name="design-22.2.0" level="project" /> | |
116 | 159 | <orderEntry type="library" exported="" name="answers-1.2.2" level="project" /> |
160 | + <orderEntry type="library" exported="" name="design-22.2.0" level="project" /> | |
161 | + <orderEntry type="library" exported="" name="play-services-maps-7.5.0" level="project" /> | |
117 | 162 | <orderEntry type="library" exported="" name="cardview-v7-22.2.0" level="project" /> |
118 | 163 | </component> |
119 | 164 | </module> |
120 | 165 | \ No newline at end of file | ... | ... |
app/build.gradle
... | ... | @@ -23,8 +23,8 @@ android { |
23 | 23 | applicationId "com.monitorabrasil.monitoramunicipio" |
24 | 24 | minSdkVersion 15 |
25 | 25 | targetSdkVersion 22 |
26 | - versionCode 2 | |
27 | - versionName "0.2" | |
26 | + versionCode 4 | |
27 | + versionName "0.4" | |
28 | 28 | } |
29 | 29 | buildTypes { |
30 | 30 | release { |
... | ... | @@ -36,20 +36,22 @@ android { |
36 | 36 | |
37 | 37 | dependencies { |
38 | 38 | compile fileTree(dir: 'libs', include: ['*.jar']) |
39 | - compile 'com.android.support:appcompat-v7:22.2.0' | |
40 | - compile 'com.android.support:recyclerview-v7:21.0.3' | |
41 | - compile 'com.android.support:cardview-v7:22.2.0' | |
42 | - compile 'com.android.support:design:22.2.0' | |
43 | 39 | |
44 | 40 | |
45 | 41 | compile('com.mikepenz:materialdrawer:3.0.6@aar') { |
46 | 42 | transitive = true |
47 | 43 | } |
48 | - compile 'com.parse.bolts:bolts-android:1.+' | |
49 | 44 | compile fileTree(dir: 'libs', include: 'Parse-*.jar') |
50 | - compile 'com.google.code.gson:gson:2.3.1' | |
51 | - compile 'com.github.PhilJay:MPAndroidChart:v2.1.0' | |
52 | 45 | compile('com.crashlytics.sdk.android:crashlytics:2.4.0@aar') { |
53 | 46 | transitive = true; |
54 | 47 | } |
48 | + compile 'com.android.support:appcompat-v7:22.2.0' | |
49 | + compile 'com.android.support:recyclerview-v7:22.2.0' | |
50 | + compile 'com.android.support:cardview-v7:22.2.0' | |
51 | + compile 'com.android.support:design:22.2.0' | |
52 | + compile 'com.parse.bolts:bolts-android:1.+' | |
53 | + compile 'com.google.code.gson:gson:2.3.1' | |
54 | + compile 'com.github.PhilJay:MPAndroidChart:v2.1.0' | |
55 | + compile 'com.google.android.gms:play-services:7.5.0' | |
56 | + compile 'com.nostra13.universalimageloader:universal-image-loader:1.9.3' | |
55 | 57 | } | ... | ... |
app/src/main/AndroidManifest.xml
... | ... | @@ -6,6 +6,11 @@ |
6 | 6 | <uses-permission android:name="android.permission.INTERNET" /> |
7 | 7 | <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> |
8 | 8 | |
9 | + <!-- To auto-complete the email text field in the login form with the user's emails --> | |
10 | + <uses-permission android:name="android.permission.GET_ACCOUNTS" /> | |
11 | + <uses-permission android:name="android.permission.READ_PROFILE" /> | |
12 | + <uses-permission android:name="android.permission.READ_CONTACTS" /> | |
13 | + | |
9 | 14 | <application |
10 | 15 | android:name=".application.MyApp" |
11 | 16 | android:allowBackup="true" |
... | ... | @@ -51,6 +56,15 @@ |
51 | 56 | android:name="android.support.PARENT_ACTIVITY" |
52 | 57 | android:value="com.monitorabrasil.monitoralegislativo.MainActivity" /> |
53 | 58 | </activity> |
59 | + <activity | |
60 | + android:name=".LoginActivity" | |
61 | + android:label="@string/title_activity_login" | |
62 | + android:parentActivityName=".MainActivity" | |
63 | + android:windowSoftInputMode="adjustResize|stateVisible" > | |
64 | + <meta-data | |
65 | + android:name="android.support.PARENT_ACTIVITY" | |
66 | + android:value="com.monitorabrasil.monitoralegislativo.MainActivity" /> | |
67 | + </activity> | |
54 | 68 | </application> |
55 | 69 | |
56 | 70 | </manifest> | ... | ... |
app/src/main/java/com/monitorabrasil/monitoralegislativo/LoginActivity.java
0 → 100644
... | ... | @@ -0,0 +1,510 @@ |
1 | +package com.monitorabrasil.monitoralegislativo; | |
2 | + | |
3 | +import android.animation.Animator; | |
4 | +import android.animation.AnimatorListenerAdapter; | |
5 | +import android.annotation.TargetApi; | |
6 | +import android.app.Activity; | |
7 | +import android.app.LoaderManager.LoaderCallbacks; | |
8 | +import android.content.ContentResolver; | |
9 | +import android.content.CursorLoader; | |
10 | +import android.content.Intent; | |
11 | +import android.content.Loader; | |
12 | +import android.database.Cursor; | |
13 | +import android.graphics.Bitmap; | |
14 | +import android.net.Uri; | |
15 | +import android.os.AsyncTask; | |
16 | + | |
17 | +import android.os.Build; | |
18 | +import android.os.Bundle; | |
19 | +import android.provider.ContactsContract; | |
20 | +import android.support.design.widget.Snackbar; | |
21 | +import android.support.v7.app.AppCompatActivity; | |
22 | +import android.support.v7.widget.Toolbar; | |
23 | +import android.text.TextUtils; | |
24 | +import android.util.Log; | |
25 | +import android.view.KeyEvent; | |
26 | +import android.view.View; | |
27 | +import android.view.View.OnClickListener; | |
28 | +import android.view.inputmethod.EditorInfo; | |
29 | +import android.widget.ArrayAdapter; | |
30 | +import android.widget.AutoCompleteTextView; | |
31 | +import android.widget.Button; | |
32 | +import android.widget.EditText; | |
33 | +import android.widget.ImageView; | |
34 | +import android.widget.LinearLayout; | |
35 | +import android.widget.TextView; | |
36 | + | |
37 | +import java.text.ParseException; | |
38 | +import java.util.ArrayList; | |
39 | +import java.util.List; | |
40 | + | |
41 | +import com.mikepenz.materialdrawer.model.ProfileDrawerItem; | |
42 | +import com.monitorabrasil.monitoralegislativo.R; | |
43 | +import com.monitorabrasil.monitoralegislativo.application.MyApp; | |
44 | +import com.nostra13.universalimageloader.core.assist.FailReason; | |
45 | +import com.nostra13.universalimageloader.core.listener.ImageLoadingListener; | |
46 | +import com.parse.LogInCallback; | |
47 | +import com.parse.LogOutCallback; | |
48 | +import com.parse.ParseTwitterUtils; | |
49 | +import com.parse.ParseUser; | |
50 | +import com.parse.SignUpCallback; | |
51 | + | |
52 | +import org.w3c.dom.Text; | |
53 | + | |
54 | +/** | |
55 | + * A login screen that offers login via email/password. | |
56 | + */ | |
57 | +public class LoginActivity extends AppCompatActivity implements LoaderCallbacks<Cursor> { | |
58 | + | |
59 | + | |
60 | + /** | |
61 | + * Keep track of the login task to ensure we can cancel it if requested. | |
62 | + */ | |
63 | + | |
64 | + | |
65 | + // UI references. | |
66 | + private AutoCompleteTextView mEmailView; | |
67 | + private EditText mPasswordView; | |
68 | + private EditText mNome; | |
69 | + private View mProgressView; | |
70 | + private View mLoginFormView; | |
71 | + private View mLogoutFormView; | |
72 | + private Button btnFazerCadastro; | |
73 | + private Button btnLogar; | |
74 | + private Button btnLogout; | |
75 | + private Button btnLoginTwitter; | |
76 | + private TextView lblNome; | |
77 | + private TextView lblEmail; | |
78 | + private ImageView foto; | |
79 | + private ParseUser currentUser; | |
80 | + | |
81 | + @Override | |
82 | + protected void onCreate(Bundle savedInstanceState) { | |
83 | + super.onCreate(savedInstanceState); | |
84 | + setContentView(R.layout.activity_login); | |
85 | + setupActionBar(); | |
86 | + mLoginFormView = findViewById(R.id.login_form); | |
87 | + mLogoutFormView = findViewById(R.id.logout_form); | |
88 | + currentUser = ParseUser.getCurrentUser(); | |
89 | + | |
90 | + | |
91 | + if (currentUser != null) { | |
92 | + montaFormLogout(); | |
93 | + | |
94 | + }else{ | |
95 | + | |
96 | + mLogoutFormView.setVisibility(View.GONE); | |
97 | + mLoginFormView.setVisibility(View.VISIBLE); | |
98 | + | |
99 | + } | |
100 | + | |
101 | + | |
102 | + | |
103 | + | |
104 | + // Set up the login form. | |
105 | + mNome = (EditText)findViewById(R.id.txtNome); | |
106 | + mNome.setVisibility(View.GONE); | |
107 | + | |
108 | + btnLogar = (Button)findViewById(R.id.email_sign_in_button); | |
109 | + btnLogout = (Button)findViewById(R.id.btnLogout); | |
110 | + | |
111 | + btnLogout.setOnClickListener(new OnClickListener() { | |
112 | + | |
113 | + @Override | |
114 | + public void onClick(View v) { | |
115 | + showProgress(true); | |
116 | + ParseUser.logOutInBackground(new LogOutCallback() { | |
117 | + @Override | |
118 | + public void done(com.parse.ParseException e) { | |
119 | + mLogoutFormView.setVisibility(View.GONE); | |
120 | + mLoginFormView.setVisibility(View.VISIBLE); | |
121 | + showProgress(false); | |
122 | + } | |
123 | + }); | |
124 | + } | |
125 | + }); | |
126 | + | |
127 | + btnFazerCadastro = (Button)findViewById(R.id.fazer_cadastro); | |
128 | + btnFazerCadastro.setOnClickListener(new OnClickListener() { | |
129 | + @Override | |
130 | + public void onClick(View v) { | |
131 | + if(btnFazerCadastro.getText().toString().equals("Fazer Cadastro")){ | |
132 | + mNome.setVisibility(View.VISIBLE); | |
133 | + btnLogar.setVisibility(View.GONE); | |
134 | + btnLoginTwitter.setVisibility(View.GONE); | |
135 | + btnFazerCadastro.setText("Cadastrar"); | |
136 | + View view = mNome; | |
137 | + view.requestFocus(); | |
138 | + }else{ | |
139 | + realizarCadastro(); | |
140 | + } | |
141 | + | |
142 | + } | |
143 | + }); | |
144 | + | |
145 | + btnLoginTwitter = (Button)findViewById(R.id.login_twitter); | |
146 | + btnLoginTwitter.setOnClickListener(new OnClickListener() { | |
147 | + @Override | |
148 | + public void onClick(View v) { | |
149 | + ParseTwitterUtils.logIn(v.getContext(), new LogInCallback() { | |
150 | + @Override | |
151 | + public void done(ParseUser parseUser, com.parse.ParseException e) { | |
152 | + if (parseUser == null) { | |
153 | + Snackbar.make(mLoginFormView, "Login cancelado ", Snackbar.LENGTH_LONG) | |
154 | + .setAction("Action", null).show(); | |
155 | + } else if (parseUser.isNew()) { | |
156 | + montaFormLogout(); | |
157 | + } else { | |
158 | + montaFormLogout(); | |
159 | + } | |
160 | + } | |
161 | + }); | |
162 | + } | |
163 | + }); | |
164 | + | |
165 | + mEmailView = (AutoCompleteTextView) findViewById(R.id.email); | |
166 | + populateAutoComplete(); | |
167 | + | |
168 | + mPasswordView = (EditText) findViewById(R.id.password); | |
169 | + mPasswordView.setOnEditorActionListener(new TextView.OnEditorActionListener() { | |
170 | + @Override | |
171 | + public boolean onEditorAction(TextView textView, int id, KeyEvent keyEvent) { | |
172 | + if (id == R.id.login || id == EditorInfo.IME_NULL) { | |
173 | + attemptLogin(); | |
174 | + return true; | |
175 | + } | |
176 | + return false; | |
177 | + } | |
178 | + }); | |
179 | + | |
180 | + Button mEmailSignInButton = (Button) findViewById(R.id.email_sign_in_button); | |
181 | + mEmailSignInButton.setOnClickListener(new OnClickListener() { | |
182 | + @Override | |
183 | + public void onClick(View view) { | |
184 | + attemptLogin(); | |
185 | + } | |
186 | + }); | |
187 | + | |
188 | + | |
189 | + mProgressView = findViewById(R.id.login_progress); | |
190 | + } | |
191 | + | |
192 | + private void montaFormLogout() { | |
193 | + lblNome = (TextView)findViewById(R.id.lblNome); | |
194 | + lblEmail = (TextView)findViewById(R.id.lblEmail); | |
195 | + foto = (ImageView)findViewById(R.id.foto); | |
196 | + | |
197 | + mLogoutFormView.setVisibility(View.VISIBLE); | |
198 | + mLoginFormView.setVisibility(View.GONE); | |
199 | + | |
200 | + if(ParseTwitterUtils.getTwitter()!=null){ | |
201 | + String screenName = ParseTwitterUtils.getTwitter().getScreenName(); | |
202 | + lblNome.setText(screenName); | |
203 | + lblEmail.setText(""); | |
204 | + MyApp.getInstance().getmImagemLoader().loadImage("https://twitter.com/" + screenName + "/profile_image?size=bigger", new ImageLoadingListener() { | |
205 | + | |
206 | + | |
207 | + @Override | |
208 | + public void onLoadingStarted(String imageUri, View view) { | |
209 | + | |
210 | + } | |
211 | + | |
212 | + @Override | |
213 | + public void onLoadingFailed(String imageUri, View view, FailReason failReason) { | |
214 | + | |
215 | + } | |
216 | + | |
217 | + @Override | |
218 | + public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) { | |
219 | + foto.setImageBitmap(loadedImage); | |
220 | + } | |
221 | + | |
222 | + @Override | |
223 | + public void onLoadingCancelled(String imageUri, View view) { | |
224 | + | |
225 | + } | |
226 | + | |
227 | + | |
228 | + }); | |
229 | + }else{ | |
230 | + lblNome.setText(currentUser.get("nome").toString()); | |
231 | + lblEmail.setText(currentUser.getEmail()); | |
232 | + } | |
233 | + } | |
234 | + | |
235 | + | |
236 | + private void realizarCadastro() { | |
237 | + | |
238 | + // Reset errors. | |
239 | + mEmailView.setError(null); | |
240 | + mPasswordView.setError(null); | |
241 | + mNome.setError(null); | |
242 | + | |
243 | + // Store values at the time of the login attempt. | |
244 | + String email = mEmailView.getText().toString(); | |
245 | + String password = mPasswordView.getText().toString(); | |
246 | + String nome =mNome.getText().toString(); | |
247 | + | |
248 | + boolean cancel = false; | |
249 | + View focusView = null; | |
250 | + | |
251 | + if (TextUtils.isEmpty(nome)) { | |
252 | + mNome.setError(getString(R.string.error_field_required)); | |
253 | + focusView = mNome; | |
254 | + cancel = true; | |
255 | + } | |
256 | + | |
257 | + // Check for a valid password, if the user entered one. | |
258 | + if (!TextUtils.isEmpty(password) && !isPasswordValid(password)) { | |
259 | + mPasswordView.setError(getString(R.string.error_invalid_password)); | |
260 | + focusView = mPasswordView; | |
261 | + cancel = true; | |
262 | + } | |
263 | + | |
264 | + // Check for a valid email address. | |
265 | + if (TextUtils.isEmpty(email)) { | |
266 | + mEmailView.setError(getString(R.string.error_field_required)); | |
267 | + focusView = mEmailView; | |
268 | + cancel = true; | |
269 | + } else if (!isEmailValid(email)) { | |
270 | + mEmailView.setError(getString(R.string.error_invalid_email)); | |
271 | + focusView = mEmailView; | |
272 | + cancel = true; | |
273 | + } | |
274 | + | |
275 | + if (cancel) { | |
276 | + // There was an error; don't attempt login and focus the first | |
277 | + // form field with an error. | |
278 | + focusView.requestFocus(); | |
279 | + } else { | |
280 | + // Show a progress spinner, and kick off a background task to | |
281 | + // perform the user login attempt. | |
282 | + showProgress(true); | |
283 | + | |
284 | + ParseUser user = new ParseUser(); | |
285 | + user.setUsername(email); | |
286 | + user.setPassword(password); | |
287 | + user.setEmail(email); | |
288 | + user.put("nome",mNome.getText().toString()); | |
289 | + | |
290 | + | |
291 | + user.signUpInBackground(new SignUpCallback() { | |
292 | + @Override | |
293 | + public void done(com.parse.ParseException e) { | |
294 | + if (e == null) { | |
295 | + showProgress(false); | |
296 | + montaFormLogout(); | |
297 | + } else { | |
298 | + showProgress(false); | |
299 | + | |
300 | + } | |
301 | + } | |
302 | + | |
303 | + | |
304 | + }); | |
305 | + | |
306 | + } | |
307 | + } | |
308 | + | |
309 | + private void populateAutoComplete() { | |
310 | + getLoaderManager().initLoader(0, null, this); | |
311 | + } | |
312 | + | |
313 | + /** | |
314 | + * Set up the {@link android.app.ActionBar}, if the API is available. | |
315 | + */ | |
316 | +// @TargetApi(Build.VERSION_CODES.HONEYCOMB) | |
317 | + private void setupActionBar() { | |
318 | + Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); | |
319 | + | |
320 | + // toolbar.setNavigationIcon(R.drawable.ic_good); | |
321 | + toolbar.setTitle("Login"); | |
322 | + | |
323 | + toolbar.setTitleTextColor(getResources().getColor(R.color.md_white_1000)); | |
324 | + toolbar.setSubtitleTextColor(getResources().getColor(R.color.md_white_1000)); | |
325 | + setSupportActionBar(toolbar); | |
326 | + getSupportActionBar().setDisplayHomeAsUpEnabled(true); | |
327 | + } | |
328 | + | |
329 | + /** | |
330 | + * Attempts to sign in or register the account specified by the login form. | |
331 | + * If there are form errors (invalid email, missing fields, etc.), the | |
332 | + * errors are presented and no actual login attempt is made. | |
333 | + */ | |
334 | + public void attemptLogin() { | |
335 | + | |
336 | + | |
337 | + // Reset errors. | |
338 | + mEmailView.setError(null); | |
339 | + mPasswordView.setError(null); | |
340 | + | |
341 | + // Store values at the time of the login attempt. | |
342 | + String email = mEmailView.getText().toString(); | |
343 | + String password = mPasswordView.getText().toString(); | |
344 | + | |
345 | + boolean cancel = false; | |
346 | + View focusView = null; | |
347 | + | |
348 | + // Check for a valid password, if the user entered one. | |
349 | + if (TextUtils.isEmpty(password) && !isPasswordValid(password)) { | |
350 | + mPasswordView.setError(getString(R.string.error_invalid_password)); | |
351 | + focusView = mPasswordView; | |
352 | + cancel = true; | |
353 | + } | |
354 | + | |
355 | + // Check for a valid email address. | |
356 | + if (TextUtils.isEmpty(email)) { | |
357 | + mEmailView.setError(getString(R.string.error_field_required)); | |
358 | + focusView = mEmailView; | |
359 | + cancel = true; | |
360 | + } else if (!isEmailValid(email)) { | |
361 | + mEmailView.setError(getString(R.string.error_invalid_email)); | |
362 | + focusView = mEmailView; | |
363 | + cancel = true; | |
364 | + } | |
365 | + | |
366 | + if (cancel) { | |
367 | + // There was an error; don't attempt login and focus the first | |
368 | + // form field with an error. | |
369 | + focusView.requestFocus(); | |
370 | + } else { | |
371 | + // Show a progress spinner, and kick off a background task to | |
372 | + // perform the user login attempt. | |
373 | + showProgress(true); | |
374 | + | |
375 | + //fazer o login aqui | |
376 | + fazerLogin(email, password); | |
377 | + | |
378 | + } | |
379 | + } | |
380 | + | |
381 | + private void fazerLogin(String email, String password) { | |
382 | + ParseUser.logInInBackground(email, password, new LogInCallback() { | |
383 | + | |
384 | + @Override | |
385 | + public void done(ParseUser parseUser, com.parse.ParseException e) { | |
386 | + if (parseUser != null) { | |
387 | + finish(); | |
388 | + } else { | |
389 | + mPasswordView.setError(getString(R.string.error_incorrect_password)); | |
390 | + mPasswordView.requestFocus(); | |
391 | + showProgress(false); | |
392 | + } | |
393 | + } | |
394 | + | |
395 | + | |
396 | + }); | |
397 | + } | |
398 | + | |
399 | + private boolean isEmailValid(String email) { | |
400 | + //TODO: Replace this with your own logic | |
401 | + return email.contains("@"); | |
402 | + } | |
403 | + | |
404 | + private boolean isPasswordValid(String password) { | |
405 | + //TODO: Replace this with your own logic | |
406 | + return password.length() > 4; | |
407 | + } | |
408 | + | |
409 | + /** | |
410 | + * Shows the progress UI and hides the login form. | |
411 | + */ | |
412 | + @TargetApi(Build.VERSION_CODES.HONEYCOMB_MR2) | |
413 | + public void showProgress(final boolean show) { | |
414 | + // On Honeycomb MR2 we have the ViewPropertyAnimator APIs, which allow | |
415 | + // for very easy animations. If available, use these APIs to fade-in | |
416 | + // the progress spinner. | |
417 | + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR2) { | |
418 | + int shortAnimTime = getResources().getInteger(android.R.integer.config_shortAnimTime); | |
419 | + | |
420 | + mLoginFormView.setVisibility(show ? View.GONE : View.VISIBLE); | |
421 | + mLoginFormView.animate().setDuration(shortAnimTime).alpha( | |
422 | + show ? 0 : 1).setListener(new AnimatorListenerAdapter() { | |
423 | + @Override | |
424 | + public void onAnimationEnd(Animator animation) { | |
425 | + mLoginFormView.setVisibility(show ? View.GONE : View.VISIBLE); | |
426 | + } | |
427 | + }); | |
428 | + mLogoutFormView.setVisibility(show ? View.GONE : View.VISIBLE); | |
429 | + mLogoutFormView.animate().setDuration(shortAnimTime).alpha( | |
430 | + show ? 0 : 1).setListener(new AnimatorListenerAdapter() { | |
431 | + @Override | |
432 | + public void onAnimationEnd(Animator animation) { | |
433 | + mLogoutFormView.setVisibility(show ? View.GONE : View.VISIBLE); | |
434 | + } | |
435 | + }); | |
436 | + | |
437 | + mProgressView.setVisibility(show ? View.VISIBLE : View.GONE); | |
438 | + mProgressView.animate().setDuration(shortAnimTime).alpha( | |
439 | + show ? 1 : 0).setListener(new AnimatorListenerAdapter() { | |
440 | + @Override | |
441 | + public void onAnimationEnd(Animator animation) { | |
442 | + mProgressView.setVisibility(show ? View.VISIBLE : View.GONE); | |
443 | + } | |
444 | + }); | |
445 | + } else { | |
446 | + // The ViewPropertyAnimator APIs are not available, so simply show | |
447 | + // and hide the relevant UI components. | |
448 | + mProgressView.setVisibility(show ? View.VISIBLE : View.GONE); | |
449 | + mLoginFormView.setVisibility(show ? View.GONE : View.VISIBLE); | |
450 | + mLogoutFormView.setVisibility(show ? View.GONE : View.VISIBLE); | |
451 | + } | |
452 | + } | |
453 | + | |
454 | + @Override | |
455 | + public Loader<Cursor> onCreateLoader(int i, Bundle bundle) { | |
456 | + return new CursorLoader(this, | |
457 | + // Retrieve data rows for the device user's 'profile' contact. | |
458 | + Uri.withAppendedPath(ContactsContract.Profile.CONTENT_URI, | |
459 | + ContactsContract.Contacts.Data.CONTENT_DIRECTORY), ProfileQuery.PROJECTION, | |
460 | + | |
461 | + // Select only email addresses. | |
462 | + ContactsContract.Contacts.Data.MIMETYPE + | |
463 | + " = ?", new String[]{ContactsContract.CommonDataKinds.Email | |
464 | + .CONTENT_ITEM_TYPE}, | |
465 | + | |
466 | + // Show primary email addresses first. Note that there won't be | |
467 | + // a primary email address if the user hasn't specified one. | |
468 | + ContactsContract.Contacts.Data.IS_PRIMARY + " DESC"); | |
469 | + } | |
470 | + | |
471 | + @Override | |
472 | + public void onLoadFinished(Loader<Cursor> cursorLoader, Cursor cursor) { | |
473 | + List<String> emails = new ArrayList<String>(); | |
474 | + cursor.moveToFirst(); | |
475 | + while (!cursor.isAfterLast()) { | |
476 | + emails.add(cursor.getString(ProfileQuery.ADDRESS)); | |
477 | + cursor.moveToNext(); | |
478 | + } | |
479 | + | |
480 | + addEmailsToAutoComplete(emails); | |
481 | + } | |
482 | + | |
483 | + @Override | |
484 | + public void onLoaderReset(Loader<Cursor> cursorLoader) { | |
485 | + | |
486 | + } | |
487 | + | |
488 | + private interface ProfileQuery { | |
489 | + String[] PROJECTION = { | |
490 | + ContactsContract.CommonDataKinds.Email.ADDRESS, | |
491 | + ContactsContract.CommonDataKinds.Email.IS_PRIMARY, | |
492 | + }; | |
493 | + | |
494 | + int ADDRESS = 0; | |
495 | + int IS_PRIMARY = 1; | |
496 | + } | |
497 | + | |
498 | + | |
499 | + private void addEmailsToAutoComplete(List<String> emailAddressCollection) { | |
500 | + //Create adapter to tell the AutoCompleteTextView what to show in its dropdown list. | |
501 | + ArrayAdapter<String> adapter = | |
502 | + new ArrayAdapter<String>(LoginActivity.this, | |
503 | + android.R.layout.simple_dropdown_item_1line, emailAddressCollection); | |
504 | + | |
505 | + mEmailView.setAdapter(adapter); | |
506 | + } | |
507 | + | |
508 | + | |
509 | +} | |
510 | + | ... | ... |
app/src/main/java/com/monitorabrasil/monitoralegislativo/MainActivity.java
1 | 1 | package com.monitorabrasil.monitoralegislativo; |
2 | 2 | |
3 | 3 | import android.content.Intent; |
4 | +import android.graphics.Bitmap; | |
4 | 5 | import android.net.Uri; |
6 | +import android.support.design.widget.Snackbar; | |
5 | 7 | import android.support.v4.app.FragmentTransaction; |
6 | 8 | import android.support.v7.app.ActionBarActivity; |
7 | 9 | import android.os.Bundle; |
... | ... | @@ -28,14 +30,30 @@ import com.mikepenz.materialdrawer.model.SecondaryDrawerItem; |
28 | 30 | import com.mikepenz.materialdrawer.model.interfaces.IDrawerItem; |
29 | 31 | import com.mikepenz.materialdrawer.model.interfaces.IProfile; |
30 | 32 | import com.monitorabrasil.monitoralegislativo.adapters.VereadorAdapter; |
33 | +import com.monitorabrasil.monitoralegislativo.application.MyApp; | |
31 | 34 | import com.monitorabrasil.monitoralegislativo.fragments.HomeFragment; |
32 | 35 | import com.monitorabrasil.monitoralegislativo.fragments.ListaPoliticoFragment; |
33 | 36 | import com.monitorabrasil.monitoralegislativo.interfaces.RecyclerViewOnClickListenerHack; |
37 | +import com.nostra13.universalimageloader.core.assist.FailReason; | |
38 | +import com.nostra13.universalimageloader.core.listener.ImageLoadingListener; | |
34 | 39 | import com.parse.FindCallback; |
35 | 40 | import com.parse.Parse; |
36 | 41 | import com.parse.ParseObject; |
37 | 42 | import com.parse.ParseQuery; |
38 | - | |
43 | +import com.parse.ParseTwitterUtils; | |
44 | +import com.parse.ParseUser; | |
45 | +import com.parse.twitter.Twitter; | |
46 | + | |
47 | +import org.apache.http.HttpResponse; | |
48 | +import org.apache.http.client.ClientProtocolException; | |
49 | +import org.apache.http.client.HttpClient; | |
50 | +import org.apache.http.client.methods.HttpGet; | |
51 | +import org.apache.http.impl.client.DefaultHttpClient; | |
52 | + | |
53 | +import java.io.IOException; | |
54 | +import java.net.URI; | |
55 | +import java.net.URISyntaxException; | |
56 | +import java.net.URL; | |
39 | 57 | import java.util.List; |
40 | 58 | |
41 | 59 | |
... | ... | @@ -86,22 +104,78 @@ public class MainActivity extends AppCompatActivity implements HomeFragment.OnFr |
86 | 104 | /*getSupportActionBar().setDisplayHomeAsUpEnabled(true); |
87 | 105 | getSupportActionBar().setHomeButtonEnabled(false);*/ |
88 | 106 | |
89 | - headerNavigationLeft = new AccountHeaderBuilder() | |
107 | + | |
108 | + headerNavigationLeft = new AccountHeaderBuilder() | |
90 | 109 | .withActivity(this) |
91 | 110 | .withHeaderBackground(R.drawable.rsz_ourobranco) |
92 | - .addProfiles( | |
93 | - new ProfileDrawerItem().withName("Geraldo"). | |
94 | - withEmail("geraldo.morais@gmail.com") | |
95 | - .withIcon(getResources().getDrawable(R.drawable.person_1)) | |
96 | - ) | |
97 | 111 | .withOnAccountHeaderListener(new AccountHeader.OnAccountHeaderListener() { |
98 | 112 | @Override |
99 | 113 | public boolean onProfileChanged(View view, IProfile profile, boolean currentProfile) { |
114 | + startActivity(new Intent(getApplicationContext(), LoginActivity.class)); | |
115 | + | |
100 | 116 | return false; |
101 | 117 | } |
102 | 118 | }) |
103 | 119 | .build(); |
104 | 120 | |
121 | + ParseUser currentUser = ParseUser.getCurrentUser(); | |
122 | + if (currentUser != null) { | |
123 | + | |
124 | + if(ParseTwitterUtils.getTwitter()!=null){ | |
125 | + String screenName = ParseTwitterUtils.getTwitter().getScreenName(); | |
126 | + MyApp.getInstance().getmImagemLoader().loadImage("https://twitter.com/" + screenName + "/profile_image?size=bigger", new ImageLoadingListener() { | |
127 | + @Override | |
128 | + public void onLoadingStarted(String imageUri, View view) { | |
129 | + | |
130 | + } | |
131 | + | |
132 | + @Override | |
133 | + public void onLoadingFailed(String imageUri, View view, FailReason failReason) { | |
134 | + | |
135 | + } | |
136 | + | |
137 | + @Override | |
138 | + public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) { | |
139 | + headerNavigationLeft.addProfiles( | |
140 | + new ProfileDrawerItem().withName(ParseTwitterUtils.getTwitter().getScreenName()). | |
141 | + withEmail(ParseUser.getCurrentUser().getEmail()). | |
142 | + withIcon(loadedImage) | |
143 | + | |
144 | + ); | |
145 | + } | |
146 | + | |
147 | + @Override | |
148 | + public void onLoadingCancelled(String imageUri, View view) { | |
149 | + | |
150 | + } | |
151 | + }); | |
152 | + | |
153 | + | |
154 | + | |
155 | + Uri uri = Uri.parse("https://twitter.com/" + screenName + "/profile_image?size=bigger"); | |
156 | + | |
157 | +// MyApp.getInstance().getmImagemLoader().lo.loadImageSync("https://twitter.com/" + screenName + "/profile_image?size=bigger"); | |
158 | +// headerNavigationLeft.getProfiles().get(0).setIcon(uri); | |
159 | + | |
160 | +// Uri uri = Uri.parse("https://twitter.com/"+screenName+"/profile_image?size=bigger"); | |
161 | + | |
162 | + | |
163 | + | |
164 | + }else{ | |
165 | + headerNavigationLeft.addProfiles( | |
166 | + new ProfileDrawerItem().withName(currentUser.get("nome").toString()). | |
167 | + withEmail(currentUser.getEmail()) | |
168 | + .withIcon(getResources().getDrawable(R.drawable.person_1)) | |
169 | + ); | |
170 | + } | |
171 | + | |
172 | + | |
173 | + | |
174 | + } else { | |
175 | + headerNavigationLeft.addProfiles( | |
176 | + new ProfileDrawerItem().withName("Faça seu cadastro")); | |
177 | + } | |
178 | + | |
105 | 179 | navigationDrawerLeft = new DrawerBuilder() |
106 | 180 | .withActivity(this) |
107 | 181 | .withToolbar(mToolbar) |
... | ... | @@ -159,7 +233,6 @@ public class MainActivity extends AppCompatActivity implements HomeFragment.OnFr |
159 | 233 | |
160 | 234 | |
161 | 235 | |
162 | - | |
163 | 236 | @Override |
164 | 237 | public boolean onCreateOptionsMenu(Menu menu) { |
165 | 238 | // Inflate the menu; this adds items to the action bar if it is present. | ... | ... |
app/src/main/java/com/monitorabrasil/monitoralegislativo/adapters/GastoAdapter.java
0 → 100644
... | ... | @@ -0,0 +1,206 @@ |
1 | +package com.monitorabrasil.monitoralegislativo.adapters; | |
2 | + | |
3 | +import android.support.v7.widget.RecyclerView; | |
4 | +import android.view.LayoutInflater; | |
5 | +import android.view.View; | |
6 | +import android.view.ViewGroup; | |
7 | +import android.widget.ProgressBar; | |
8 | +import android.widget.TextView; | |
9 | + | |
10 | +import com.crashlytics.android.Crashlytics; | |
11 | +import com.github.mikephil.charting.animation.Easing; | |
12 | +import com.github.mikephil.charting.charts.BarChart; | |
13 | +import com.github.mikephil.charting.components.Legend; | |
14 | +import com.github.mikephil.charting.components.XAxis; | |
15 | +import com.github.mikephil.charting.components.YAxis; | |
16 | +import com.github.mikephil.charting.data.BarData; | |
17 | +import com.github.mikephil.charting.data.BarDataSet; | |
18 | +import com.github.mikephil.charting.data.BarEntry; | |
19 | +import com.github.mikephil.charting.utils.ValueFormatter; | |
20 | +import com.monitorabrasil.monitoralegislativo.R; | |
21 | +import com.monitorabrasil.monitoralegislativo.application.MyApp; | |
22 | +import com.monitorabrasil.monitoralegislativo.classes.Grafico; | |
23 | +import com.monitorabrasil.monitoralegislativo.interfaces.RecyclerViewOnClickListenerHack; | |
24 | +import com.monitorabrasil.monitoralegislativo.util.MyValueFormatter; | |
25 | + | |
26 | +import org.w3c.dom.Text; | |
27 | + | |
28 | +import java.util.ArrayList; | |
29 | +import java.util.List; | |
30 | + | |
31 | +/** | |
32 | + * Created by geral_000 on 26/06/2015. | |
33 | + */ | |
34 | +public class GastoAdapter extends RecyclerView.Adapter<GastoAdapter.ViewHolder> { | |
35 | + | |
36 | + private List<Grafico> mDataset; | |
37 | + private RecyclerViewOnClickListenerHack mRecyclerViewOnClickListenerHack; | |
38 | + | |
39 | + // Provide a reference to the views for each data item | |
40 | + // Complex data items may need more than one view per item, and | |
41 | + // you provide access to all the views for a data item in a view holder | |
42 | + public class ViewHolder extends RecyclerView.ViewHolder implements View.OnClickListener{ | |
43 | + // each data item is just a string in this case | |
44 | + | |
45 | + public BarChart chart; | |
46 | + public TextView titulo; | |
47 | + public ViewHolder(View v) { | |
48 | + super(v); | |
49 | + | |
50 | + chart = (BarChart) v.findViewById(R.id.chart1); | |
51 | + titulo = (TextView) v.findViewById(R.id.titulo); | |
52 | + | |
53 | + itemView.setOnClickListener(this); | |
54 | + } | |
55 | + | |
56 | + @Override | |
57 | + public void onClick(View v) { | |
58 | + if(mRecyclerViewOnClickListenerHack != null){ | |
59 | + mRecyclerViewOnClickListenerHack.onClickListener(v, getPosition()); | |
60 | + } | |
61 | + } | |
62 | + } | |
63 | + | |
64 | + public GastoAdapter(List<Grafico> myDataset) { | |
65 | + mDataset = myDataset; | |
66 | + } | |
67 | + | |
68 | + @Override | |
69 | + public GastoAdapter.ViewHolder onCreateViewHolder(ViewGroup viewGroup, int i) { | |
70 | + // create a new view | |
71 | + View v = LayoutInflater.from(viewGroup.getContext()) | |
72 | + .inflate(R.layout.item_grafico, viewGroup, false); | |
73 | + // set the view's size, margins, paddings and layout parameter | |
74 | + ViewHolder vh = new ViewHolder(v); | |
75 | + return vh; | |
76 | + } | |
77 | + public void setRecyclerViewOnClickListenerHack(RecyclerViewOnClickListenerHack r){ | |
78 | + mRecyclerViewOnClickListenerHack = r; | |
79 | + } | |
80 | + | |
81 | + @Override | |
82 | + public void onBindViewHolder(GastoAdapter.ViewHolder viewHolder, int i) { | |
83 | + | |
84 | + //construir grafico | |
85 | + buildGraph(viewHolder.chart); | |
86 | + //setdata | |
87 | + Grafico grafico = mDataset.get(i); | |
88 | + setData(grafico,viewHolder.chart); | |
89 | + | |
90 | + viewHolder.chart.animateX(2500, Easing.EasingOption.EaseInOutQuart); | |
91 | + viewHolder.chart.notifyDataSetChanged(); | |
92 | + | |
93 | + viewHolder.titulo.setText(grafico.getTitulo()); | |
94 | + //ParseObject vereador = mDataset.get(i); | |
95 | + //vereador.pinInBackground(); | |
96 | + //viewHolder.pb.setText(vereador.get("nome").toString()); | |
97 | + | |
98 | + } | |
99 | + | |
100 | + @Override | |
101 | + public int getItemCount() { | |
102 | + return mDataset.size(); | |
103 | + } | |
104 | + | |
105 | + private void buildGraph(BarChart mChart) { | |
106 | + | |
107 | +// mChart.set | |
108 | + | |
109 | + mChart.setDrawBarShadow(false); | |
110 | + mChart.setDrawValueAboveBar(true); | |
111 | + | |
112 | + mChart.setDescription(""); | |
113 | + | |
114 | + // if more than 60 entries are displayed in the chart, no values will be | |
115 | + // drawn | |
116 | + mChart.setMaxVisibleValueCount(60); | |
117 | + | |
118 | + // scaling can now only be done on x- and y-axis separately | |
119 | + mChart.setPinchZoom(false); | |
120 | + | |
121 | + // draw shadows for each bar that show the maximum value | |
122 | + // mChart.setDrawBarShadow(true); | |
123 | + | |
124 | + // mChart.setDrawXLabels(false); | |
125 | + | |
126 | + mChart.setDrawGridBackground(false); | |
127 | + // mChart.setDrawYLabels(false); | |
128 | + | |
129 | +// mTf = Typeface.createFromAsset(getAssets(), "OpenSans-Regular.ttf"); | |
130 | + | |
131 | + XAxis xAxis = mChart.getXAxis(); | |
132 | + xAxis.setPosition(XAxis.XAxisPosition.BOTTOM); | |
133 | +// xAxis.setTypeface(mTf); | |
134 | + xAxis.setDrawGridLines(false); | |
135 | + xAxis.setSpaceBetweenLabels(2); | |
136 | + | |
137 | + ValueFormatter custom = new MyValueFormatter(); | |
138 | + | |
139 | + YAxis leftAxis = mChart.getAxisLeft(); | |
140 | +// leftAxis.setTypeface(mTf); | |
141 | + leftAxis.setLabelCount(8); | |
142 | + leftAxis.setValueFormatter(custom); | |
143 | + leftAxis.setPosition(YAxis.YAxisLabelPosition.OUTSIDE_CHART); | |
144 | + leftAxis.setSpaceTop(15f); | |
145 | + | |
146 | + mChart.getAxisRight().setEnabled(false); | |
147 | + YAxis rightAxis = mChart.getAxisRight(); | |
148 | + rightAxis.setDrawGridLines(false); | |
149 | +// rightAxis.setTypeface(mTf); | |
150 | + rightAxis.setLabelCount(8); | |
151 | + rightAxis.setValueFormatter(custom); | |
152 | + rightAxis.setSpaceTop(15f); | |
153 | + | |
154 | + Legend l = mChart.getLegend(); | |
155 | + l.setPosition(Legend.LegendPosition.BELOW_CHART_LEFT); | |
156 | + l.setForm(Legend.LegendForm.SQUARE); | |
157 | + l.setFormSize(9f); | |
158 | + l.setTextSize(11f); | |
159 | + l.setXEntrySpace(4f); | |
160 | + // l.setExtra(ColorTemplate.VORDIPLOM_COLORS, new String[] { "abc", | |
161 | + // "def", "ghj", "ikl", "mno" }); | |
162 | + // l.setCustom(ColorTemplate.VORDIPLOM_COLORS, new String[] { "abc", | |
163 | + // "def", "ghj", "ikl", "mno" }); | |
164 | + | |
165 | + | |
166 | + | |
167 | + // setting data | |
168 | +// mSeekBarY.setProgress(50); | |
169 | +// mSeekBarX.setProgress(12); | |
170 | +// | |
171 | +// mSeekBarY.setOnSeekBarChangeListener(this); | |
172 | +// mSeekBarX.setOnSeekBarChangeListener(this); | |
173 | + | |
174 | + // mChart.setDrawLegend(false); | |
175 | + | |
176 | + } | |
177 | + | |
178 | + private void setData(Grafico grafico, BarChart mChart) { | |
179 | + | |
180 | + | |
181 | + | |
182 | + BarDataSet set1 = new BarDataSet(grafico.getyAxis(), "Gastos Totais"); | |
183 | + set1.setBarSpacePercent(35f); | |
184 | + | |
185 | + ArrayList<BarDataSet> dataSets = new ArrayList<BarDataSet>(); | |
186 | + dataSets.add(set1); | |
187 | + try{ | |
188 | + set1.setColor(MyApp.getInstance().getResources().getColor(grafico.getCor())); | |
189 | + | |
190 | + BarData data = new BarData(grafico.getxVals(), dataSets); | |
191 | + // data.setValueFormatter(new MyValueFormatter()); | |
192 | + data.setValueTextSize(10f); | |
193 | +// data.setValueTypeface(mTf); | |
194 | + mChart.setVisibility(View.VISIBLE); | |
195 | + mChart.setData(data); | |
196 | + | |
197 | + | |
198 | + | |
199 | + }catch (Exception e){ | |
200 | + Crashlytics.log("GastosCamaraFragment " + e.toString()); | |
201 | + } | |
202 | + | |
203 | + } | |
204 | + | |
205 | + | |
206 | +} | ... | ... |
app/src/main/java/com/monitorabrasil/monitoralegislativo/application/MyApp.java
... | ... | @@ -3,8 +3,13 @@ package com.monitorabrasil.monitoralegislativo.application; |
3 | 3 | import android.app.Application; |
4 | 4 | import android.os.Bundle; |
5 | 5 | |
6 | +import com.nostra13.universalimageloader.core.DisplayImageOptions; | |
7 | +import com.nostra13.universalimageloader.core.ImageLoader; | |
8 | +import com.nostra13.universalimageloader.core.ImageLoaderConfiguration; | |
6 | 9 | import com.parse.Parse; |
7 | 10 | import com.crashlytics.android.Crashlytics; |
11 | +import com.parse.ParseTwitterUtils; | |
12 | + | |
8 | 13 | import io.fabric.sdk.android.Fabric; |
9 | 14 | |
10 | 15 | /** |
... | ... | @@ -12,6 +17,10 @@ import io.fabric.sdk.android.Fabric; |
12 | 17 | */ |
13 | 18 | public class MyApp extends Application { |
14 | 19 | |
20 | + private static MyApp mInstance; | |
21 | + private ImageLoader mImagemLoader; | |
22 | + | |
23 | + | |
15 | 24 | @Override |
16 | 25 | public void onCreate() { |
17 | 26 | super.onCreate(); |
... | ... | @@ -20,6 +29,26 @@ public class MyApp extends Application { |
20 | 29 | |
21 | 30 | Parse.enableLocalDatastore(this); |
22 | 31 | Parse.initialize(this, "pcGL19NalihMwcHaKnTuYpLkQU4ndrCH2Yxx9von", "tdWwopcuTXJ2ysxZW7pc9ZcZQCmqPSWwSokzCEzl"); |
32 | + ParseTwitterUtils.initialize("lYNRnSSragDjrWqwdCYC5rXfk", "STsQvgsSGFchxu2keN81GkwpJCDxXr8zO3EVaUnK3FVyugNO37"); | |
33 | + mInstance = this; | |
34 | + | |
35 | + //configurando o imageloader | |
36 | + DisplayImageOptions mDisplayImageOptions = new DisplayImageOptions.Builder().cacheInMemory(true).build(); | |
37 | + ImageLoaderConfiguration conf = new ImageLoaderConfiguration.Builder(getApplicationContext()) | |
38 | + .defaultDisplayImageOptions(mDisplayImageOptions) | |
39 | + .memoryCacheSize(50*1024*1024) | |
40 | + .build(); | |
41 | + this.mImagemLoader = ImageLoader.getInstance(); | |
42 | + mImagemLoader.init(conf); | |
43 | + | |
44 | + } | |
45 | + | |
46 | + public static synchronized MyApp getInstance() { | |
47 | + return mInstance; | |
48 | + } | |
49 | + | |
50 | + public ImageLoader getmImagemLoader() { | |
51 | + return mImagemLoader; | |
23 | 52 | } |
24 | 53 | |
25 | 54 | public String getCidade(){ | ... | ... |
app/src/main/java/com/monitorabrasil/monitoralegislativo/classes/Grafico.java
0 → 100644
... | ... | @@ -0,0 +1,54 @@ |
1 | +package com.monitorabrasil.monitoralegislativo.classes; | |
2 | + | |
3 | +import com.github.mikephil.charting.data.BarEntry; | |
4 | + | |
5 | +import java.util.ArrayList; | |
6 | + | |
7 | +/** | |
8 | + * Created by geral_000 on 27/06/2015. | |
9 | + */ | |
10 | +public class Grafico { | |
11 | + private String titulo; | |
12 | + private ArrayList<BarEntry> yAxis; | |
13 | + private ArrayList<String> xVals; | |
14 | + private int cor; | |
15 | + | |
16 | + public Grafico(String titulo, ArrayList<BarEntry> yAxis, ArrayList<String> xVals,int cor) { | |
17 | + this.titulo = titulo; | |
18 | + this.yAxis = yAxis; | |
19 | + this.xVals = xVals; | |
20 | + this.cor = cor; | |
21 | + } | |
22 | + | |
23 | + public String getTitulo() { | |
24 | + return titulo; | |
25 | + } | |
26 | + | |
27 | + public void setTitulo(String titulo) { | |
28 | + this.titulo = titulo; | |
29 | + } | |
30 | + | |
31 | + public ArrayList<BarEntry> getyAxis() { | |
32 | + return yAxis; | |
33 | + } | |
34 | + | |
35 | + public void setyAxis(ArrayList<BarEntry> yAxis) { | |
36 | + this.yAxis = yAxis; | |
37 | + } | |
38 | + | |
39 | + public ArrayList<String> getxVals() { | |
40 | + return xVals; | |
41 | + } | |
42 | + | |
43 | + public void setxVals(ArrayList<String> xVals) { | |
44 | + this.xVals = xVals; | |
45 | + } | |
46 | + | |
47 | + public int getCor() { | |
48 | + return cor; | |
49 | + } | |
50 | + | |
51 | + public void setCor(int cor) { | |
52 | + this.cor = cor; | |
53 | + } | |
54 | +} | ... | ... |
... | ... | @@ -0,0 +1,115 @@ |
1 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
2 | + xmlns:tools="http://schemas.android.com/tools" | |
3 | + xmlns:app="http://schemas.android.com/apk/res-auto" | |
4 | + xmlns:fab="http://schemas.android.com/apk/res-auto" | |
5 | + android:layout_width="match_parent" | |
6 | + android:layout_height="match_parent" | |
7 | + android:background="@color/grey" | |
8 | + android:orientation="vertical" | |
9 | + tools:context="com.monitorabrasil.monitoralegislativo.LoginActivity" | |
10 | + android:paddingTop="8dp"> | |
11 | + | |
12 | + <android.support.v7.widget.Toolbar | |
13 | + android:id="@+id/toolbar" | |
14 | + android:elevation="0dp" | |
15 | + android:layout_height="?attr/actionBarSize" | |
16 | + android:layout_width="match_parent" | |
17 | + android:minHeight="?attr/actionBarSize" | |
18 | + android:layout_alignParentLeft="true" | |
19 | + android:background="?attr/colorPrimary" | |
20 | + app:popupTheme="@style/ThemeOverlay.AppCompat.Dark" /> | |
21 | + | |
22 | + <!-- Login progress --> | |
23 | + <ProgressBar android:id="@+id/login_progress" style="?android:attr/progressBarStyleLarge" | |
24 | + android:layout_width="wrap_content" android:layout_height="wrap_content" | |
25 | + android:layout_marginBottom="8dp" android:visibility="gone" | |
26 | + android:layout_gravity="center_horizontal" /> | |
27 | + | |
28 | + <ScrollView android:id="@+id/login_form" android:layout_width="match_parent" | |
29 | + android:layout_height="match_parent"> | |
30 | + | |
31 | + <LinearLayout android:id="@+id/email_login_form" android:layout_width="match_parent" | |
32 | + android:layout_height="wrap_content" android:orientation="vertical"> | |
33 | + | |
34 | + <EditText | |
35 | + android:layout_width="match_parent" | |
36 | + android:layout_height="wrap_content" | |
37 | + android:hint="@string/nome" | |
38 | + android:id="@+id/txtNome" /> | |
39 | + | |
40 | + <AutoCompleteTextView android:id="@+id/email" android:layout_width="match_parent" | |
41 | + android:layout_height="wrap_content" android:hint="@string/prompt_email" | |
42 | + android:inputType="textEmailAddress" android:maxLines="1" | |
43 | + android:singleLine="true" /> | |
44 | + | |
45 | + <EditText android:id="@+id/password" android:layout_width="match_parent" | |
46 | + android:layout_height="wrap_content" android:hint="@string/prompt_password" | |
47 | + android:imeActionId="@+id/login" | |
48 | + android:imeActionLabel="@string/action_sign_in_short" | |
49 | + android:imeOptions="actionUnspecified" android:inputType="textPassword" | |
50 | + android:maxLines="1" android:singleLine="true" /> | |
51 | + | |
52 | + | |
53 | + <Button android:id="@+id/email_sign_in_button" style="?android:textAppearanceSmall" | |
54 | + android:layout_width="match_parent" android:layout_height="wrap_content" | |
55 | + android:layout_marginTop="16dp" android:text="@string/action_sign_in" | |
56 | + android:textStyle="bold" /> | |
57 | + | |
58 | + <Button android:id="@+id/login_twitter" style="?android:textAppearanceSmall" | |
59 | + android:layout_width="match_parent" android:layout_height="wrap_content" | |
60 | + android:layout_marginTop="16dp" android:text="@string/login_twitter" | |
61 | + android:textStyle="bold" /> | |
62 | + | |
63 | + <Button android:id="@+id/fazer_cadastro" style="?android:textAppearanceSmall" | |
64 | + android:layout_width="match_parent" android:layout_height="wrap_content" | |
65 | + android:layout_marginTop="16dp" android:text="@string/fazer_cadastro" | |
66 | + android:textStyle="bold" /> | |
67 | + | |
68 | + | |
69 | + | |
70 | + </LinearLayout> | |
71 | + | |
72 | + | |
73 | + </ScrollView> | |
74 | + <ScrollView android:id="@+id/logout_form" android:layout_width="match_parent" | |
75 | + android:layout_height="match_parent"> | |
76 | + <LinearLayout android:id="@+id/email_logout_form" android:layout_width="match_parent" | |
77 | + android:layout_height="wrap_content" android:orientation="vertical"> | |
78 | + | |
79 | + <ImageView | |
80 | + android:layout_width="100dp" | |
81 | + android:layout_height="100dp" | |
82 | + android:id="@+id/foto" | |
83 | + android:layout_gravity="center_horizontal" | |
84 | + android:layout_marginTop="20dp" /> | |
85 | + | |
86 | + <TextView | |
87 | + android:layout_width="wrap_content" | |
88 | + android:layout_height="wrap_content" | |
89 | + android:textAppearance="?android:attr/textAppearanceMedium" | |
90 | + android:text="Medium Text" | |
91 | + android:id="@+id/lblNome" | |
92 | + android:layout_gravity="center_horizontal" /> | |
93 | + <TextView | |
94 | + android:layout_width="wrap_content" | |
95 | + android:layout_height="wrap_content" | |
96 | + android:textAppearance="?android:attr/textAppearanceMedium" | |
97 | + android:text="Medium Text" | |
98 | + android:id="@+id/lblEmail" | |
99 | + android:layout_gravity="center_horizontal" /> | |
100 | + <Button | |
101 | + style="?android:textAppearanceSmall" | |
102 | + android:id="@+id/btnLogout" | |
103 | + android:layout_width="match_parent" | |
104 | + android:layout_height="wrap_content" | |
105 | + android:layout_marginTop="16dp" | |
106 | + android:text="@string/logout" | |
107 | + android:textStyle="bold" /> | |
108 | + | |
109 | + | |
110 | + | |
111 | + </LinearLayout> | |
112 | + </ScrollView> | |
113 | + | |
114 | +</LinearLayout> | |
115 | + | ... | ... |
... | ... | @@ -0,0 +1,30 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
3 | + android:orientation="vertical" android:layout_width="match_parent" | |
4 | + android:layout_height="match_parent"> | |
5 | + | |
6 | + | |
7 | + | |
8 | + <android.support.v7.widget.CardView | |
9 | + android:layout_width="match_parent" | |
10 | + android:layout_height="wrap_content" | |
11 | + android:layout_margin="@dimen/card_margin"> | |
12 | + | |
13 | + <TextView | |
14 | + android:layout_width="wrap_content" | |
15 | + android:layout_height="wrap_content" | |
16 | + android:textAppearance="?android:attr/textAppearanceMedium" | |
17 | + android:text="Medium Text" | |
18 | + android:id="@+id/titulo" | |
19 | + android:layout_gravity="center_horizontal" /> | |
20 | + | |
21 | + <com.github.mikephil.charting.charts.BarChart | |
22 | + android:id="@+id/chart1" | |
23 | + android:layout_width="match_parent" | |
24 | + android:layout_height="400dp" /> | |
25 | + | |
26 | + </android.support.v7.widget.CardView> | |
27 | + | |
28 | + | |
29 | + | |
30 | +</LinearLayout> | |
0 | 31 | \ No newline at end of file | ... | ... |
... | ... | @@ -0,0 +1,15 @@ |
1 | +<?xml version="1.0" encoding="utf-8"?> | |
2 | +<resources> | |
3 | + <array name="cores"> | |
4 | + <item>#F44336</item> | |
5 | + <item >#E91E63</item> | |
6 | + <item >#9C27B0</item> | |
7 | + <item >#03A9F4</item> | |
8 | + <item >#4CAF50</item> | |
9 | + <item >#FFEB3B</item> | |
10 | + <item >#FF5722</item> | |
11 | + <item >#795548</item> | |
12 | + <item >#607D8B</item> | |
13 | + <item >#2E7D32</item> | |
14 | + </array> | |
15 | +</resources> | |
0 | 16 | \ No newline at end of file | ... | ... |
app/src/main/res/values/colors.xml
... | ... | @@ -15,5 +15,17 @@ |
15 | 15 | |
16 | 16 | <color name="colorFAB">#FF9800</color> |
17 | 17 | <color name="colorFABPressed">#F57C00</color> |
18 | + | |
19 | + <!-- CORES DE GRAFICO --> | |
20 | + <color name="cor1">#F44336</color> | |
21 | + <color name="cor2">#E91E63</color> | |
22 | + <color name="cor3">#9C27B0</color> | |
23 | + <color name="cor4">#03A9F4</color> | |
24 | + <color name="cor5">#4CAF50</color> | |
25 | + <color name="cor6">#FFEB3B</color> | |
26 | + <color name="cor7">#FF5722</color> | |
27 | + <color name="cor8">#795548</color> | |
28 | + <color name="cor9">#607D8B</color> | |
29 | + <color name="cor10">#2E7D32</color> | |
18 | 30 | </resources> |
19 | 31 | ... | ... |
app/src/main/res/values/strings.xml
... | ... | @@ -0,0 +1,20 @@ |
1 | +<resources> | |
2 | + <string name="title_activity_login">Logar</string> | |
3 | + | |
4 | + <!-- Strings related to login --> | |
5 | + <string name="prompt_email">Email</string> | |
6 | + <string name="prompt_password">Senha</string> | |
7 | + <string name="action_sign_in">Logar</string> | |
8 | + <string name="action_sign_in_short">Logar</string> | |
9 | + <string name="logout">Logout</string> | |
10 | + <string name="login_twitter">Login com Twitter</string> | |
11 | + | |
12 | + | |
13 | + <string name="fazer_cadastro">Fazer Cadastro</string> | |
14 | + <string name="nome">Nome</string> | |
15 | + | |
16 | + <string name="error_invalid_email">Esse email é inválido</string> | |
17 | + <string name="error_invalid_password">A senha é muito pequena</string> | |
18 | + <string name="error_incorrect_password">Senha incorreta</string> | |
19 | + <string name="error_field_required">Campo obrigatório</string> | |
20 | +</resources> | ... | ... |
build.gradle
build/intermediates/dex-cache/cache.xml
... | ... | @@ -2,81 +2,291 @@ |
2 | 2 | <items version="2" > |
3 | 3 | |
4 | 4 | <item |
5 | - jar="/Users/geraugu/.gradle/caches/modules-2/files-2.1/com.google.code.gson/gson/2.3.1/ecb6e1f8e4b0e84c4b886c2f14a1500caf309757/gson-2.3.1.jar" | |
5 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.android.support\mediarouter-v7\22.0.0\jars\classes.jar" | |
6 | 6 | jumboMode="false" |
7 | 7 | revision="23.0.0 rc2" |
8 | - sha1="ecb6e1f8e4b0e84c4b886c2f14a1500caf309757"> | |
9 | - <dex dex="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/pre-dexed/debug/gson-2.3.1-15f2065dc9c45d8f097a420d0f96430a7f86f99c.jar" /> | |
8 | + sha1="a1372c17fccacca753d3951d3ad820571cbce075"> | |
9 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-a3d098f08ae9eea935bc4ce563cf0dd05a1eab4f.jar" /> | |
10 | 10 | </item> |
11 | 11 | <item |
12 | - jar="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/exploded-aar/com.android.support/recyclerview-v7/21.0.3/jars/classes.jar" | |
12 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-safetynet\7.5.0\jars\classes.jar" | |
13 | 13 | jumboMode="false" |
14 | 14 | revision="23.0.0 rc2" |
15 | - sha1="4b8945fc23a7461c6fdde15753456d64b0a9358b"> | |
16 | - <dex dex="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/pre-dexed/debug/classes-038b98c21a70b101292fa48686c0b39883bb7819.jar" /> | |
15 | + sha1="1a6411087ab88ce5542f593e63a2752b6b0d6f1a"> | |
16 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-957b046a7fdb4dfe85b1ffc97606686b8574a557.jar" /> | |
17 | 17 | </item> |
18 | 18 | <item |
19 | - jar="/Users/geraugu/.gradle/caches/modules-2/files-2.1/com.parse.bolts/bolts-android/1.2.0/6ee2953ccf51ce72b6d548c30c4633b99eb4f9dd/bolts-android-1.2.0.jar" | |
19 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-analytics\7.5.0\jars\classes.jar" | |
20 | 20 | jumboMode="false" |
21 | 21 | revision="23.0.0 rc2" |
22 | - sha1="6ee2953ccf51ce72b6d548c30c4633b99eb4f9dd"> | |
23 | - <dex dex="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/pre-dexed/debug/bolts-android-1.2.0-af46abb3f8d650c6ae4aa77b8e169dccb05595f8.jar" /> | |
22 | + sha1="e7b35244f50663b3f8d150714bca9ecd7a290da1"> | |
23 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-1a325ebd2dc0f2e87b59899373e10e70e152d9cd.jar" /> | |
24 | 24 | </item> |
25 | 25 | <item |
26 | - jar="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/exploded-aar/com.android.support/support-v4/22.2.0/jars/libs/internal_impl-22.2.0.jar" | |
26 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\libs\Parse-1.9.2.jar" | |
27 | 27 | jumboMode="false" |
28 | 28 | revision="23.0.0 rc2" |
29 | - sha1="57f2ab85c164ff1676ec64dee787981c046fab79"> | |
30 | - <dex dex="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/pre-dexed/debug/internal_impl-22.2.0-cd0fa37f0246382b1779bbace21bf44a7cb362ac.jar" /> | |
29 | + sha1="fe739334780fe321141e62720822c2d456061899"> | |
30 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\Parse-1.9.2-bf84d16463b648d538cced97efe4f6d656ce3529.jar" /> | |
31 | 31 | </item> |
32 | 32 | <item |
33 | - jar="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/exploded-aar/com.android.support/support-v4/22.2.0/jars/classes.jar" | |
33 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.android.support\support-v4\22.2.0\jars\classes.jar" | |
34 | 34 | jumboMode="false" |
35 | 35 | revision="23.0.0 rc2" |
36 | 36 | sha1="1ee588ff2c4daf7b97c1cbf922a6c7f027285c2f"> |
37 | - <dex dex="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/pre-dexed/debug/classes-74ca070d003e38231a8fead5c5b4c36a771b6da9.jar" /> | |
37 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-196e8acfb4eb44b1ac9875dc890ee07e6ce87c18.jar" /> | |
38 | 38 | </item> |
39 | 39 | <item |
40 | - jar="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/exploded-aar/com.mikepenz/materialdrawer/3.0.6/jars/classes.jar" | |
40 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-plus\7.5.0\jars\classes.jar" | |
41 | 41 | jumboMode="false" |
42 | 42 | revision="23.0.0 rc2" |
43 | - sha1="e5903cef3e56a5780845f4699d37331ec2710b2c"> | |
44 | - <dex dex="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/pre-dexed/debug/classes-97ba54923af5c7743afe125fcf0b82144b29f76e.jar" /> | |
43 | + sha1="272bc5d7063f24bc3a33ea1d318cde8f31f5ec4c"> | |
44 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-858337fa21673a5b88a7a1986c26e7cc6e86a57f.jar" /> | |
45 | 45 | </item> |
46 | 46 | <item |
47 | - jar="/Users/geraugu/Library/Android/sdk/extras/android/m2repository/com/android/support/support-annotations/22.2.0/support-annotations-22.2.0.jar" | |
47 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-identity\7.5.0\jars\classes.jar" | |
48 | 48 | jumboMode="false" |
49 | 49 | revision="23.0.0 rc2" |
50 | - sha1="66b42a1f3eb7676070b7ef7f14b603483aecbee1"> | |
51 | - <dex dex="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/pre-dexed/debug/support-annotations-22.2.0-ca29a6d86f93b18656474850c1c5dd7475ef0c9b.jar" /> | |
50 | + sha1="d405025c600055237c171a0bbabaa49d69696573"> | |
51 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-e78f47ff1140cbecb64d5c4cd38d5f85ee1bed4b.jar" /> | |
52 | 52 | </item> |
53 | 53 | <item |
54 | - jar="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/exploded-aar/com.android.support/appcompat-v7/22.2.0/jars/classes.jar" | |
54 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-base\7.5.0\jars\classes.jar" | |
55 | 55 | jumboMode="false" |
56 | 56 | revision="23.0.0 rc2" |
57 | - sha1="73753982da6bde518f3a4c6b372749981d14d1a0"> | |
58 | - <dex dex="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/pre-dexed/debug/classes-44da2753140f3fd20197805a166ed5a207586077.jar" /> | |
57 | + sha1="a78183f30e769a98ab4820794f597763088d3065"> | |
58 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-5c94902f12fa18f264b4b1ed8c7d4ac55da9e178.jar" /> | |
59 | 59 | </item> |
60 | 60 | <item |
61 | - jar="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/libs/Parse-1.9.2.jar" | |
61 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-fitness\7.5.0\jars\classes.jar" | |
62 | 62 | jumboMode="false" |
63 | 63 | revision="23.0.0 rc2" |
64 | - sha1="fe739334780fe321141e62720822c2d456061899"> | |
65 | - <dex dex="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/pre-dexed/debug/Parse-1.9.2-05d7e53a3d649de3d369838173795dcf91cab83c.jar" /> | |
64 | + sha1="a172852a35ff919e85b9b7f14bbc15c5bee25520"> | |
65 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-d899ad7b040f8c367807fad700fe9457ae9c377f.jar" /> | |
66 | + </item> | |
67 | + <item | |
68 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.android.support\mediarouter-v7\22.0.0\jars\libs\internal_impl-22.0.0.jar" | |
69 | + jumboMode="false" | |
70 | + revision="23.0.0 rc2" | |
71 | + sha1="ba3df4eb0a630d7de294f0e48d3f9267d279b784"> | |
72 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\internal_impl-22.0.0-d6d03d660671456d77424b7caa2c172e8cf4fc6d.jar" /> | |
73 | + </item> | |
74 | + <item | |
75 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-nearby\7.5.0\jars\classes.jar" | |
76 | + jumboMode="false" | |
77 | + revision="23.0.0 rc2" | |
78 | + sha1="6440e5e5cfe368f9bff3c537fb8988048069cb33"> | |
79 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-c9a6dafd3366643a36bb61b142b03785d4740080.jar" /> | |
80 | + </item> | |
81 | + <item | |
82 | + jar="C:\Users\geral_000\.gradle\caches\modules-2\files-2.1\com.github.PhilJay\MPAndroidChart\v2.1.0\ec46f9251e1e0ee60e1b6beae8b16f2e0fdee474\MPAndroidChart-v2.1.0.jar" | |
83 | + jumboMode="false" | |
84 | + revision="23.0.0 rc2" | |
85 | + sha1="ec46f9251e1e0ee60e1b6beae8b16f2e0fdee474"> | |
86 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\MPAndroidChart-v2.1.0-8dac9d14ba229ba331ad79324c66ec551b90ee39.jar" /> | |
87 | + </item> | |
88 | + <item | |
89 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.crashlytics.sdk.android\crashlytics\2.4.0\jars\classes.jar" | |
90 | + jumboMode="false" | |
91 | + revision="23.0.0 rc2" | |
92 | + sha1="fd39f74f23c7bd9aeafe58c6d988a7329c3e2790"> | |
93 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\release\classes-a5a3ce09b38fa0ce2ef8448beb5975f7cec5b36d.jar" /> | |
94 | + </item> | |
95 | + <item | |
96 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.android.support\cardview-v7\22.2.0\jars\classes.jar" | |
97 | + jumboMode="false" | |
98 | + revision="23.0.0 rc2" | |
99 | + sha1="97f7e239e86ef994de894818fdd8a71d2e89d6aa"> | |
100 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-b58a0324b97ac529d176d96ef68abd1078e2f287.jar" /> | |
101 | + </item> | |
102 | + <item | |
103 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.crashlytics.sdk.android\beta\1.1.3\jars\classes.jar" | |
104 | + jumboMode="false" | |
105 | + revision="23.0.0 rc2" | |
106 | + sha1="b7a78990c10481f43cb4909f535ef4f11e60f1ab"> | |
107 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\release\classes-13ecfe7e5d28dea8da371299bc511a8486fd33a2.jar" /> | |
108 | + </item> | |
109 | + <item | |
110 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.crashlytics.sdk.android\crashlytics-core\2.3.3\jars\classes.jar" | |
111 | + jumboMode="false" | |
112 | + revision="23.0.0 rc2" | |
113 | + sha1="3013d965c748748ec9c7d0d42102e9abd1c9ed91"> | |
114 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\release\classes-ccf303856577b560e5ab1c0d58ad6553c5365e65.jar" /> | |
115 | + </item> | |
116 | + <item | |
117 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-drive\7.5.0\jars\classes.jar" | |
118 | + jumboMode="false" | |
119 | + revision="23.0.0 rc2" | |
120 | + sha1="f44d03c138cb6488fdbaa65e3a7e5878861a56d8"> | |
121 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-d208c70cea17ea1e01f8f6dd966719dc8b8ec416.jar" /> | |
122 | + </item> | |
123 | + <item | |
124 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-appstate\7.5.0\jars\classes.jar" | |
125 | + jumboMode="false" | |
126 | + revision="23.0.0 rc2" | |
127 | + sha1="68c140702c7242d914655bcb3164d9e8c45b84cb"> | |
128 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-ff6d1742a2eab00005b1b1b3f6e175bbc6ecb037.jar" /> | |
129 | + </item> | |
130 | + <item | |
131 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-appindexing\7.5.0\jars\classes.jar" | |
132 | + jumboMode="false" | |
133 | + revision="23.0.0 rc2" | |
134 | + sha1="f02127a85abd52a2cd526d4c2409f21969f80ee8"> | |
135 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-1355912511f7c09de4436061a26bd8ea171539cb.jar" /> | |
136 | + </item> | |
137 | + <item | |
138 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-panorama\7.5.0\jars\classes.jar" | |
139 | + jumboMode="false" | |
140 | + revision="23.0.0 rc2" | |
141 | + sha1="ba207be21987c11b37d9f8faa08ed6e722569f30"> | |
142 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-d06cb5ed2e012ea877f424544a922031cb1de07a.jar" /> | |
143 | + </item> | |
144 | + <item | |
145 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-wearable\7.5.0\jars\classes.jar" | |
146 | + jumboMode="false" | |
147 | + revision="23.0.0 rc2" | |
148 | + sha1="69dd177337ead693c408c8dddc9546bb6f1244fa"> | |
149 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-9859f3b93d5dd699d5ad954d429ac8461021f01a.jar" /> | |
150 | + </item> | |
151 | + <item | |
152 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-appinvite\7.5.0\jars\classes.jar" | |
153 | + jumboMode="false" | |
154 | + revision="23.0.0 rc2" | |
155 | + sha1="63ec6e9f4fe5482a7447d0f3091b8e543a02554c"> | |
156 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-66a1eeb92fe3cb5a550c35eb262bc64e6de83410.jar" /> | |
157 | + </item> | |
158 | + <item | |
159 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-gcm\7.5.0\jars\classes.jar" | |
160 | + jumboMode="false" | |
161 | + revision="23.0.0 rc2" | |
162 | + sha1="8d736fefa22d896e84a268354b3ed48a42663150"> | |
163 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-7d99d1e619c5b10f4c8028b7d71f8d9caa2f13dd.jar" /> | |
164 | + </item> | |
165 | + <item | |
166 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-wallet\7.5.0\jars\classes.jar" | |
167 | + jumboMode="false" | |
168 | + revision="23.0.0 rc2" | |
169 | + sha1="6836d188602ec5382d1967c58b00960eb8ff8773"> | |
170 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-3b52796849b20cf2326339bbb7542849e5b9d5bc.jar" /> | |
171 | + </item> | |
172 | + <item | |
173 | + jar="C:\Users\geral_000\.gradle\caches\modules-2\files-2.1\com.nostra13.universalimageloader\universal-image-loader\1.9.3\a85588bec3e2c4584d593d3f15df1677321bca72\universal-image-loader-1.9.3.jar" | |
174 | + jumboMode="false" | |
175 | + revision="23.0.0 rc2" | |
176 | + sha1="a85588bec3e2c4584d593d3f15df1677321bca72"> | |
177 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\universal-image-loader-1.9.3-8c6ae6d40c161fab36e0070f80b7e8447ff3edea.jar" /> | |
178 | + </item> | |
179 | + <item | |
180 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-location\7.5.0\jars\classes.jar" | |
181 | + jumboMode="false" | |
182 | + revision="23.0.0 rc2" | |
183 | + sha1="1e98ef3f124bb7a11f8575f9ff5dfea330b61b6f"> | |
184 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-2354a1ef7915fe8f7ebd2054a88a9d1d4d1379a8.jar" /> | |
66 | 185 | </item> |
67 | 186 | <item |
68 | - jar="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/exploded-aar/com.mikepenz/iconics/1.0.2/jars/classes.jar" | |
187 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.android.support\support-v4\22.2.0\jars\libs\internal_impl-22.2.0.jar" | |
188 | + jumboMode="false" | |
189 | + revision="23.0.0 rc2" | |
190 | + sha1="57f2ab85c164ff1676ec64dee787981c046fab79"> | |
191 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\internal_impl-22.2.0-001934616934267335b5c04116325803e6bc552f.jar" /> | |
192 | + </item> | |
193 | + <item | |
194 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.mikepenz\iconics\1.0.2\jars\classes.jar" | |
69 | 195 | jumboMode="false" |
70 | 196 | revision="23.0.0 rc2" |
71 | 197 | sha1="1520399b5434780b68c85c0e9266caa2f381ada3"> |
72 | - <dex dex="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/pre-dexed/debug/classes-a54739dc8a54c329e679b81e7edf46929d3c9f34.jar" /> | |
198 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-c06cd9c5b6d6fdf7877e882cf1f80a96ec82e1ae.jar" /> | |
199 | + </item> | |
200 | + <item | |
201 | + jar="C:\Users\geral_000\dev\sdk\extras\android\m2repository\com\android\support\support-annotations\22.2.0\support-annotations-22.2.0.jar" | |
202 | + jumboMode="false" | |
203 | + revision="23.0.0 rc2" | |
204 | + sha1="66b42a1f3eb7676070b7ef7f14b603483aecbee1"> | |
205 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\support-annotations-22.2.0-c83c37cf42c831a655472e683ee4fde7f30dd7ca.jar" /> | |
73 | 206 | </item> |
74 | 207 | <item |
75 | - jar="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/exploded-aar/com.android.support/design/22.2.0/jars/classes.jar" | |
208 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-games\7.5.0\jars\classes.jar" | |
209 | + jumboMode="false" | |
210 | + revision="23.0.0 rc2" | |
211 | + sha1="02bac2dc792d78241077861566f2c82da955e7fa"> | |
212 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-704430f322dfd1e79a7b3653d65656c4c09acf43.jar" /> | |
213 | + </item> | |
214 | + <item | |
215 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-maps\7.5.0\jars\classes.jar" | |
216 | + jumboMode="false" | |
217 | + revision="23.0.0 rc2" | |
218 | + sha1="06a42becc33232ec0ee125161da68c1829c9f8fd"> | |
219 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-a4350f2cb7059f8357b1432ea5effb618b345acb.jar" /> | |
220 | + </item> | |
221 | + <item | |
222 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\io.fabric.sdk.android\fabric\1.3.4\jars\classes.jar" | |
223 | + jumboMode="false" | |
224 | + revision="23.0.0 rc2" | |
225 | + sha1="f7dc6b43d7c7f3d94e98531aef88269f9ed2a37b"> | |
226 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\release\classes-e2fef248110ceb973dac7020f9d5b81f6bb1245e.jar" /> | |
227 | + </item> | |
228 | + <item | |
229 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.android.support\recyclerview-v7\22.2.0\jars\classes.jar" | |
230 | + jumboMode="false" | |
231 | + revision="23.0.0 rc2" | |
232 | + sha1="5b37cf49773f7f17aca9830efd3053b0cac56728"> | |
233 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-804ab022cea3070de8ebd4525bc52495f5261efb.jar" /> | |
234 | + </item> | |
235 | + <item | |
236 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-cast\7.5.0\jars\classes.jar" | |
237 | + jumboMode="false" | |
238 | + revision="23.0.0 rc2" | |
239 | + sha1="8e3a972f28b8bae817e382257ba177a31bcadbbc"> | |
240 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-bdd5d56e4e30d8359b9a10a714b43ecb78cf4128.jar" /> | |
241 | + </item> | |
242 | + <item | |
243 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.crashlytics.sdk.android\answers\1.2.2\jars\classes.jar" | |
244 | + jumboMode="false" | |
245 | + revision="23.0.0 rc2" | |
246 | + sha1="c364019628ff5b32e4930334e9db4680829f7115"> | |
247 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-49b0bfc69f7ae218821afb36ab5c498174753439.jar" /> | |
248 | + </item> | |
249 | + <item | |
250 | + jar="C:\Users\geral_000\.gradle\caches\modules-2\files-2.1\com.parse.bolts\bolts-android\1.2.0\6ee2953ccf51ce72b6d548c30c4633b99eb4f9dd\bolts-android-1.2.0.jar" | |
251 | + jumboMode="false" | |
252 | + revision="23.0.0 rc2" | |
253 | + sha1="6ee2953ccf51ce72b6d548c30c4633b99eb4f9dd"> | |
254 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\bolts-android-1.2.0-2e6d5c76409a85afdd9c24095e5292c4b377c495.jar" /> | |
255 | + </item> | |
256 | + <item | |
257 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.android.support\design\22.2.0\jars\classes.jar" | |
76 | 258 | jumboMode="false" |
77 | 259 | revision="23.0.0 rc2" |
78 | 260 | sha1="fc63b820d54c8a27a3a614bdd93920e0076581c2"> |
79 | - <dex dex="/Users/geraugu/Documents/Projects/MonitoraMunicipio/app/build/intermediates/pre-dexed/debug/classes-2895b5860558fa9dd2a386bfa233fb15fa84c3e9.jar" /> | |
261 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-4873f974fc79521b76d80d28b6747c428189d782.jar" /> | |
262 | + </item> | |
263 | + <item | |
264 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.google.android.gms\play-services-ads\7.5.0\jars\classes.jar" | |
265 | + jumboMode="false" | |
266 | + revision="23.0.0 rc2" | |
267 | + sha1="29ebc7e04d877062317c8cc0e68b20f0c1fcda66"> | |
268 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-c081028d087c05a411c03ecb94a3e2ac272183e6.jar" /> | |
269 | + </item> | |
270 | + <item | |
271 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.2.0\jars\classes.jar" | |
272 | + jumboMode="false" | |
273 | + revision="23.0.0 rc2" | |
274 | + sha1="73753982da6bde518f3a4c6b372749981d14d1a0"> | |
275 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-2d23ef70f75467f67deab4e46ea31a12e0a087f3.jar" /> | |
276 | + </item> | |
277 | + <item | |
278 | + jar="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\exploded-aar\com.mikepenz\materialdrawer\3.0.6\jars\classes.jar" | |
279 | + jumboMode="false" | |
280 | + revision="23.0.0 rc2" | |
281 | + sha1="e5903cef3e56a5780845f4699d37331ec2710b2c"> | |
282 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\classes-b72646e1b406c745eb0b71db841992ab94848566.jar" /> | |
283 | + </item> | |
284 | + <item | |
285 | + jar="C:\Users\geral_000\.gradle\caches\modules-2\files-2.1\com.google.code.gson\gson\2.3.1\ecb6e1f8e4b0e84c4b886c2f14a1500caf309757\gson-2.3.1.jar" | |
286 | + jumboMode="false" | |
287 | + revision="23.0.0 rc2" | |
288 | + sha1="ecb6e1f8e4b0e84c4b886c2f14a1500caf309757"> | |
289 | + <dex dex="C:\Users\geral_000\workspace\monitoraLegislativo\app\build\intermediates\pre-dexed\debug\gson-2.3.1-f45a690cb899d93075fe2ebeee2a804234b9ce26.jar" /> | |
80 | 290 | </item> |
81 | 291 | |
82 | 292 | </items> | ... | ... |
build/intermediates/gradle_project_sync_data.bin
No preview for this file type
local.properties
1 | 1 | ## This file is automatically generated by Android Studio. |
2 | 2 | # Do not modify this file -- YOUR CHANGES WILL BE ERASED! |
3 | 3 | # |
4 | -# This file should *NOT* be checked into Version Control Systems, | |
4 | +# This file must *NOT* be checked into Version Control Systems, | |
5 | 5 | # as it contains information specific to your local configuration. |
6 | 6 | # |
7 | 7 | # Location of the SDK. This is only used by Gradle. |
8 | 8 | # For customization when using a Version Control System, please read the |
9 | 9 | # header note. |
10 | -sdk.dir=/Users/geraugu/Library/Android/sdk | |
11 | 10 | \ No newline at end of file |
11 | +#Sat Jun 20 10:56:08 BRT 2015 | |
12 | +sdk.dir=C\:\\Users\\geral_000\\dev\\sdk | ... | ... |