├── .idea ├── .name ├── copyright │ └── profiles_settings.xml ├── scopes │ └── scope_settings.xml ├── encodings.xml ├── vcs.xml ├── modules.xml ├── runConfigurations.xml ├── gradle.xml ├── compiler.xml └── misc.xml ├── settings.gradle ├── app ├── .gitignore ├── src │ ├── main │ │ ├── res │ │ │ ├── drawable-nodpi │ │ │ │ └── icon_art.png │ │ │ ├── drawable-xxhdpi │ │ │ │ ├── ic_launcher.png │ │ │ │ ├── ic_refresh.png │ │ │ │ ├── ic_arrow_right.png │ │ │ │ ├── ic_action_overflow.png │ │ │ │ └── ic_sort_descending.png │ │ │ ├── values │ │ │ │ ├── colors.xml │ │ │ │ ├── styles.xml │ │ │ │ ├── dimens.xml │ │ │ │ ├── arrays.xml │ │ │ │ └── strings.xml │ │ │ ├── values-v21 │ │ │ │ └── styles.xml │ │ │ ├── menu │ │ │ │ ├── activity_main.xml │ │ │ │ ├── fragment_detail.xml │ │ │ │ └── fragment_main_list.xml │ │ │ ├── layout │ │ │ │ ├── about_dialog_message.xml │ │ │ │ ├── group_title_view.xml │ │ │ │ ├── activity_main.xml │ │ │ │ ├── detail_features.xml │ │ │ │ ├── activity_main_twopane.xml │ │ │ │ ├── main_list_item.xml │ │ │ │ ├── detail_activities.xml │ │ │ │ ├── size_table.xml │ │ │ │ └── detail_header.xml │ │ │ ├── values-large │ │ │ │ └── refs.xml │ │ │ ├── values-sw600dp │ │ │ │ └── refs.xml │ │ │ ├── values-pt-rBR │ │ │ │ └── strings.xml │ │ │ └── values-ru │ │ │ │ └── strings.xml │ │ ├── java │ │ │ └── com │ │ │ │ └── majeur │ │ │ │ ├── applicationsinfo │ │ │ │ ├── MainCallbacks.java │ │ │ │ ├── ApplicationItem.java │ │ │ │ ├── utils │ │ │ │ │ ├── Tuple.java │ │ │ │ │ └── Utils.java │ │ │ │ ├── DetailActivity.java │ │ │ │ ├── DetailOverflowMenu.java │ │ │ │ ├── MainActivity.java │ │ │ │ ├── MainLoader.java │ │ │ │ ├── ViewManifestActivity.java │ │ │ │ └── MainListFragment.java │ │ │ │ └── xmlapkparser │ │ │ │ ├── ChunkUtil.java │ │ │ │ ├── IntReader.java │ │ │ │ ├── AXMLPrinter.java │ │ │ │ ├── StringBlock.java │ │ │ │ └── AXmlResourceParser.java │ │ ├── aidl │ │ │ └── android │ │ │ │ └── content │ │ │ │ └── pm │ │ │ │ ├── PackageStats.aidl │ │ │ │ └── IPackageStatsObserver.aidl │ │ └── AndroidManifest.xml │ └── androidTest │ │ └── java │ │ └── com │ │ └── majeur │ │ └── applicationsinfo │ │ └── ApplicationTest.java ├── build.gradle ├── proguard-rules.pro └── app.iml ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── web_res ├── device-2015-04-08-010113.png ├── device-2015-04-08-010254.png ├── device-2015-04-08-010322.png ├── device-2015-04-08-010410.png ├── device-2015-04-08-010428.png ├── device-2015-04-08-010518.png └── device-2015-04-16-215410.png ├── .gitignore ├── gradle.properties ├── ApplicationsInfo.iml ├── README.md ├── gradlew.bat ├── gradlew └── LICENSE /.idea/.name: -------------------------------------------------------------------------------- 1 | Applications Info -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | *.apk 3 | *~ 4 | -------------------------------------------------------------------------------- /.idea/copyright/profiles_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MajeurAndroid/android-applications-info/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /web_res/device-2015-04-08-010113.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MajeurAndroid/android-applications-info/HEAD/web_res/device-2015-04-08-010113.png -------------------------------------------------------------------------------- /web_res/device-2015-04-08-010254.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MajeurAndroid/android-applications-info/HEAD/web_res/device-2015-04-08-010254.png -------------------------------------------------------------------------------- /web_res/device-2015-04-08-010322.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MajeurAndroid/android-applications-info/HEAD/web_res/device-2015-04-08-010322.png -------------------------------------------------------------------------------- /web_res/device-2015-04-08-010410.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MajeurAndroid/android-applications-info/HEAD/web_res/device-2015-04-08-010410.png -------------------------------------------------------------------------------- /web_res/device-2015-04-08-010428.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MajeurAndroid/android-applications-info/HEAD/web_res/device-2015-04-08-010428.png -------------------------------------------------------------------------------- /web_res/device-2015-04-08-010518.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MajeurAndroid/android-applications-info/HEAD/web_res/device-2015-04-08-010518.png -------------------------------------------------------------------------------- /web_res/device-2015-04-16-215410.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MajeurAndroid/android-applications-info/HEAD/web_res/device-2015-04-16-215410.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | /local.properties 3 | /.idea/workspace.xml 4 | /.idea/libraries 5 | .DS_Store 6 | /build 7 | *.apk 8 | *.jks 9 | *~ 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-nodpi/icon_art.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MajeurAndroid/android-applications-info/HEAD/app/src/main/res/drawable-nodpi/icon_art.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MajeurAndroid/android-applications-info/HEAD/app/src/main/res/drawable-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MajeurAndroid/android-applications-info/HEAD/app/src/main/res/drawable-xxhdpi/ic_refresh.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_arrow_right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MajeurAndroid/android-applications-info/HEAD/app/src/main/res/drawable-xxhdpi/ic_arrow_right.png -------------------------------------------------------------------------------- /.idea/scopes/scope_settings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_action_overflow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MajeurAndroid/android-applications-info/HEAD/app/src/main/res/drawable-xxhdpi/ic_action_overflow.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_sort_descending.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/MajeurAndroid/android-applications-info/HEAD/app/src/main/res/drawable-xxhdpi/ic_sort_descending.png -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #ffffffff 4 | #fff6f6f6 5 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 180dp 4 | 7dp 5 | -------------------------------------------------------------------------------- /app/src/main/res/menu/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Tue Jun 02 19:59:47 CEST 2015 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip 7 | -------------------------------------------------------------------------------- /app/src/main/java/com/majeur/applicationsinfo/ApplicationItem.java: -------------------------------------------------------------------------------- 1 | package com.majeur.applicationsinfo; 2 | 3 | import android.content.pm.ApplicationInfo; 4 | 5 | public class ApplicationItem { 6 | ApplicationInfo applicationInfo; 7 | String label; 8 | Long date; 9 | Long size = -1L; 10 | } 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/about_dialog_message.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /app/src/main/res/layout/group_title_view.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/values-large/refs.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | @layout/activity_main_twopane 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/values-sw600dp/refs.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | @layout/activity_main_twopane 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 9 | -------------------------------------------------------------------------------- /app/src/androidTest/java/com/majeur/applicationsinfo/ApplicationTest.java: -------------------------------------------------------------------------------- 1 | package com.majeur.applicationsinfo; 2 | 3 | import android.app.Application; 4 | import android.test.ApplicationTestCase; 5 | 6 | /** 7 | * Testing Fundamentals 8 | */ 9 | public class ApplicationTest extends ApplicationTestCase { 10 | public ApplicationTest() { 11 | super(Application.class); 12 | } 13 | } -------------------------------------------------------------------------------- /app/src/main/res/menu/fragment_detail.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | 9 | 10 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/values/arrays.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | @string/activities 5 | @string/service 6 | @string/receivers 7 | @string/providers 8 | @string/permissions 9 | @string/declared_premission 10 | @string/uses_feature 11 | @string/configurations 12 | @string/signatures 13 | 14 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 23 5 | buildToolsVersion "23.0.3" 6 | 7 | defaultConfig { 8 | applicationId "com.majeur.applicationsinfo" 9 | minSdkVersion 16 10 | targetSdkVersion 23 11 | versionCode 7 12 | versionName "1.6" 13 | } 14 | buildTypes { 15 | release { 16 | minifyEnabled false 17 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /.idea/runConfigurations.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/java/com/majeur/applicationsinfo/utils/Tuple.java: -------------------------------------------------------------------------------- 1 | package com.majeur.applicationsinfo.utils; 2 | 3 | public class Tuple { 4 | 5 | private T mObjectOne; 6 | private K mObjectTwo; 7 | 8 | public Tuple(T param1, K param2) { 9 | mObjectOne = param1; 10 | mObjectTwo = param2; 11 | } 12 | 13 | public T getFirst() { 14 | return mObjectOne; 15 | } 16 | 17 | public K getSecond() { 18 | return mObjectTwo; 19 | } 20 | 21 | public void setFirst(T t) { 22 | mObjectOne = t; 23 | } 24 | 25 | public void setSecond(K k) { 26 | mObjectTwo = k; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /.idea/gradle.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 17 | 18 | -------------------------------------------------------------------------------- /app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /home/pdroid/android-studio/sdk/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | -------------------------------------------------------------------------------- /.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /app/src/main/aidl/android/content/pm/PackageStats.aidl: -------------------------------------------------------------------------------- 1 | /* //device/java/android/android/view/WindowManager.aidl 2 | ** 3 | ** Copyright 2007, The Android Open Source Project 4 | ** 5 | ** Licensed under the Apache License, Version 2.0 (the "License"); 6 | ** you may not use this file except in compliance with the License. 7 | ** You may obtain a copy of the License at 8 | ** 9 | ** http://www.apache.org/licenses/LICENSE-2.0 10 | ** 11 | ** Unless required by applicable law or agreed to in writing, software 12 | ** distributed under the License is distributed on an "AS IS" BASIS, 13 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | ** See the License for the specific language governing permissions and 15 | ** limitations under the License. 16 | */ 17 | 18 | package android.content.pm; 19 | 20 | parcelable PackageStats; -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Settings specified in this file will override any Gradle settings 5 | # configured through the IDE. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /app/src/main/res/layout/detail_features.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 10 | 11 | 16 | 17 | 22 | 23 | -------------------------------------------------------------------------------- /ApplicationsInfo.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main_twopane.xml: -------------------------------------------------------------------------------- 1 | 10 | 11 | 19 | 20 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /app/src/main/aidl/android/content/pm/IPackageStatsObserver.aidl: -------------------------------------------------------------------------------- 1 | /* 2 | ** 3 | ** Copyright 2007, The Android Open Source Project 4 | ** 5 | ** Licensed under the Apache License, Version 2.0 (the "License"); 6 | ** you may not use this file except in compliance with the License. 7 | ** You may obtain a copy of the License at 8 | ** 9 | ** http://www.apache.org/licenses/LICENSE-2.0 10 | ** 11 | ** Unless required by applicable law or agreed to in writing, software 12 | ** distributed under the License is distributed on an "AS IS" BASIS, 13 | ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | ** See the License for the specific language governing permissions and 15 | ** limitations under the License. 16 | */ 17 | 18 | package android.content.pm; 19 | 20 | import android.content.pm.PackageStats; 21 | /** 22 | * API for package data change related callbacks from the Package Manager. 23 | * Some usage scenarios include deletion of cache directory, generate 24 | * statistics related to code, data, cache usage(TODO) 25 | * {@hide} 26 | */ 27 | oneway interface IPackageStatsObserver { 28 | 29 | void onGetStatsCompleted(in PackageStats pStats, boolean succeeded); 30 | } -------------------------------------------------------------------------------- /app/src/main/java/com/majeur/applicationsinfo/DetailActivity.java: -------------------------------------------------------------------------------- 1 | package com.majeur.applicationsinfo; 2 | 3 | import android.app.Activity; 4 | import android.os.Bundle; 5 | import android.view.MenuItem; 6 | import android.widget.FrameLayout; 7 | 8 | public class DetailActivity extends Activity { 9 | 10 | private final int LAYOUT_ID = 0x8898; 11 | 12 | @Override 13 | protected void onCreate(Bundle savedInstanceState) { 14 | super.onCreate(savedInstanceState); 15 | getActionBar().setDisplayHomeAsUpEnabled(true); 16 | FrameLayout frameLayout = new FrameLayout(this); 17 | frameLayout.setId(LAYOUT_ID); 18 | setContentView(frameLayout); 19 | String packageName = getIntent().getStringExtra(DetailFragment.EXTRA_PACKAGE_NAME); 20 | 21 | getFragmentManager() 22 | .beginTransaction() 23 | .replace(LAYOUT_ID, DetailFragment.getInstance(packageName)) 24 | .commit(); 25 | } 26 | 27 | @Override 28 | public boolean onOptionsItemSelected(MenuItem item) { 29 | if (item.getItemId() == android.R.id.home) { 30 | finish(); 31 | return true; 32 | } 33 | return super.onOptionsItemSelected(item); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /app/src/main/java/com/majeur/xmlapkparser/ChunkUtil.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright 2008 Android4ME 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | package com.majeur.xmlapkparser; 17 | 18 | import java.io.IOException; 19 | 20 | /** 21 | * @author Dmitry Skiba 22 | */ 23 | class ChunkUtil { 24 | 25 | public static final void readCheckType(IntReader reader, int expectedType) throws IOException { 26 | int type = reader.readInt(); 27 | if (type != expectedType) { 28 | throw new IOException( 29 | "Expected chunk of type 0x" + Integer.toHexString(expectedType) + 30 | ", read 0x" + Integer.toHexString(type) + "."); 31 | } 32 | } 33 | } 34 | -------------------------------------------------------------------------------- /app/src/main/res/menu/fragment_main_list.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 11 | 12 | 14 | 15 | 17 | 18 | 20 | 21 | 23 | 24 | 26 | 27 | 28 | 29 | 30 | 31 | 36 | 37 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # ApplicationsInfo 2 | 3 | ## (Pull request are welcomed, don't hesitate to improve the app !) 4 | 5 | Simple android application that shows all information available about all installed apps. 6 | It can be a good source of inspiration for all beginners. It deals with activities, multi pane, fragments, async tasks ... 7 | 8 | [Get it on F-Droid](https://f-droid.org/app/com.majeur.applicationsinfo) 11 | 12 | [Get it on Google Play](https://play.google.com/store/apps/details?id=com.majeur.applicationsinfo) 15 | 16 | 17 | ![Screenshot](https://raw.githubusercontent.com/MajeurAndroid/Applications-Info/master/web_res/device-2015-04-08-010322.png) 18 | 19 | ## Changelog 20 | 21 | * 1.4: 22 | * Added size and sort by size in main list 23 | * Changed installation and last update dates format 24 | * Fixed label in detail for tablets 25 | * Fixed minute value that appears instead of month 26 | * 1.3: 27 | * Better display of manifest code 28 | * Design and bug fixies 29 | * 1.2: 30 | * View manifest file 31 | * 1.1: 32 | * Multi pane 33 | * Detailed size 34 | * 1.0: 35 | * Initial release 36 | 37 | This app is using parts of [XmlApkParser](http://code.google.com/p/xml-apk-parser/) library, which is under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0) 38 | 39 | 40 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 19 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /app/src/main/res/layout/main_list_item.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 13 | 14 | 19 | 20 | 26 | 27 | 33 | 34 | 40 | 41 | 42 | 43 | 48 | 49 | 53 | 54 | 57 | 58 | 62 | 63 | 64 | 65 | -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /app/src/main/res/layout/detail_activities.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 11 | 12 | 19 | 20 | 25 | 26 | 31 | 32 | 36 | 37 | 41 | 42 | 46 | 47 | 51 | 52 | 56 | 57 | 58 | 59 |