├── .gitignore ├── LICENSE ├── README.md ├── app ├── .gitignore ├── build.gradle ├── proguard-rules.pro └── src │ └── main │ ├── AndroidManifest.xml │ ├── assets │ └── CHANGELOG.txt │ ├── java │ └── com │ │ └── roysolberg │ │ └── android │ │ └── developertools │ │ ├── AppSettings.java │ │ ├── ui │ │ ├── activity │ │ │ ├── MainActivity.java │ │ │ ├── ResourceQualifiersActivity.java │ │ │ ├── ScreenDimensionsActivity.java │ │ │ └── SystemFeaturesActivity.java │ │ └── fragment │ │ │ ├── InstallAppDialogFragment.java │ │ │ ├── MainFragment.java │ │ │ ├── ResourceQualifiersFragment.java │ │ │ ├── ScreenDimensionsFragment.java │ │ │ └── SystemFeaturesFragment.java │ │ └── util │ │ └── Utils.java │ └── res │ ├── drawable-hdpi │ ├── collapsable_toolbar_icon.png │ ├── ic_alogcat.png │ ├── ic_dalvik_explorer.png │ ├── ic_manifestviewer.png │ └── ic_settings_development.png │ ├── drawable-mdpi │ ├── collapsable_toolbar_icon.png │ ├── ic_alogcat.png │ ├── ic_manifestviewer.png │ └── ic_settings_development.png │ ├── drawable-xhdpi │ ├── banner.png │ ├── collapsable_toolbar_icon.png │ ├── ic_alogcat.png │ ├── ic_clean_status_bar.png │ ├── ic_dalvik_explorer.png │ ├── ic_manifestviewer.png │ └── ic_settings_development.png │ ├── drawable-xxhdpi │ ├── collapsable_toolbar_icon.png │ ├── ic_alogcat.png │ ├── ic_clean_status_bar.png │ ├── ic_dalvik_explorer.png │ ├── ic_manifestviewer.png │ └── ic_settings_development.png │ ├── drawable-xxxhdpi │ ├── collapsable_toolbar_icon.png │ └── ic_clean_status_bar.png │ ├── drawable │ ├── ic_adb_24dp.xml │ ├── ic_check_circle_24dp.xml │ ├── ic_fold.xml │ ├── ic_info_outline_24dp.xml │ ├── ic_phone_android_24dp.xml │ ├── ic_share.xml │ ├── ic_stay_current_portrait_24dp.xml │ ├── ic_tune_24dp.xml │ ├── ic_unfold.xml │ └── tinted_settings_development.xml │ ├── ic_dalvik_explorer.png │ ├── layout-v7 │ └── activity_main.xml │ ├── layout │ ├── activity_main.xml │ ├── activity_main_twopane.xml │ ├── activity_resource_qualifiers.xml │ ├── activity_screen_dimensions.xml │ ├── activity_system_features.xml │ ├── fragment_main.xml │ ├── fragment_resource_qualifiers_collapsed.xml │ ├── fragment_resource_qualifiers_expanded.xml │ ├── fragment_screen_dimensions.xml │ ├── fragment_system_features.xml │ ├── list_divider.xml │ └── list_divider_text_only.xml │ ├── menu │ ├── menu_main.xml │ ├── menu_resource_qualifiers.xml │ ├── menu_screen_dimensions.xml │ └── menu_system_features.xml │ ├── mipmap-hdpi │ └── ic_launcher.png │ ├── mipmap-mdpi │ └── ic_launcher.png │ ├── mipmap-xhdpi │ └── ic_launcher.png │ ├── mipmap-xxhdpi │ ├── fullscreen.png │ └── ic_launcher.png │ ├── mipmap-xxxhdpi │ └── ic_launcher.png │ ├── values-12key │ └── strings.xml │ ├── values-appliance │ └── strings.xml │ ├── values-car │ └── strings.xml │ ├── values-desk │ └── strings.xml │ ├── values-dpad │ └── strings.xml │ ├── values-finger │ └── strings.xml │ ├── values-hdpi │ └── strings.xml │ ├── values-highdr │ └── strings.xml │ ├── values-keysexposed │ └── strings.xml │ ├── values-keyshidden │ └── strings.xml │ ├── values-keyssoft │ └── strings.xml │ ├── values-land │ └── strings.xml │ ├── values-large │ ├── refs.xml │ └── strings.xml │ ├── values-ldltr │ └── strings.xml │ ├── values-ldpi │ └── strings.xml │ ├── values-ldrtl │ └── strings.xml │ ├── values-long │ └── strings.xml │ ├── values-lowdr │ └── strings.xml │ ├── values-mdpi │ └── strings.xml │ ├── values-navexposed │ └── strings.xml │ ├── values-navhidden │ └── strings.xml │ ├── values-night │ └── strings.xml │ ├── values-nodpi │ └── strings.xml │ ├── values-nokeys │ └── strings.xml │ ├── values-nonav │ └── strings.xml │ ├── values-normal │ └── strings.xml │ ├── values-notlong │ └── strings.xml │ ├── values-notnight │ └── strings.xml │ ├── values-notouch │ └── strings.xml │ ├── values-notround │ └── strings.xml │ ├── values-nowidecg │ └── strings.xml │ ├── values-port │ └── strings.xml │ ├── values-qwerty │ └── strings.xml │ ├── values-round │ └── strings.xml │ ├── values-small │ └── strings.xml │ ├── values-stylus │ └── strings.xml │ ├── values-sw600dp │ └── refs.xml │ ├── values-television │ └── strings.xml │ ├── values-trackball │ └── strings.xml │ ├── values-v10 │ ├── strings.xml │ └── styles.xml │ ├── values-v11 │ └── strings.xml │ ├── values-v12 │ └── strings.xml │ ├── values-v13 │ └── strings.xml │ ├── values-v14 │ └── strings.xml │ ├── values-v15 │ └── strings.xml │ ├── values-v16 │ └── strings.xml │ ├── values-v17 │ └── strings.xml │ ├── values-v18 │ └── strings.xml │ ├── values-v19 │ └── strings.xml │ ├── values-v20 │ └── strings.xml │ ├── values-v21 │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml │ ├── values-v22 │ └── strings.xml │ ├── values-v23 │ └── strings.xml │ ├── values-v24 │ └── strings.xml │ ├── values-v25 │ └── strings.xml │ ├── values-v26 │ └── strings.xml │ ├── values-v27 │ └── strings.xml │ ├── values-v28 │ └── strings.xml │ ├── values-v29 │ └── strings.xml │ ├── values-v3 │ └── strings.xml │ ├── values-v30 │ └── strings.xml │ ├── values-v31 │ └── strings.xml │ ├── values-v32 │ └── strings.xml │ ├── values-v33 │ └── strings.xml │ ├── values-v34 │ └── strings.xml │ ├── values-v35 │ └── strings.xml │ ├── values-v36 │ └── strings.xml │ ├── values-v37 │ └── strings.xml │ ├── values-v38 │ └── strings.xml │ ├── values-v39 │ └── strings.xml │ ├── values-v4 │ └── strings.xml │ ├── values-v40 │ └── strings.xml │ ├── values-v41 │ └── strings.xml │ ├── values-v42 │ └── strings.xml │ ├── values-v43 │ └── strings.xml │ ├── values-v44 │ └── strings.xml │ ├── values-v45 │ └── strings.xml │ ├── values-v46 │ └── strings.xml │ ├── values-v47 │ └── strings.xml │ ├── values-v48 │ └── strings.xml │ ├── values-v49 │ └── strings.xml │ ├── values-v5 │ └── strings.xml │ ├── values-v50 │ └── strings.xml │ ├── values-v51 │ └── strings.xml │ ├── values-v52 │ └── strings.xml │ ├── values-v53 │ └── strings.xml │ ├── values-v54 │ └── strings.xml │ ├── values-v55 │ └── strings.xml │ ├── values-v56 │ └── strings.xml │ ├── values-v57 │ └── strings.xml │ ├── values-v58 │ └── strings.xml │ ├── values-v59 │ └── strings.xml │ ├── values-v6 │ └── strings.xml │ ├── values-v60 │ └── strings.xml │ ├── values-v7 │ └── strings.xml │ ├── values-v8 │ └── strings.xml │ ├── values-v9 │ └── strings.xml │ ├── values-vrheadset │ └── strings.xml │ ├── values-watch │ └── strings.xml │ ├── values-wheel │ └── strings.xml │ ├── values-widecg │ └── strings.xml │ ├── values-xhdpi │ └── strings.xml │ ├── values-xlarge │ └── strings.xml │ ├── values-xxhdpi │ └── strings.xml │ ├── values-xxxhdpi │ └── strings.xml │ ├── values │ ├── colors.xml │ ├── dimens.xml │ ├── strings.xml │ └── styles.xml │ └── xml │ └── shortcuts.xml ├── build.gradle ├── gradle.properties ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── misc ├── banner.xcf ├── helper.py ├── ic_launcher.png ├── ic_launcher.xcf ├── ic_launcher_web_hi_res_512.png ├── promo.png ├── promo.xcf ├── release │ ├── developertools-1.1.3.apk │ ├── developertools-2.0.0.apk │ ├── developertools-2.0.1.apk │ ├── developertools-2.0.2.apk │ ├── developertools-2.0.3.apk │ ├── developertools-2.0.4.apk │ ├── developertools-2.0.5.apk │ ├── developertools-2.0.6.apk │ ├── developertools-2.0.7.apk │ ├── developertools-2.0.8.apk │ ├── developertools-2.0.9.apk │ ├── developertools-2.1.0.apk │ ├── developertools-2.1.1.apk │ ├── developertools-2.1.2.aab │ ├── developertools-2.1.2.apk │ └── output-metadata.json ├── screenshots │ ├── Screenshot_2016-04-21-23-19-28.png │ ├── Screenshot_2016-04-21-23-20-07.png │ ├── Screenshot_2016-04-21-23-20-15.png │ ├── Screenshot_2016-04-21-23-20-29.png │ ├── Screenshot_2016-04-21-23-20-59.png │ ├── Screenshot_2016-04-21-23-21-18.png │ └── android_tv │ │ ├── device-2016-08-31-204758.png │ │ ├── device-2016-08-31-204850.png │ │ ├── device-2016-08-31-204915.png │ │ ├── device-2016-08-31-204949.png │ │ └── device-2016-08-31-205032.png ├── todo.txt ├── tv_banner.png └── tv_banner.xcf └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- 1 | .gradle 2 | /local.properties 3 | /.idea/workspace.xml 4 | /.idea/libraries 5 | .DS_Store 6 | /build 7 | /captures 8 | .idea/compiler.xml 9 | .idea/deploymentTargetDropDown.xml 10 | .idea/gradle.xml 11 | .idea/jarRepositories.xml 12 | .idea/misc.xml 13 | .idea/vcs.xml 14 | .idea/shelf/ 15 | .idea/workspace.xml 16 | .idea/copilot 17 | assetWizardSettings.xml 18 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Apache License 2 | Version 2.0, January 2004 3 | http://www.apache.org/licenses/ 4 | 5 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 6 | 7 | 1. Definitions. 8 | 9 | "License" shall mean the terms and conditions for use, reproduction, 10 | and distribution as defined by Sections 1 through 9 of this document. 11 | 12 | "Licensor" shall mean the copyright owner or entity authorized by 13 | the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all 16 | other entities that control, are controlled by, or are under common 17 | control with that entity. For the purposes of this definition, 18 | "control" means (i) the power, direct or indirect, to cause the 19 | direction or management of such entity, whether by contract or 20 | otherwise, or (ii) ownership of fifty percent (50%) or more of the 21 | outstanding shares, or (iii) beneficial ownership of such entity. 22 | 23 | "You" (or "Your") shall mean an individual or Legal Entity 24 | exercising permissions granted by this License. 25 | 26 | "Source" form shall mean the preferred form for making modifications, 27 | including but not limited to software source code, documentation 28 | source, and configuration files. 29 | 30 | "Object" form shall mean any form resulting from mechanical 31 | transformation or translation of a Source form, including but 32 | not limited to compiled object code, generated documentation, 33 | and conversions to other media types. 34 | 35 | "Work" shall mean the work of authorship, whether in Source or 36 | Object form, made available under the License, as indicated by a 37 | copyright notice that is included in or attached to the work 38 | (an example is provided in the Appendix below). 39 | 40 | "Derivative Works" shall mean any work, whether in Source or Object 41 | form, that is based on (or derived from) the Work and for which the 42 | editorial revisions, annotations, elaborations, or other modifications 43 | represent, as a whole, an original work of authorship. For the purposes 44 | of this License, Derivative Works shall not include works that remain 45 | separable from, or merely link (or bind by name) to the interfaces of, 46 | the Work and Derivative Works thereof. 47 | 48 | "Contribution" shall mean any work of authorship, including 49 | the original version of the Work and any modifications or additions 50 | to that Work or Derivative Works thereof, that is intentionally 51 | submitted to Licensor for inclusion in the Work by the copyright owner 52 | or by an individual or Legal Entity authorized to submit on behalf of 53 | the copyright owner. For the purposes of this definition, "submitted" 54 | means any form of electronic, verbal, or written communication sent 55 | to the Licensor or its representatives, including but not limited to 56 | communication on electronic mailing lists, source code control systems, 57 | and issue tracking systems that are managed by, or on behalf of, the 58 | Licensor for the purpose of discussing and improving the Work, but 59 | excluding communication that is conspicuously marked or otherwise 60 | designated in writing by the copyright owner as "Not a Contribution." 61 | 62 | "Contributor" shall mean Licensor and any individual or Legal Entity 63 | on behalf of whom a Contribution has been received by Licensor and 64 | subsequently incorporated within the Work. 65 | 66 | 2. Grant of Copyright License. Subject to the terms and conditions of 67 | this License, each Contributor hereby grants to You a perpetual, 68 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 69 | copyright license to reproduce, prepare Derivative Works of, 70 | publicly display, publicly perform, sublicense, and distribute the 71 | Work and such Derivative Works in Source or Object form. 72 | 73 | 3. Grant of Patent License. Subject to the terms and conditions of 74 | this License, each Contributor hereby grants to You a perpetual, 75 | worldwide, non-exclusive, no-charge, royalty-free, irrevocable 76 | (except as stated in this section) patent license to make, have made, 77 | use, offer to sell, sell, import, and otherwise transfer the Work, 78 | where such license applies only to those patent claims licensable 79 | by such Contributor that are necessarily infringed by their 80 | Contribution(s) alone or by combination of their Contribution(s) 81 | with the Work to which such Contribution(s) was submitted. If You 82 | institute patent litigation against any entity (including a 83 | cross-claim or counterclaim in a lawsuit) alleging that the Work 84 | or a Contribution incorporated within the Work constitutes direct 85 | or contributory patent infringement, then any patent licenses 86 | granted to You under this License for that Work shall terminate 87 | as of the date such litigation is filed. 88 | 89 | 4. Redistribution. You may reproduce and distribute copies of the 90 | Work or Derivative Works thereof in any medium, with or without 91 | modifications, and in Source or Object form, provided that You 92 | meet the following conditions: 93 | 94 | (a) You must give any other recipients of the Work or 95 | Derivative Works a copy of this License; and 96 | 97 | (b) You must cause any modified files to carry prominent notices 98 | stating that You changed the files; and 99 | 100 | (c) You must retain, in the Source form of any Derivative Works 101 | that You distribute, all copyright, patent, trademark, and 102 | attribution notices from the Source form of the Work, 103 | excluding those notices that do not pertain to any part of 104 | the Derivative Works; and 105 | 106 | (d) If the Work includes a "NOTICE" text file as part of its 107 | distribution, then any Derivative Works that You distribute must 108 | include a readable copy of the attribution notices contained 109 | within such NOTICE file, excluding those notices that do not 110 | pertain to any part of the Derivative Works, in at least one 111 | of the following places: within a NOTICE text file distributed 112 | as part of the Derivative Works; within the Source form or 113 | documentation, if provided along with the Derivative Works; or, 114 | within a display generated by the Derivative Works, if and 115 | wherever such third-party notices normally appear. The contents 116 | of the NOTICE file are for informational purposes only and 117 | do not modify the License. You may add Your own attribution 118 | notices within Derivative Works that You distribute, alongside 119 | or as an addendum to the NOTICE text from the Work, provided 120 | that such additional attribution notices cannot be construed 121 | as modifying the License. 122 | 123 | You may add Your own copyright statement to Your modifications and 124 | may provide additional or different license terms and conditions 125 | for use, reproduction, or distribution of Your modifications, or 126 | for any such Derivative Works as a whole, provided Your use, 127 | reproduction, and distribution of the Work otherwise complies with 128 | the conditions stated in this License. 129 | 130 | 5. Submission of Contributions. Unless You explicitly state otherwise, 131 | any Contribution intentionally submitted for inclusion in the Work 132 | by You to the Licensor shall be under the terms and conditions of 133 | this License, without any additional terms or conditions. 134 | Notwithstanding the above, nothing herein shall supersede or modify 135 | the terms of any separate license agreement you may have executed 136 | with Licensor regarding such Contributions. 137 | 138 | 6. Trademarks. This License does not grant permission to use the trade 139 | names, trademarks, service marks, or product names of the Licensor, 140 | except as required for reasonable and customary use in describing the 141 | origin of the Work and reproducing the content of the NOTICE file. 142 | 143 | 7. Disclaimer of Warranty. Unless required by applicable law or 144 | agreed to in writing, Licensor provides the Work (and each 145 | Contributor provides its Contributions) on an "AS IS" BASIS, 146 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or 147 | implied, including, without limitation, any warranties or conditions 148 | of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A 149 | PARTICULAR PURPOSE. You are solely responsible for determining the 150 | appropriateness of using or redistributing the Work and assume any 151 | risks associated with Your exercise of permissions under this License. 152 | 153 | 8. Limitation of Liability. In no event and under no legal theory, 154 | whether in tort (including negligence), contract, or otherwise, 155 | unless required by applicable law (such as deliberate and grossly 156 | negligent acts) or agreed to in writing, shall any Contributor be 157 | liable to You for damages, including any direct, indirect, special, 158 | incidental, or consequential damages of any character arising as a 159 | result of this License or out of the use or inability to use the 160 | Work (including but not limited to damages for loss of goodwill, 161 | work stoppage, computer failure or malfunction, or any and all 162 | other commercial damages or losses), even if such Contributor 163 | has been advised of the possibility of such damages. 164 | 165 | 9. Accepting Warranty or Additional Liability. While redistributing 166 | the Work or Derivative Works thereof, You may choose to offer, 167 | and charge a fee for, acceptance of support, warranty, indemnity, 168 | or other liability obligations and/or rights consistent with this 169 | License. However, in accepting such obligations, You may act only 170 | on Your own behalf and on Your sole responsibility, not on behalf 171 | of any other Contributor, and only if You agree to indemnify, 172 | defend, and hold each Contributor harmless for any liability 173 | incurred by, or claims asserted against, such Contributor by reason 174 | of your accepting any such warranty or additional liability. 175 | 176 | END OF TERMS AND CONDITIONS 177 | 178 | APPENDIX: How to apply the Apache License to your work. 179 | 180 | To apply the Apache License to your work, attach the following 181 | boilerplate notice, with the fields enclosed by brackets "{}" 182 | replaced with your own identifying information. (Don't include 183 | the brackets!) The text should be enclosed in the appropriate 184 | comment syntax for the file format. We also recommend that a 185 | file or class name and description of purpose be included on the 186 | same "printed page" as the copyright notice for easier 187 | identification within third-party archives. 188 | 189 | Copyright {yyyy} {name of copyright owner} 190 | 191 | Licensed under the Apache License, Version 2.0 (the "License"); 192 | you may not use this file except in compliance with the License. 193 | You may obtain a copy of the License at 194 | 195 | http://www.apache.org/licenses/LICENSE-2.0 196 | 197 | Unless required by applicable law or agreed to in writing, software 198 | distributed under the License is distributed on an "AS IS" BASIS, 199 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 200 | See the License for the specific language governing permissions and 201 | limitations under the License. 202 | 203 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Developer Tools for Android 2 | __*Developer Tools* is a utility app for Android developers.__ 3 | 4 | ## Download 5 | You can install the app from Play Store at [https://play.google.com/store/apps/details?id=com.roysolberg.android.developertools](https://play.google.com/store/apps/details?id=com.roysolberg.android.developertools&referrer=utm_source%3Dgithub-roys%26utm_medium%3Dreadme%26utm_campaign%3Dreadme). 6 | 7 | If you want to download the APK outside Play Store you can [find all releases in the misc/release directory](misc/release). 8 | 9 | ### Android 2.3.3 - Android 3.2 (API level 10 - 13) 10 | If you want to download the APK outside Play Store for Android from version 2.3.3 to version 3.2 please pick the APK with **version 2.0.8 or earlier** in the [the misc/release directory](misc/release). Later versions will not run on those devices. 11 | 12 | ### Android 1.5 - Android 2.3.2 (API level 3 - 9) 13 | If you want to download the APK outside Play Store for Android before version 2.3.3 please pick the **version 1 APK** in the [the misc/release directory](misc/release). The version 2 will not run on those devices. 14 | 15 | 16 | 17 | 18 | 19 | ## More details 20 | This app was originally just created for myself to make some development tasks a bit easier. I've released it to the app store hoping that someone else might find it useful too. 21 | Using this app you can see which resource qualifiers that are being used, which system features that are available, and see details about the display and its sizes. 22 | 23 | Also I wanted to create an app where everything I needed was just one click away. The full list of features: 24 | - See resource qualifiers in use 25 | - See available system features 26 | - See screen dimensions in dp, pt, in, sp, px, mm 27 | - Start Dalvik Explorer (3rd party app) 28 | - Start aLogcat (3rd party app for viewing logcat) 29 | - Start ManifestViewer (3rd party app for viewing AndroidManifest.xml ++) 30 | - Go directly to the Android 4.3's permission manager (App Ops) 31 | - Go directly to the device's developer settings 32 | - Go directly to the list of installed applications 33 | 34 | *Developer Tools* works for Android 1.5 and up (though the version 2.0 here on github currently only supports API level 10+). The app doesn't need any permissions to run. 35 | 36 | Please give me a word if there's something you'd like to see included in this app. :) 37 | 38 | ## Changes 39 | [A change log is included in the project.](app/src/main/assets/CHANGELOG.txt) 40 | 41 | ## Bugs 42 | Please report any bugs to me. If the app are to crash, please submit a bug report to Play Store as I don't have INTERNET (or any other) permissions and therefore can't use any third party tools to get crash reports and stack traces. 43 | -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | /build 2 | -------------------------------------------------------------------------------- /app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: 'com.android.application' 2 | 3 | android { 4 | compileSdkVersion 33 5 | 6 | defaultConfig { 7 | applicationId "com.roysolberg.android.developertools" 8 | minSdkVersion 14 9 | targetSdkVersion 33 10 | versionCode 70 11 | versionName "2.1.3" 12 | } 13 | buildTypes { 14 | release { 15 | minifyEnabled true 16 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' 17 | } 18 | debug { 19 | minifyEnabled false 20 | applicationIdSuffix ".debug" 21 | versionNameSuffix ".DEV" 22 | } 23 | } 24 | namespace 'com.roysolberg.android.developertools' 25 | applicationVariants.all { variant -> 26 | variant.outputs.all { output -> 27 | outputFileName = "developertools-${variant.versionName}.apk" 28 | } 29 | } 30 | } 31 | 32 | dependencies { 33 | implementation fileTree(dir: 'libs', include: ['*.jar']) 34 | implementation 'com.google.android.material:material:1.6.1' 35 | } 36 | -------------------------------------------------------------------------------- /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 /Users/roy/devel/android-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 | -------------------------------------------------------------------------------- /app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 11 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 29 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 46 | 47 | 50 | 53 | 54 | 57 | 60 | 61 | 64 | 67 | 68 | 69 | 70 | -------------------------------------------------------------------------------- /app/src/main/assets/CHANGELOG.txt: -------------------------------------------------------------------------------- 1 | Changelog for Developer Tools 2 | 3 | List of changes, newest changes first. 4 | ('+' = new feature, '-' = removed feature, '*' = changed feature) 5 | 6 | Version 2.1.3 7 | + Added app shortcut for going directly to system's developer settings. 8 | * Hiding Clean Status Bar from Android 7 and up as demo mode is available and app doesn't work for recent Android versions. 9 | Version 2.1.2 10 | * Built and targeted with Android 13 (API level 33). 11 | * Added missing package queries for Android 11+ for when opening third party apps (missing since version 2.1.0). 12 | * Added handling of IllegalStateException/SecurityException happening on some odd TV boxes. 13 | Version 2.1.1 14 | * Bugfix: App crashed on larger screen sized (like Android TV). Bug introduced in version 2.1.0. 15 | * Bugfix: Fix for rare issue on some devices when fetching the app version for sharing data and the about dialog. 16 | Version 2.1.0 17 | * Build and targeted with Android 11 (API level 30). 18 | * Migrated from Android support library to AndroidX. 19 | * Bugfix: App crashed on Android Pie when clicking about dialog or sharing data. 20 | Version 2.0.9 21 | * Build and targeted with Android 9: Pie (API level 28). 22 | + Added support for wide Color Gamut and High Dynamic Range (HDR). 23 | + Added support for resource qualifier UI mode vrheadset. 24 | Version 2.0.8 25 | + Added link to Clean Status Bar (min. API level 15/version 4.0.3). 26 | Version 2.0.7 27 | * Built and targeted with Android 7.1: Nougat MR1 (API level 25). 28 | * App can now be moved to SD card ("external location" is set as preferred). 29 | Version 2.0.6 30 | + Added banner to be able to make it available for Android TV in Play Store. 31 | Version 2.0.5 32 | + Added declaration for leanback (Android TV) support. 33 | Version 2.0.4 34 | * Rebuild without requirement for touch screen. 35 | Version 2.0.3 36 | * Build and targeted with Android 7.0: Nougat (API level 24). 37 | * Lib updates. 38 | * Bugfix: Left side menu wasn't scrollable for tablets and Android TV and other wide screens. 39 | Version 2.0.2 40 | * Rebuild app with logo without the letter "a" from Android's custom typeface after Google's removal of the app. 41 | * Lib updates. 42 | Version 2.0.1 43 | * Removed Activity transitions because of mysterious stack traces reported. 44 | Version 2.0.0 45 | * Total rewrite of app with Material Design. 46 | + Added support for smallestWidth, available width, available height, round screen. 47 | * Added proper values for MCC + MNC and language and region. 48 | * Built and targeted with Android 6.0: Marshmallow (API level 23). 49 | Version 1.1.3 50 | + Added support for Android TV. 51 | - Removed link to Get Camera Parameters as the app is removed from Play Store. 52 | * Built and targeted with Android 5.1: Lollipop (API level 22). 53 | Version 1.1.2 54 | * Added info about permission manager only working for certain Android 55 | versions. 56 | * Improved exception handling for when permission manager is not supported. 57 | * Built and targeted with Android 5.0: Lollipop (API level 21). 58 | Version 1.1.1 59 | * Fix for opening Android 4.4's permission manager (App Ops). 60 | Version 1.1.0 61 | * Built and targeted with Android 4.4: KitKat (API level 19). 62 | + Added support for resource qualifiers xxhdpi and xxxhdpi. 63 | Version 1.0.9 64 | * Rebuild because of bug in earlier version of Android Developer Tools (ADT). 65 | See http://code.google.com/p/android/issues/detail?id=56006 for details. 66 | Version 1.0.8 67 | * Built and targeted with Android 4.3: Jelly Bean MR2 (API level 18). 68 | * Using US locale when formatting numbers to make app completely consistent. 69 | + Added link to Android 4.3's permission manager (App Ops). 70 | Version 1.0.7 71 | + Added link to Get Camera Parameters. 72 | * Added more screen dimensions data. 73 | Version 1.0.6 74 | + Added screen dimensions. 75 | * Settings and third party apps are started now started in a new task. 76 | Version 1.0.5 77 | * Built and targeted with Jelly Bean (API level 17). 78 | * "Android Market" --> "Play Store". 79 | + Added support for resource qualifier for layout direction (left to right and 80 | right to left). 81 | * Added borders between elements in resource qualifier list. 82 | + Added rate button in about dialog. 83 | Version 1.0.4 84 | * Built and targeted with Jelly Bean (API level 16 r1). 85 | * "Dock mode" is renamed to "UI mode". 86 | + Added support for resource qualifier UI modes television and appliance. 87 | * Bugfix: In some rare (3) cases there's been a NPE when starting development 88 | settings. 89 | Version 1.0.3 90 | * Minor changes. 91 | * Link to development settings now works for LG GW620 Eve (Android 1.5) (and 92 | others?). 93 | + Added link to ManifestViewer. 94 | Version 1.0.2 95 | * Changed app icon. 96 | * Some UI adjustments 97 | + Added link to applications/application settings. 98 | * System features are sorted alphabetically. 99 | Version 1.0.1 100 | * aLogcat button now also tries to start donate/paid version. 101 | + Added error handling if Android Market isn't installed. 102 | * Minor bugfixes. 103 | Version 1.0.0 104 | + Initial release. 105 | -------------------------------------------------------------------------------- /app/src/main/java/com/roysolberg/android/developertools/AppSettings.java: -------------------------------------------------------------------------------- 1 | package com.roysolberg.android.developertools; 2 | 3 | import android.annotation.SuppressLint; 4 | import android.content.Context; 5 | import android.content.SharedPreferences; 6 | import android.content.SharedPreferences.Editor; 7 | import android.os.Build; 8 | import android.preference.PreferenceManager; 9 | 10 | public class AppSettings { 11 | 12 | protected final static String KEY_SHOW_RESOURCE_QUALIFIERS_COLLAPSED = "show_resource_qualifiers_collapsed"; 13 | 14 | protected SharedPreferences sharedPreferences; 15 | protected Editor editor; 16 | protected static AppSettings appSettings; 17 | 18 | protected AppSettings(Context context) { 19 | sharedPreferences = PreferenceManager.getDefaultSharedPreferences(context); 20 | } 21 | 22 | public static AppSettings getInstance(Context context) { 23 | if (appSettings == null) { 24 | appSettings = new AppSettings(context); 25 | } 26 | return appSettings; 27 | } 28 | 29 | @SuppressLint("CommitPrefEdits") 30 | protected Editor getEditor() { 31 | if (editor == null) { 32 | editor = sharedPreferences.edit(); 33 | } 34 | return editor; 35 | } 36 | 37 | public boolean showResourceQualifiersCollapsed() { 38 | return sharedPreferences.getBoolean(KEY_SHOW_RESOURCE_QUALIFIERS_COLLAPSED, true); 39 | } 40 | 41 | public void setShowResourceQualifiersCollapsed(boolean folded) { 42 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) { 43 | getEditor().putBoolean(KEY_SHOW_RESOURCE_QUALIFIERS_COLLAPSED, folded).apply(); 44 | } else { 45 | getEditor().putBoolean(KEY_SHOW_RESOURCE_QUALIFIERS_COLLAPSED, folded).commit(); 46 | } 47 | } 48 | 49 | } 50 | -------------------------------------------------------------------------------- /app/src/main/java/com/roysolberg/android/developertools/ui/activity/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.roysolberg.android.developertools.ui.activity; 2 | 3 | import android.content.ActivityNotFoundException; 4 | import android.content.ComponentName; 5 | import android.content.DialogInterface; 6 | import android.content.Intent; 7 | import android.net.Uri; 8 | import android.os.Build; 9 | import android.os.Bundle; 10 | import android.provider.Settings; 11 | import android.text.SpannableString; 12 | import android.text.method.LinkMovementMethod; 13 | import android.text.util.Linkify; 14 | import android.util.Log; 15 | import android.view.Menu; 16 | import android.view.MenuItem; 17 | import android.view.View; 18 | import android.view.ViewGroup; 19 | import android.widget.TextView; 20 | import android.widget.Toast; 21 | 22 | import androidx.appcompat.app.AlertDialog; 23 | import androidx.appcompat.app.AppCompatActivity; 24 | import androidx.appcompat.widget.Toolbar; 25 | import androidx.fragment.app.DialogFragment; 26 | 27 | import com.google.android.material.appbar.CollapsingToolbarLayout; 28 | import com.roysolberg.android.developertools.R; 29 | import com.roysolberg.android.developertools.ui.fragment.InstallAppDialogFragment; 30 | import com.roysolberg.android.developertools.ui.fragment.ResourceQualifiersFragment; 31 | import com.roysolberg.android.developertools.ui.fragment.ScreenDimensionsFragment; 32 | import com.roysolberg.android.developertools.ui.fragment.SystemFeaturesFragment; 33 | import com.roysolberg.android.developertools.util.Utils; 34 | 35 | // TODO: Extract strings 36 | // TODO: Add utm_source to links to Play Store 37 | // TODO: Link to ADB Wireless? 38 | // TODO: Link to https://android.googlesource.com/platform/packages/apps/Settings/+/android-6.0.1_r68/AndroidManifest.xml#1082 ? 39 | // TODO: Add link to new AppOps (https://android.googlesource.com/platform/packages/apps/Settings/+/android-6.0.1_r68/AndroidManifest.xml#1214 / PRIVACY_SETTINGS) 40 | // TODO: Move app links from layout to some config xml 41 | public class MainActivity extends AppCompatActivity { 42 | 43 | private static final String TAG = MainActivity.class.getSimpleName(); 44 | 45 | protected boolean twoPaneMode; // Tablet vs phone 46 | protected int sdkVersion; 47 | 48 | @Override 49 | protected void onCreate(Bundle savedInstanceState) { 50 | super.onCreate(savedInstanceState); 51 | 52 | setContentView(R.layout.activity_main); 53 | // TODO: Find a better solution for the icon - we have to manually remove it because of how we use the fragment manager and the other fragments. 54 | // if (savedInstanceState == null) { 55 | // ImageView logoImageView = new ImageView(getApplicationContext()); 56 | // logoImageView.eetImageDrawable(getResources().getDrawable(R.drawable.collapsable_toolbar_icon)); 57 | // ((ScrollView) findViewById(R.id.layout_content)).addView(logoImageView); 58 | // } 59 | if (savedInstanceState != null) { 60 | ViewGroup viewGroup = (ViewGroup) findViewById(R.id.layout_content); 61 | if (viewGroup != null) { 62 | viewGroup.removeAllViews(); 63 | } 64 | } 65 | 66 | // AppBarLayout appbarLayout = (AppBarLayout) findViewById(R.id.appBarLayout); 67 | // CoordinatorLayout.LayoutParams params = (CoordinatorLayout.LayoutParams) appbarLayout.getLayoutParams(); 68 | // AppBarLayout.Behavior behavior = (AppBarLayout.Behavior) params.getBehavior(); 69 | // if (behavior != null) { 70 | // behavior.onNestedFling((CoordinatorLayout) findViewById(R.id.coordinatorLayout), appbarLayout, null, 0, 10000, true); 71 | // } 72 | 73 | try { 74 | sdkVersion = Integer.parseInt(Build.VERSION.SDK); 75 | } catch (NumberFormatException e) { 76 | /* no-op */ 77 | } 78 | 79 | Toolbar toolbar = ((Toolbar) findViewById(R.id.toolbar)); 80 | if (findViewById(R.id.layout_content) != null) { 81 | // The detail container view will be present only in the 82 | // large-screen layouts (res/values-large and 83 | // res/values-sw600dp). If this view is present, then the 84 | // activity should be in two-pane mode. 85 | twoPaneMode = true; 86 | toolbar.setTitle(getString(R.string.app_name)); 87 | 88 | } else { // Not two pane 89 | if (sdkVersion > 7) { // TODO: The collapsing toolbar and nested scroll view and stuff hardly worked on Xperia X10 (2.3.3/9) and Nexus One (2.3.6/10), any chance to get it to work? 90 | ((CollapsingToolbarLayout) findViewById(R.id.collapsingToolbarLayout)).setTitle(getString(R.string.app_name)); 91 | } else { 92 | toolbar.setTitle(getString(R.string.app_name)); 93 | } 94 | } 95 | setSupportActionBar(toolbar); 96 | 97 | if (sdkVersion >= 18 && sdkVersion <= 19) { // Android 4.3-4.4 98 | findViewById(R.id.textView_settings_permissions).setVisibility(View.VISIBLE); 99 | findViewById(R.id.include_list_divider).setVisibility(View.VISIBLE); 100 | } 101 | if (sdkVersion < 15 || sdkVersion > 23) { // Android 4.0.3-6 (demo mode available from Android 7) 102 | findViewById(R.id.textView_app_cleanStatusBar).setVisibility(View.GONE); 103 | findViewById(R.id.include_list_divider_clean_status_bar).setVisibility(View.GONE); 104 | } 105 | } 106 | 107 | @Override 108 | public boolean onCreateOptionsMenu(Menu menu) { 109 | getMenuInflater().inflate(R.menu.menu_main, menu); 110 | return super.onCreateOptionsMenu(menu); 111 | } 112 | 113 | @Override 114 | public boolean onOptionsItemSelected(MenuItem item) { 115 | switch (item.getItemId()) { 116 | case R.id.item_about_app: 117 | showAboutAppDialog(); 118 | return true; 119 | } 120 | return false; 121 | } 122 | 123 | protected void showAboutAppDialog() { 124 | AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this); 125 | final SpannableString spannableString = new SpannableString("This app was originally just created for myself to make some developement tasks a bit easier. I've released it to Play Store hoping that someone else might find it useful.\n\nIf you want to get in touch me, please send me a mail at dev@roysolberg.com.\n\nPlease note that I take no credit for the third party apps."); 126 | Linkify.addLinks(spannableString, Linkify.ALL); 127 | builder.setTitle("Developer Tools " + Utils.getVersion(getApplicationContext())) 128 | .setIcon(R.mipmap.ic_launcher) 129 | .setMessage(spannableString) 130 | .setCancelable(true) 131 | .setPositiveButton("Ok, thanks", new DialogInterface.OnClickListener() { 132 | public void onClick(DialogInterface dialog, int id) { 133 | dialog.cancel(); 134 | } 135 | }) 136 | .setNeutralButton("Rate at Play Store", new DialogInterface.OnClickListener() { 137 | public void onClick(DialogInterface dialog, int id) { 138 | Intent intent = new Intent(Intent.ACTION_VIEW); 139 | intent.setData(Uri.parse("market://details?id=" + getApplicationContext().getPackageName())); 140 | try { 141 | startActivity(intent); 142 | } catch (ActivityNotFoundException e) { 143 | Toast.makeText(getApplicationContext(), "No app found for opening Play Store URL.", Toast.LENGTH_LONG).show(); 144 | } 145 | dialog.dismiss(); 146 | } 147 | }); 148 | AlertDialog alertDialog = builder.create(); 149 | alertDialog.show(); 150 | TextView messageTextView = ((TextView) alertDialog.findViewById(android.R.id.message)); 151 | if (messageTextView != null) { 152 | messageTextView.setMovementMethod(LinkMovementMethod.getInstance()); 153 | } 154 | } 155 | 156 | public void onListItemClicked(View view) { 157 | // TODO: Mark selected item in two pane mode 158 | switch (view.getId()) { 159 | case R.id.textView_resource_qualifiers: 160 | if (twoPaneMode) { 161 | ((ViewGroup) findViewById(R.id.layout_content)).removeAllViews(); 162 | getSupportFragmentManager().beginTransaction().replace(R.id.layout_content, new ResourceQualifiersFragment()).commit(); 163 | } else { 164 | startActivity(new Intent(getApplicationContext(), ResourceQualifiersActivity.class)); 165 | } 166 | break; 167 | case R.id.textView_system_features: 168 | if (twoPaneMode) { 169 | ((ViewGroup) findViewById(R.id.layout_content)).removeAllViews(); 170 | getSupportFragmentManager().beginTransaction().replace(R.id.layout_content, new SystemFeaturesFragment()).commit(); 171 | } else { 172 | startActivity(new Intent(getApplicationContext(), SystemFeaturesActivity.class)); 173 | } 174 | break; 175 | case R.id.textView_screen_dimensions: 176 | if (twoPaneMode) { 177 | ((ViewGroup) findViewById(R.id.layout_content)).removeAllViews(); 178 | getSupportFragmentManager().beginTransaction().replace(R.id.layout_content, new ScreenDimensionsFragment()).commit(); 179 | } else { 180 | startActivity(new Intent(getApplicationContext(), ScreenDimensionsActivity.class)); 181 | } 182 | break; 183 | case R.id.textView_app_dalvik_explorer: 184 | startApp(R.string.package_name_dalvik_explorer); 185 | break; 186 | case R.id.textView_app_alogcat: 187 | startApp(R.string.package_name_alogcat, R.string.package_name_alogcat_free); 188 | break; 189 | case R.id.textView_app_manifestviewer: 190 | startApp(R.string.package_name_manifestviewer); 191 | break; 192 | case R.id.textView_app_cleanStatusBar: 193 | startApp(R.string.package_name_clean_status_bar); 194 | break; 195 | case R.id.textView_settings_development: 196 | startDevelopmentSettingsActivity(); 197 | break; 198 | case R.id.textView_settings_apps: 199 | startApplicationSettingsActivity(); 200 | break; 201 | case R.id.textView_settings_permissions: 202 | startPermissionManager(); 203 | break; 204 | } 205 | } 206 | 207 | private void startApp(int... packageNameResIds) { 208 | boolean appFound = false; 209 | for (int packageNameResId : packageNameResIds) { 210 | try { 211 | startActivity(getPackageManager().getLaunchIntentForPackage(getString(packageNameResId)).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); 212 | appFound = true; 213 | } catch (Exception e) { 214 | /* no-op */ 215 | } 216 | } 217 | if (!appFound) { 218 | showInstallAppDialog(packageNameResIds[0]); 219 | } 220 | } 221 | 222 | protected void showInstallAppDialog(int packageNameResId) { 223 | // TODO: Add link to Clean Status Bar? Or is it out of scope? 224 | int titleResId, aboutAppResId; 225 | switch (packageNameResId) { 226 | case R.string.package_name_dalvik_explorer: 227 | titleResId = R.string.dalvik_explorer; 228 | aboutAppResId = R.string.about_dalvik_explorer; 229 | break; 230 | case R.string.package_name_alogcat: 231 | packageNameResId = R.string.package_name_alogcat_free; // We send the user to the free version 232 | titleResId = R.string.alogcat; 233 | aboutAppResId = R.string.about_alogcat; 234 | break; 235 | case R.string.package_name_manifestviewer: 236 | titleResId = R.string.manifestviewer; 237 | aboutAppResId = R.string.about_manifestviewer; 238 | break; 239 | case R.string.package_name_clean_status_bar: 240 | titleResId = R.string.clean_status_bar; 241 | aboutAppResId = R.string.about_clean_status_bar; 242 | break; 243 | default: 244 | throw new IllegalArgumentException("Unknown app with package name [" + getString(packageNameResId) + "]. Unable to show install dialog."); 245 | } 246 | DialogFragment installAppDialogFragment = InstallAppDialogFragment.newInstance(getString(R.string.install_app, getString(titleResId)), getString(aboutAppResId), getString(packageNameResId)); 247 | installAppDialogFragment.show(getSupportFragmentManager(), "dialog"); 248 | } 249 | 250 | protected void startDevelopmentSettingsActivity() { 251 | try { 252 | startActivity(new Intent(Settings.ACTION_APPLICATION_DEVELOPMENT_SETTINGS).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); 253 | } catch (Exception e) { 254 | Log.e(TAG, "Got exception while trying to start development settings. Trying alternative method.", e); 255 | startDevelopmentSettingsActivityWithAlternativeMethod(); 256 | } 257 | } 258 | 259 | protected void startDevelopmentSettingsActivityWithAlternativeMethod() { 260 | try { 261 | startActivity(new Intent("com.android.settings.APPLICATION_DEVELOPMENT_SETTINGS").addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); // Bug in FROYO 262 | } catch (Exception e2) { 263 | try { 264 | startActivity(new Intent(Intent.ACTION_MAIN).setComponent(new ComponentName("com.android.settings", "com.android.settings.DevelopmentSettings")).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); // The way to do it on at least LG GW620 Eve running Android 1.5 265 | } catch (Exception e3) { 266 | Toast.makeText(getApplicationContext(), "Unable to open development settings directly.", Toast.LENGTH_SHORT).show(); 267 | try { 268 | startActivity(new Intent(Settings.ACTION_SETTINGS).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); 269 | } catch (Exception e4) { 270 | Toast.makeText(getApplicationContext(), "Unable to open device settings.", Toast.LENGTH_SHORT).show(); 271 | } 272 | } 273 | } 274 | } 275 | 276 | protected void startApplicationSettingsActivity() { 277 | try { 278 | startActivity(new Intent(Settings.ACTION_APPLICATION_SETTINGS).addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)); 279 | } catch (Exception e) { 280 | Toast.makeText(getApplicationContext(), "Unable to open applications.", Toast.LENGTH_SHORT).show(); 281 | } 282 | } 283 | 284 | protected void startPermissionManager() { 285 | try { 286 | Intent intent = new Intent(); 287 | intent.setClassName("com.android.settings", "com.android.settings.Settings"); 288 | intent.setAction(Intent.ACTION_MAIN); 289 | intent.addCategory(Intent.CATEGORY_DEFAULT); 290 | intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK); 291 | intent.putExtra(":android:show_fragment", "com.android.settings.applications.AppOpsSummary"); 292 | startActivity(intent); 293 | Toast.makeText(getApplicationContext(), "Permission manager can only be accessed on a few Android versions (4.3-4.4.1).", Toast.LENGTH_LONG).show(); 294 | } catch (Exception e) { 295 | Log.e(TAG, "Got exception while trying to start permission manager.", e); 296 | Toast.makeText(getApplicationContext(), "Unable to open permission manager.", Toast.LENGTH_SHORT).show(); 297 | } 298 | } 299 | 300 | } 301 | -------------------------------------------------------------------------------- /app/src/main/java/com/roysolberg/android/developertools/ui/activity/ResourceQualifiersActivity.java: -------------------------------------------------------------------------------- 1 | package com.roysolberg.android.developertools.ui.activity; 2 | 3 | import android.os.Bundle; 4 | 5 | import androidx.appcompat.app.AppCompatActivity; 6 | 7 | import com.roysolberg.android.developertools.R; 8 | import com.roysolberg.android.developertools.ui.fragment.ResourceQualifiersFragment; 9 | 10 | public class ResourceQualifiersActivity extends AppCompatActivity { 11 | 12 | @Override 13 | protected void onCreate(Bundle savedInstanceState) { 14 | super.onCreate(savedInstanceState); 15 | 16 | setContentView(R.layout.activity_resource_qualifiers); 17 | // setSupportActionBar((Toolbar) findViewById(R.id.toolbar)); 18 | // We actually have to use replace() instead of add() or else this will fail with 19 | // java.lang.IllegalStateException: ScrollView can host only one direct child 20 | // even though activity (and hopefully Fragment) is recreated. 21 | getSupportFragmentManager().beginTransaction().replace(R.id.scrollView, new ResourceQualifiersFragment()).commit(); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /app/src/main/java/com/roysolberg/android/developertools/ui/activity/ScreenDimensionsActivity.java: -------------------------------------------------------------------------------- 1 | package com.roysolberg.android.developertools.ui.activity; 2 | 3 | import android.os.Bundle; 4 | 5 | import androidx.appcompat.app.AppCompatActivity; 6 | 7 | import com.roysolberg.android.developertools.R; 8 | import com.roysolberg.android.developertools.ui.fragment.ScreenDimensionsFragment; 9 | 10 | public class ScreenDimensionsActivity extends AppCompatActivity { 11 | 12 | @Override 13 | protected void onCreate(Bundle savedInstanceState) { 14 | super.onCreate(savedInstanceState); 15 | 16 | setContentView(R.layout.activity_screen_dimensions); 17 | // We actually have to use replace() instead of add() or else this will fail with 18 | // java.lang.IllegalStateException: ScrollView can host only one direct child 19 | // even though activity (and hopefully Fragment) is recreated. 20 | getSupportFragmentManager().beginTransaction().replace(R.id.scrollView, new ScreenDimensionsFragment()).commit(); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /app/src/main/java/com/roysolberg/android/developertools/ui/activity/SystemFeaturesActivity.java: -------------------------------------------------------------------------------- 1 | package com.roysolberg.android.developertools.ui.activity; 2 | 3 | import android.os.Bundle; 4 | 5 | import androidx.appcompat.app.AppCompatActivity; 6 | 7 | import com.roysolberg.android.developertools.R; 8 | import com.roysolberg.android.developertools.ui.fragment.SystemFeaturesFragment; 9 | 10 | public class SystemFeaturesActivity extends AppCompatActivity { 11 | 12 | @Override 13 | protected void onCreate(Bundle savedInstanceState) { 14 | super.onCreate(savedInstanceState); 15 | 16 | setContentView(R.layout.activity_system_features); 17 | // We actually have to use replace() instead of add() or else this will fail with 18 | // java.lang.IllegalStateException: ScrollView can host only one direct child 19 | // even though activity (and hopefully Fragment) is recreated. 20 | getSupportFragmentManager().beginTransaction().replace(R.id.scrollView, new SystemFeaturesFragment()).commit(); 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /app/src/main/java/com/roysolberg/android/developertools/ui/fragment/InstallAppDialogFragment.java: -------------------------------------------------------------------------------- 1 | package com.roysolberg.android.developertools.ui.fragment; 2 | 3 | import android.app.Dialog; 4 | import android.content.ActivityNotFoundException; 5 | import android.content.DialogInterface; 6 | import android.content.Intent; 7 | import android.net.Uri; 8 | import android.os.Bundle; 9 | import android.widget.Toast; 10 | 11 | import androidx.annotation.NonNull; 12 | import androidx.appcompat.app.AlertDialog; 13 | import androidx.fragment.app.DialogFragment; 14 | 15 | public class InstallAppDialogFragment extends DialogFragment { 16 | 17 | public static DialogFragment newInstance(String title, String message, String packageName) { 18 | DialogFragment dialogFragment = new InstallAppDialogFragment(); 19 | Bundle bundle = new Bundle(); 20 | bundle.putString("title", title); 21 | bundle.putString("message", message); 22 | bundle.putString("packageName", packageName); 23 | dialogFragment.setArguments(bundle); 24 | return dialogFragment; 25 | } 26 | 27 | @NonNull 28 | @Override 29 | public Dialog onCreateDialog(Bundle savedInstanceState) { 30 | AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); 31 | builder.setTitle(getArguments().getString("title")) 32 | .setMessage(getArguments().getString("message")) 33 | .setCancelable(true) 34 | .setPositiveButton("Find app", new DialogInterface.OnClickListener() { 35 | public void onClick(DialogInterface dialog, int id) { 36 | Intent intent = new Intent(Intent.ACTION_VIEW); 37 | intent.setData(Uri.parse("market://details?id=" + getArguments().getString("packageName"))); 38 | try { 39 | startActivity(intent); 40 | } catch (ActivityNotFoundException e) { 41 | Toast.makeText(getActivity(), "No app found for opening Play Store URL.", Toast.LENGTH_LONG).show(); 42 | } 43 | dialog.cancel(); 44 | } 45 | }) 46 | .setNegativeButton("Cancel", new DialogInterface.OnClickListener() { 47 | public void onClick(DialogInterface dialog, int id) { 48 | dialog.cancel(); 49 | } 50 | }); 51 | return builder.create(); 52 | } 53 | 54 | } 55 | -------------------------------------------------------------------------------- /app/src/main/java/com/roysolberg/android/developertools/ui/fragment/MainFragment.java: -------------------------------------------------------------------------------- 1 | package com.roysolberg.android.developertools.ui.fragment; 2 | 3 | import android.os.Bundle; 4 | import android.view.LayoutInflater; 5 | import android.view.View; 6 | import android.view.ViewGroup; 7 | 8 | import androidx.annotation.Nullable; 9 | import androidx.fragment.app.Fragment; 10 | 11 | import com.roysolberg.android.developertools.R; 12 | 13 | public class MainFragment extends Fragment { 14 | 15 | @Nullable 16 | @Override 17 | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { 18 | View rootView = inflater.inflate(R.layout.fragment_main, container, false); 19 | setHasOptionsMenu(true); 20 | return rootView; 21 | } 22 | 23 | } 24 | -------------------------------------------------------------------------------- /app/src/main/java/com/roysolberg/android/developertools/ui/fragment/ResourceQualifiersFragment.java: -------------------------------------------------------------------------------- 1 | package com.roysolberg.android.developertools.ui.fragment; 2 | 3 | import android.content.ActivityNotFoundException; 4 | import android.content.Context; 5 | import android.content.Intent; 6 | import android.content.res.Configuration; 7 | import android.os.Build; 8 | import android.os.Bundle; 9 | import android.telephony.TelephonyManager; 10 | import android.text.ClipboardManager; 11 | import android.util.Log; 12 | import android.view.LayoutInflater; 13 | import android.view.Menu; 14 | import android.view.MenuInflater; 15 | import android.view.MenuItem; 16 | import android.view.View; 17 | import android.view.ViewGroup; 18 | import android.widget.TextView; 19 | import android.widget.Toast; 20 | 21 | import androidx.annotation.Nullable; 22 | import androidx.fragment.app.Fragment; 23 | 24 | import com.roysolberg.android.developertools.AppSettings; 25 | import com.roysolberg.android.developertools.R; 26 | import com.roysolberg.android.developertools.util.Utils; 27 | 28 | import java.util.Locale; 29 | 30 | // TODO: I18N 31 | public class ResourceQualifiersFragment extends Fragment { 32 | 33 | private final static String TAG = ResourceQualifiersFragment.class.getSimpleName(); 34 | private final static String TAG_CONFIG = "DeveloperTools"; 35 | 36 | protected AppSettings appSettings; 37 | 38 | @Override 39 | public void onCreate(@Nullable Bundle savedInstanceState) { 40 | super.onCreate(savedInstanceState); 41 | appSettings = AppSettings.getInstance(getContext()); 42 | setHasOptionsMenu(true); 43 | } 44 | 45 | @Nullable 46 | @Override 47 | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { 48 | View rootView; 49 | if (appSettings.showResourceQualifiersCollapsed()) { 50 | rootView = inflater.inflate(R.layout.fragment_resource_qualifiers_collapsed, container, false); 51 | } else { 52 | rootView = inflater.inflate(R.layout.fragment_resource_qualifiers_expanded, container, false); 53 | } 54 | setUpManualResourceQualifiers(rootView); 55 | return rootView; 56 | } 57 | 58 | private void setUpManualResourceQualifiers(View view) { 59 | final Configuration configuration = getResources().getConfiguration(); 60 | 61 | String mccAndMnc = getString(R.string.fallback_no_qualifier); 62 | if (configuration.mcc != 0) { // NOTE: According to the docs, 0 if undefined, even though Wikipedia says 0 is used for test networks 63 | mccAndMnc = "mcc" + String.format(Locale.US, "%03d", configuration.mcc); // Mobile country codes should always be 3 decimals, but can be prefixed with 0 64 | mccAndMnc += "-mnc" + getBestGuessMobileNetworkCode(configuration); 65 | } 66 | ((TextView) view.findViewById(R.id.textView_mcc_and_mnc)).setText(mccAndMnc); 67 | 68 | ((TextView) view.findViewById(R.id.textView_locale)).setText(configuration.locale.getLanguage() + "-r" + configuration.locale.getCountry()); 69 | 70 | String smallestWidth = getString(R.string.fallback_no_qualifier); 71 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR2) { 72 | if (configuration.smallestScreenWidthDp != Configuration.SMALLEST_SCREEN_WIDTH_DP_UNDEFINED) { 73 | smallestWidth = "sw" + configuration.smallestScreenWidthDp + "dp"; 74 | } 75 | } 76 | ((TextView) view.findViewById(R.id.textView_smallest_width)).setText(smallestWidth); 77 | 78 | String availableWidth = getString(R.string.fallback_no_qualifier); 79 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR2) { 80 | if (configuration.screenWidthDp != Configuration.SCREEN_WIDTH_DP_UNDEFINED) { 81 | availableWidth = "w" + configuration.screenWidthDp + "dp"; 82 | } 83 | } 84 | ((TextView) view.findViewById(R.id.textView_available_width)).setText(availableWidth); 85 | 86 | String availableHeight = getString(R.string.fallback_no_qualifier); 87 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR2) { 88 | if (configuration.screenHeightDp != Configuration.SCREEN_HEIGHT_DP_UNDEFINED) { 89 | availableHeight = "h" + configuration.screenHeightDp + "dp"; 90 | } 91 | } 92 | ((TextView) view.findViewById(R.id.textView_available_height)).setText(availableHeight); 93 | } 94 | 95 | protected String getBestGuessMobileNetworkCode(Configuration configuration) { 96 | TelephonyManager telephonyManager = (TelephonyManager) getActivity().getApplicationContext().getSystemService(Context.TELEPHONY_SERVICE); 97 | if (telephonyManager != null) { 98 | if (telephonyManager.getSimState() == TelephonyManager.SIM_STATE_READY) { 99 | String simOperator = telephonyManager.getSimOperator(); 100 | if (simOperator != null && simOperator.length() > 3) { 101 | return simOperator.substring(3); 102 | } 103 | } 104 | } 105 | Log.w(TAG, "Falling back to configuration's MNC which is missing info about any 0 prefixing. MNC is [" + configuration.mnc + "]"); 106 | return Integer.toString(configuration.mnc); // TODO: Should we warn the user that if the is number 10-99 it might have 0 prefixed and if the number is 0-9 it might have 0 or 00 prefixed? 107 | } 108 | 109 | @Override 110 | public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { 111 | inflater.inflate(R.menu.menu_resource_qualifiers, menu); 112 | super.onCreateOptionsMenu(menu, inflater); 113 | } 114 | 115 | @Override 116 | public void onPrepareOptionsMenu(Menu menu) { 117 | boolean folded = appSettings.showResourceQualifiersCollapsed(); 118 | menu.findItem(R.id.item_expand).setVisible(folded); 119 | menu.findItem(R.id.item_collapse).setVisible(!folded); 120 | } 121 | 122 | @Override 123 | public boolean onOptionsItemSelected(MenuItem item) { 124 | int layoutIdToReplace = getActivity().findViewById(R.id.scrollView) == null ? R.id.layout_content : R.id.scrollView; 125 | switch (item.getItemId()) { 126 | case R.id.item_collapse: 127 | appSettings.setShowResourceQualifiersCollapsed(true); 128 | getFragmentManager().beginTransaction().replace(layoutIdToReplace, new ResourceQualifiersFragment()).commit(); 129 | return true; 130 | case R.id.item_expand: 131 | appSettings.setShowResourceQualifiersCollapsed(false); 132 | getFragmentManager().beginTransaction().replace(layoutIdToReplace, new ResourceQualifiersFragment()).commit(); 133 | return true; 134 | case R.id.item_share: 135 | sendConfiguration(getConfiguration()); 136 | return true; 137 | case R.id.item_log: 138 | logConfiguration(getConfiguration()); 139 | return true; 140 | case R.id.item_copy: 141 | copyConfiguration(getConfiguration()); 142 | return true; 143 | } 144 | return false; 145 | } 146 | 147 | protected String getConfiguration() { 148 | StringBuilder configuration = new StringBuilder(); 149 | configuration.append("Device: ").append(Utils.getDeviceSummary()).append("\n"); 150 | configuration.append(getString(R.string.mcc_and_mnc)); 151 | configuration.append(": "); 152 | configuration.append(getTextFromTextView(R.id.textView_mcc_and_mnc)); 153 | configuration.append("\n"); 154 | configuration.append(getString(R.string.language_and_region)); 155 | configuration.append(": "); 156 | configuration.append(getTextFromTextView(R.id.textView_locale)); 157 | configuration.append("\n"); 158 | configuration.append(getString(R.string.layout_direction)); 159 | configuration.append(": "); 160 | configuration.append(getTextFromTextView(R.id.textView_layout_direction)); 161 | configuration.append("\n"); 162 | configuration.append(getString(R.string.smallestWidth)); 163 | configuration.append(": "); 164 | configuration.append(getTextFromTextView(R.id.textView_smallest_width)); 165 | configuration.append("\n"); 166 | configuration.append(getString(R.string.available_width)); 167 | configuration.append(": "); 168 | configuration.append(getTextFromTextView(R.id.textView_available_width)); 169 | configuration.append("\n"); 170 | configuration.append(getString(R.string.available_height)); 171 | configuration.append(": "); 172 | configuration.append(getTextFromTextView(R.id.textView_available_height)); 173 | configuration.append("\n"); 174 | configuration.append(getString(R.string.screen_size)); 175 | configuration.append(": "); 176 | configuration.append(getTextFromTextView(R.id.textView_screen_size)); 177 | configuration.append("\n"); 178 | configuration.append(getString(R.string.screen_aspect)); 179 | configuration.append(": "); 180 | configuration.append(getTextFromTextView(R.id.textView_screen_aspect)); 181 | configuration.append("\n"); 182 | configuration.append(getString(R.string.round_screen)); 183 | configuration.append(": "); 184 | configuration.append(getTextFromTextView(R.id.textView_round_screen)); 185 | configuration.append("\n"); 186 | configuration.append(getString(R.string.wide_color_gamut)); 187 | configuration.append(": "); 188 | configuration.append(getTextFromTextView(R.id.textView_wide_color_gamut)); 189 | configuration.append("\n"); 190 | configuration.append(getString(R.string.hdr)); 191 | configuration.append(": "); 192 | configuration.append(getTextFromTextView(R.id.textView_hdr)); 193 | configuration.append("\n"); 194 | configuration.append(getString(R.string.screen_orientation)); 195 | configuration.append(": "); 196 | configuration.append(getTextFromTextView(R.id.textView_screen_orientation)); 197 | configuration.append("\n"); 198 | configuration.append(getString(R.string.ui_mode)); 199 | configuration.append(": "); 200 | configuration.append(getTextFromTextView(R.id.textView_ui_mode)); 201 | configuration.append("\n"); 202 | configuration.append(getString(R.string.night_mode)); 203 | configuration.append(": "); 204 | configuration.append(getTextFromTextView(R.id.textView_night_mode)); 205 | configuration.append("\n"); 206 | configuration.append(getString(R.string.screen_pixel_density)); 207 | configuration.append(": "); 208 | configuration.append(getTextFromTextView(R.id.textView_dpi)); 209 | configuration.append("\n"); 210 | configuration.append(getString(R.string.touchscreen_type)); 211 | configuration.append(": "); 212 | configuration.append(getTextFromTextView(R.id.textView_touchscreen_type)); 213 | configuration.append("\n"); 214 | configuration.append(getString(R.string.keyboard_availability)); 215 | configuration.append(": "); 216 | configuration.append(getTextFromTextView(R.id.textView_keyboard_availability)); 217 | configuration.append("\n"); 218 | configuration.append(getString(R.string.primary_text_input_method)); 219 | configuration.append(": "); 220 | configuration.append(getTextFromTextView(R.id.textView_primary_text_input_method)); 221 | configuration.append("\n"); 222 | configuration.append(getString(R.string.navigation_key_availability)); 223 | configuration.append(": "); 224 | configuration.append(getTextFromTextView(R.id.textView_nav_key_availability)); 225 | configuration.append("\n"); 226 | configuration.append(getString(R.string.primary_nontouch_navigation_method)); 227 | configuration.append(": "); 228 | configuration.append(getTextFromTextView(R.id.textView_primary_nontouch_nav_method)); 229 | configuration.append("\n"); 230 | configuration.append(getString(R.string.platform_version)); 231 | configuration.append(": "); 232 | configuration.append(getTextFromTextView(R.id.textView_platform_version)); 233 | configuration.append("\n"); 234 | return configuration.toString(); 235 | } 236 | 237 | protected CharSequence getTextFromTextView(int resourceId) { 238 | return ((TextView) getView().findViewById(resourceId)).getText(); 239 | } 240 | 241 | protected void sendConfiguration(String configuration) { 242 | final Intent sendIntent = new Intent(android.content.Intent.ACTION_SEND); 243 | sendIntent.setType("text/plain"); 244 | sendIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, ("Resource qualifiers collected by Developer Tools " + Utils.getVersion(getContext()))); 245 | sendIntent.putExtra(android.content.Intent.EXTRA_TEXT, configuration); 246 | try { 247 | startActivity(sendIntent); 248 | } catch (ActivityNotFoundException e) { 249 | Toast.makeText(getContext(), "No activity found for sending configuration.", Toast.LENGTH_LONG).show(); 250 | } 251 | } 252 | 253 | protected void logConfiguration(String configuration) { 254 | String[] configLines = configuration.split("\n"); 255 | for (String line : configLines) { 256 | Log.i(TAG_CONFIG, line); 257 | } 258 | Toast.makeText(getContext(), "Resource qualifiers were written to log at log level INFO.", Toast.LENGTH_LONG).show(); 259 | } 260 | 261 | protected void copyConfiguration(String configuration) { 262 | ClipboardManager clipboardManager = (ClipboardManager) getContext().getSystemService(Context.CLIPBOARD_SERVICE); 263 | if (clipboardManager != null) { 264 | clipboardManager.setText(configuration); 265 | Toast.makeText(getContext(), "Resource qualifiers copied to clipboard.", Toast.LENGTH_LONG).show(); 266 | } else { 267 | Toast.makeText(getContext(), "Unable to get clipboard manager.", Toast.LENGTH_LONG).show(); 268 | } 269 | } 270 | 271 | } 272 | -------------------------------------------------------------------------------- /app/src/main/java/com/roysolberg/android/developertools/ui/fragment/ScreenDimensionsFragment.java: -------------------------------------------------------------------------------- 1 | package com.roysolberg.android.developertools.ui.fragment; 2 | 3 | import android.content.ActivityNotFoundException; 4 | import android.content.Context; 5 | import android.content.Intent; 6 | import android.os.Build; 7 | import android.os.Bundle; 8 | import android.text.ClipboardManager; 9 | import android.util.DisplayMetrics; 10 | import android.util.Log; 11 | import android.view.LayoutInflater; 12 | import android.view.Menu; 13 | import android.view.MenuInflater; 14 | import android.view.MenuItem; 15 | import android.view.View; 16 | import android.view.ViewGroup; 17 | import android.widget.TextView; 18 | import android.widget.Toast; 19 | 20 | import androidx.annotation.Nullable; 21 | import androidx.fragment.app.Fragment; 22 | 23 | import com.roysolberg.android.developertools.R; 24 | import com.roysolberg.android.developertools.util.Utils; 25 | 26 | import java.util.Locale; 27 | 28 | // TODO: I18N 29 | public class ScreenDimensionsFragment extends Fragment { 30 | 31 | private final static String TAG = ScreenDimensionsFragment.class.getSimpleName(); 32 | private final static String TAG_CONFIG = "DeveloperTools"; 33 | 34 | protected String screenDimensions; 35 | 36 | @Override 37 | public void onCreate(@Nullable Bundle savedInstanceState) { 38 | super.onCreate(savedInstanceState); 39 | setHasOptionsMenu(true); 40 | } 41 | 42 | @Nullable 43 | @Override 44 | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { 45 | View rootView = inflater.inflate(R.layout.fragment_screen_dimensions, container, false); 46 | 47 | DisplayMetrics displayMetrics = new DisplayMetrics(); 48 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { 49 | getActivity().getWindowManager().getDefaultDisplay().getRealMetrics(displayMetrics); 50 | } else { 51 | getActivity().getWindowManager().getDefaultDisplay().getMetrics(displayMetrics); 52 | } 53 | StringBuilder screenDimensions = new StringBuilder(); 54 | screenDimensions.append("Device: ").append(Utils.getDeviceSummary()).append("\n"); 55 | 56 | screenDimensions.append("Resolution: "); 57 | String temp = displayMetrics.widthPixels + " x " + displayMetrics.heightPixels + " pixels"; 58 | ((TextView) rootView.findViewById(R.id.textView_displaySize)).setText(temp); 59 | screenDimensions.append(temp); 60 | screenDimensions.append("\n"); 61 | 62 | screenDimensions.append("Logical density: "); 63 | temp = displayMetrics.density + " x dp"; 64 | ((TextView) rootView.findViewById(R.id.textView_displayDensity)).setText(temp); 65 | screenDimensions.append(temp); 66 | screenDimensions.append("\n"); 67 | 68 | screenDimensions.append("Font scaled density: "); 69 | temp = displayMetrics.scaledDensity + " x dp"; 70 | ((TextView) rootView.findViewById(R.id.textView_displayScaledDensity)).setText(temp); 71 | screenDimensions.append(temp); 72 | screenDimensions.append("\n"); 73 | 74 | screenDimensions.append("Density: "); 75 | if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.DONUT) { 76 | temp = displayMetrics.densityDpi + " dots per inch (" + getString(R.string.qualifier_screen_pixel_density) + ")"; 77 | } else { 78 | temp = "N/A"; 79 | } 80 | ((TextView) rootView.findViewById(R.id.textView_displayDensityDpi)).setText(temp); 81 | screenDimensions.append(temp); 82 | screenDimensions.append("\n"); 83 | 84 | screenDimensions.append("Exact density: "); 85 | temp = displayMetrics.xdpi + " x " + displayMetrics.ydpi + " dots per inch"; 86 | ((TextView) rootView.findViewById(R.id.textView_displayExactDensityDpi)).setText(temp); 87 | screenDimensions.append(temp); 88 | screenDimensions.append("\n"); 89 | 90 | screenDimensions.append("Approx. size: "); 91 | temp = getPhysicalSize(displayMetrics); 92 | ((TextView) rootView.findViewById(R.id.textView_approxSize)).setText(temp); 93 | screenDimensions.append(temp); 94 | screenDimensions.append("\n"); 95 | 96 | this.screenDimensions = screenDimensions.toString(); 97 | return rootView; 98 | } 99 | 100 | @Override 101 | public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { 102 | inflater.inflate(R.menu.menu_screen_dimensions, menu); 103 | super.onCreateOptionsMenu(menu, inflater); 104 | } 105 | 106 | 107 | @Override 108 | public boolean onOptionsItemSelected(MenuItem item) { 109 | switch (item.getItemId()) { 110 | case R.id.item_share: 111 | sendscreenDimensions(); 112 | return true; 113 | case R.id.item_log: 114 | logscreenDimensions(); 115 | return true; 116 | case R.id.item_copy: 117 | copyscreenDimensions(); 118 | return true; 119 | } 120 | return false; 121 | } 122 | 123 | protected String getPhysicalSize(DisplayMetrics displayMetrics) { 124 | float width = (float) displayMetrics.widthPixels / displayMetrics.xdpi; 125 | float height = (float) displayMetrics.heightPixels / displayMetrics.ydpi; 126 | return String.format(Locale.US, "%.01f", width) + "\" x " + String.format(Locale.US, "%.01f", height) + "\" (" + String.format(Locale.US, "%.01f", Math.sqrt(width * width + height * height)) + "\" diagonal)"; 127 | } 128 | 129 | protected void sendscreenDimensions() { 130 | final Intent emailIntent = new Intent(android.content.Intent.ACTION_SEND); 131 | emailIntent.setType("text/plain"); 132 | emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, ("Screen dimensions collected by Developer Tools " + Utils.getVersion(getActivity().getApplicationContext()))); 133 | emailIntent.putExtra(android.content.Intent.EXTRA_TEXT, screenDimensions); 134 | try { 135 | startActivity(emailIntent); 136 | } catch (ActivityNotFoundException e) { 137 | Toast.makeText(getActivity().getApplicationContext(), "No activity found for sending e-mail.", Toast.LENGTH_LONG).show(); 138 | } 139 | } 140 | 141 | protected void logscreenDimensions() { 142 | String[] configLines = screenDimensions.split("\n"); 143 | for (String line : configLines) { 144 | Log.i(TAG_CONFIG, line); 145 | } 146 | Toast.makeText(getActivity().getApplicationContext(), "Screen dimensions were written to log at log level INFO.", Toast.LENGTH_LONG).show(); 147 | } 148 | 149 | protected void copyscreenDimensions() { 150 | ClipboardManager clipboardManager = (ClipboardManager) getActivity().getSystemService(Context.CLIPBOARD_SERVICE); 151 | if (clipboardManager != null) { 152 | clipboardManager.setText(screenDimensions); 153 | Toast.makeText(getActivity().getApplicationContext(), "Screen dimensions copied to clipboard.", Toast.LENGTH_LONG).show(); 154 | } else { 155 | Toast.makeText(getActivity().getApplicationContext(), "Unable to get clipboard manager.", Toast.LENGTH_LONG).show(); 156 | } 157 | } 158 | 159 | } 160 | -------------------------------------------------------------------------------- /app/src/main/java/com/roysolberg/android/developertools/ui/fragment/SystemFeaturesFragment.java: -------------------------------------------------------------------------------- 1 | package com.roysolberg.android.developertools.ui.fragment; 2 | 3 | import android.annotation.TargetApi; 4 | import android.content.ActivityNotFoundException; 5 | import android.content.Context; 6 | import android.content.Intent; 7 | import android.content.pm.FeatureInfo; 8 | import android.os.Build; 9 | import android.os.Bundle; 10 | import android.text.ClipboardManager; 11 | import android.util.Log; 12 | import android.view.LayoutInflater; 13 | import android.view.Menu; 14 | import android.view.MenuInflater; 15 | import android.view.MenuItem; 16 | import android.view.View; 17 | import android.view.ViewGroup; 18 | import android.widget.TextView; 19 | import android.widget.Toast; 20 | 21 | import androidx.annotation.Nullable; 22 | import androidx.fragment.app.Fragment; 23 | 24 | import com.roysolberg.android.developertools.R; 25 | import com.roysolberg.android.developertools.util.Utils; 26 | 27 | import java.util.ArrayList; 28 | import java.util.Collections; 29 | import java.util.Comparator; 30 | import java.util.List; 31 | 32 | // TODO: I18N 33 | @TargetApi(Build.VERSION_CODES.ECLAIR) 34 | public class SystemFeaturesFragment extends Fragment { 35 | 36 | private final static String TAG = SystemFeaturesFragment.class.getSimpleName(); 37 | private final static String TAG_CONFIG = "DeveloperTools"; 38 | 39 | protected String systemFeatures; 40 | 41 | @Override 42 | public void onCreate(@Nullable Bundle savedInstanceState) { 43 | super.onCreate(savedInstanceState); 44 | setHasOptionsMenu(true); 45 | } 46 | 47 | @Nullable 48 | @Override 49 | public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { 50 | View rootView = inflater.inflate(R.layout.fragment_system_features, container, false); 51 | setUpSystemFeatures((TextView) rootView); 52 | return rootView; 53 | } 54 | 55 | private void setUpSystemFeatures(TextView systemFeaturesTextView) { 56 | FeatureInfo[] featureInfoArray = getActivity().getPackageManager().getSystemAvailableFeatures(); 57 | List features = new ArrayList<>(); 58 | for (FeatureInfo featureInfo : featureInfoArray) { 59 | final String name = featureInfo.name; 60 | if (name != null) { 61 | features.add(name); 62 | } 63 | } 64 | Collections.sort(features, new Comparator() { 65 | @Override 66 | public int compare(String lhs, String rhs) { 67 | return lhs.compareTo(rhs); 68 | } 69 | }); 70 | StringBuilder systemFeatures = new StringBuilder(); 71 | for (String feature : features) { 72 | systemFeatures.append(feature); 73 | systemFeatures.append("\n"); 74 | } 75 | this.systemFeatures = systemFeatures.toString(); 76 | systemFeaturesTextView.setText(this.systemFeatures); 77 | this.systemFeatures = "Device: " + Utils.getDeviceSummary() + "\n" + this.systemFeatures; 78 | } 79 | 80 | @Override 81 | public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) { 82 | inflater.inflate(R.menu.menu_system_features, menu); 83 | super.onCreateOptionsMenu(menu, inflater); 84 | } 85 | 86 | @Override 87 | public boolean onOptionsItemSelected(MenuItem item) { 88 | switch (item.getItemId()) { 89 | case R.id.item_share: 90 | sendConfiguration(); 91 | return true; 92 | case R.id.item_log: 93 | logConfiguration(); 94 | return true; 95 | case R.id.item_copy: 96 | copyConfiguration(); 97 | return true; 98 | } 99 | return false; 100 | } 101 | 102 | protected void sendConfiguration() { 103 | final Intent sendIntent = new Intent(Intent.ACTION_SEND); 104 | sendIntent.setType("text/plain"); 105 | sendIntent.putExtra(Intent.EXTRA_SUBJECT, ("System features collected by Developer Tools " + Utils.getVersion(getContext()))); 106 | sendIntent.putExtra(Intent.EXTRA_TEXT, systemFeatures); 107 | try { 108 | startActivity(sendIntent); 109 | } catch (ActivityNotFoundException e) { 110 | Toast.makeText(getContext(), "No activity found for sending configuration.", Toast.LENGTH_LONG).show(); 111 | } 112 | } 113 | 114 | protected void logConfiguration() { 115 | String[] configLines = systemFeatures.split("\n"); 116 | for (String line : configLines) { 117 | Log.i(TAG_CONFIG, line); 118 | } 119 | Toast.makeText(getContext(), "System features were written to log at log level INFO.", Toast.LENGTH_LONG).show(); 120 | } 121 | 122 | protected void copyConfiguration() { 123 | ClipboardManager clipboardManager = (ClipboardManager) getContext().getSystemService(Context.CLIPBOARD_SERVICE); 124 | if (clipboardManager != null) { 125 | clipboardManager.setText(systemFeatures); 126 | Toast.makeText(getContext(), "System features copied to clipboard.", Toast.LENGTH_LONG).show(); 127 | } else { 128 | Toast.makeText(getContext(), "Unable to get clipboard manager.", Toast.LENGTH_LONG).show(); 129 | } 130 | } 131 | 132 | } 133 | -------------------------------------------------------------------------------- /app/src/main/java/com/roysolberg/android/developertools/util/Utils.java: -------------------------------------------------------------------------------- 1 | package com.roysolberg.android.developertools.util; 2 | 3 | import android.content.Context; 4 | import android.content.pm.PackageInfo; 5 | import android.content.pm.PackageManager; 6 | import android.os.Build; 7 | 8 | public class Utils { 9 | 10 | public static String getVersion(final Context context) { 11 | PackageManager packageManager = context.getPackageManager(); 12 | String version = ""; 13 | if (packageManager != null) { 14 | try { 15 | PackageInfo packageInfo = packageManager.getPackageInfo(context.getPackageName(), 0); 16 | version = packageInfo.versionName; 17 | } catch (PackageManager.NameNotFoundException e) { 18 | /* no-op */ 19 | } catch (SecurityException e) { 20 | /* no-op */ 21 | } 22 | } 23 | return version; 24 | } 25 | 26 | public static String getDeviceSummary() { 27 | return Build.MANUFACTURER + " " + Build.MODEL + " (" + Build.VERSION.RELEASE + "/" + Build.VERSION.SDK + "/" + Build.ID + ")"; 28 | } 29 | 30 | } 31 | -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/collapsable_toolbar_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-hdpi/collapsable_toolbar_icon.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_alogcat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-hdpi/ic_alogcat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_dalvik_explorer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-hdpi/ic_dalvik_explorer.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_manifestviewer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-hdpi/ic_manifestviewer.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-hdpi/ic_settings_development.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-hdpi/ic_settings_development.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/collapsable_toolbar_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-mdpi/collapsable_toolbar_icon.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_alogcat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-mdpi/ic_alogcat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_manifestviewer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-mdpi/ic_manifestviewer.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-mdpi/ic_settings_development.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-mdpi/ic_settings_development.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xhdpi/banner.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/collapsable_toolbar_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xhdpi/collapsable_toolbar_icon.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_alogcat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xhdpi/ic_alogcat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_clean_status_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xhdpi/ic_clean_status_bar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_dalvik_explorer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xhdpi/ic_dalvik_explorer.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_manifestviewer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xhdpi/ic_manifestviewer.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xhdpi/ic_settings_development.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xhdpi/ic_settings_development.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/collapsable_toolbar_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xxhdpi/collapsable_toolbar_icon.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_alogcat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xxhdpi/ic_alogcat.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_clean_status_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xxhdpi/ic_clean_status_bar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_dalvik_explorer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xxhdpi/ic_dalvik_explorer.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_manifestviewer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xxhdpi/ic_manifestviewer.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxhdpi/ic_settings_development.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xxhdpi/ic_settings_development.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/collapsable_toolbar_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xxxhdpi/collapsable_toolbar_icon.png -------------------------------------------------------------------------------- /app/src/main/res/drawable-xxxhdpi/ic_clean_status_bar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/drawable-xxxhdpi/ic_clean_status_bar.png -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_adb_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_check_circle_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_fold.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_info_outline_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_phone_android_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_share.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_stay_current_portrait_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_tune_24dp.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/ic_unfold.xml: -------------------------------------------------------------------------------- 1 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/drawable/tinted_settings_development.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/ic_dalvik_explorer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/ic_dalvik_explorer.png -------------------------------------------------------------------------------- /app/src/main/res/layout-v7/activity_main.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 12 | 13 | 20 | 21 | 31 | 32 | 37 | 38 | 39 | 40 | 41 | 48 | 49 | 55 | 56 | 57 | 58 | 59 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 13 | 14 | 20 | 21 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_main_twopane.xml: -------------------------------------------------------------------------------- 1 | 7 | 8 | 14 | 15 | 23 | 24 | 31 | 32 | 37 | 38 | 45 | 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_resource_qualifiers.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_screen_dimensions.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/activity_system_features.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 14 | 15 | 36 | 37 | 38 | 39 | 60 | 61 | 62 | 63 | 84 | 85 | 86 | 87 | 99 | 100 | 121 | 122 | 123 | 124 | 147 | 148 | 152 | 153 | 174 | 175 | 176 | 177 | 189 | 190 | 211 | 212 | 213 | 214 | 235 | 236 | 239 | 240 | 261 | 262 | 263 | 264 | 285 | 286 | 287 | 288 | 289 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_resource_qualifiers_collapsed.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | 10 | 15 | 16 | 19 | 20 | 26 | 27 | 32 | 33 | 38 | 39 | 40 | 43 | 44 | 47 | 48 | 53 | 54 | 59 | 60 | 65 | 66 | 67 | 70 | 71 | 74 | 75 | 80 | 81 | 86 | 87 | 92 | 93 | 94 | 97 | 98 | 101 | 102 | 107 | 108 | 113 | 114 | 119 | 120 | 121 | 124 | 125 | 128 | 129 | 134 | 135 | 140 | 141 | 146 | 147 | 148 | 151 | 152 | 155 | 156 | 161 | 162 | 167 | 168 | 173 | 174 | 175 | 178 | 179 | 182 | 183 | 188 | 189 | 194 | 195 | 200 | 201 | 202 | 205 | 206 | 209 | 210 | 215 | 216 | 221 | 222 | 227 | 228 | 229 | 232 | 233 | 236 | 237 | 242 | 243 | 248 | 249 | 254 | 255 | 256 | 259 | 260 | 263 | 264 | 269 | 270 | 275 | 276 | 281 | 282 | 283 | 286 | 287 | 290 | 291 | 296 | 297 | 302 | 303 | 308 | 309 | 310 | 313 | 314 | 317 | 318 | 323 | 324 | 329 | 330 | 335 | 336 | 337 | 340 | 341 | 344 | 345 | 350 | 351 | 356 | 357 | 362 | 363 | 364 | 367 | 368 | 371 | 372 | 377 | 378 | 383 | 384 | 389 | 390 | 391 | 394 | 395 | 398 | 399 | 404 | 405 | 410 | 411 | 416 | 417 | 418 | 421 | 422 | 425 | 426 | 431 | 432 | 437 | 438 | 443 | 444 | 445 | 448 | 449 | 452 | 453 | 458 | 459 | 464 | 465 | 470 | 471 | 472 | 475 | 476 | 479 | 480 | 485 | 486 | 491 | 492 | 497 | 498 | 499 | 502 | 503 | 506 | 507 | 512 | 513 | 518 | 519 | 524 | 525 | 526 | 529 | 530 | 533 | 534 | 539 | 540 | 545 | 546 | 551 | 552 | 553 | 556 | 557 | 560 | 561 | 566 | 567 | 572 | 573 | 578 | 579 | 580 | 583 | 584 | 587 | 588 | 593 | 594 | 599 | 600 | 605 | 606 | 607 | 610 | 611 | 612 | -------------------------------------------------------------------------------- /app/src/main/res/layout/fragment_system_features.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_divider.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/layout/list_divider_text_only.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_main.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 9 | 10 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_resource_qualifiers.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 10 | 15 | 20 | 24 | 28 | 29 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_screen_dimensions.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 9 | 13 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/menu/menu_system_features.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 9 | 13 | 17 | 18 | -------------------------------------------------------------------------------- /app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/fullscreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/mipmap-xxhdpi/fullscreen.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /app/src/main/res/values-12key/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 12key 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-appliance/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | appliance 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-car/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | car 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-desk/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | desk 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-dpad/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | dpad 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-finger/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | finger 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-hdpi/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | hdpi 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-highdr/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | highdr 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-keysexposed/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | keysexposed 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-keyshidden/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | keyshidden 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-keyssoft/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | keyssoft 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-land/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | land 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-large/refs.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | @layout/activity_main_twopane 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/values-large/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | large 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-ldltr/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ldltr 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-ldpi/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ldpi 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-ldrtl/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | ldrtl 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-long/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | long 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-lowdr/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | lowdr 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-mdpi/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | mdpi 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-navexposed/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | navexposed 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-navhidden/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | navhidden 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-night/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | night 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-nodpi/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | nodpi 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-nokeys/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | nokeys 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-nonav/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | nonav 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-normal/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | normal 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-notlong/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | notlong 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-notnight/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | notnight 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-notouch/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | notouch 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-notround/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | notround 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-nowidecg/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | nowidecg 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-port/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | port 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-qwerty/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | qwerty 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-round/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | round 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-small/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | small 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-stylus/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | stylus 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-sw600dp/refs.xml: -------------------------------------------------------------------------------- 1 | 2 | 9 | @layout/activity_main_twopane 10 | 11 | -------------------------------------------------------------------------------- /app/src/main/res/values-television/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | television 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-trackball/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | trackball 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v10/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v10 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v10/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/values-v11/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v11 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v12/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v12 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v13/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v13 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v14/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v14 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v15/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v15 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v16/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v16 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v17/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v17 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v18/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v18 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v19/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v19 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v20/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v20 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v21/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8dp 4 | 16dp 5 | 56dp 6 | 7 | -------------------------------------------------------------------------------- /app/src/main/res/values-v21/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v21 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v21/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 8 | 12 | 13 | -------------------------------------------------------------------------------- /app/src/main/res/values-v22/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v22 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v23/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v23 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v24/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v24 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v25/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v25 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v26/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v26 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v27/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v27 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v28/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v28 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v29/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v29 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v3/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v3 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v30/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v30 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v31/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v31 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v32/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v32 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v33/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v33 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v34/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v34 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v35/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v35 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v36/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v36 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v37/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v37 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v38/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v38 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v39/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v39 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v4/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v4 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v40/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v40 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v41/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v41 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v42/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v42 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v43/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v43 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v44/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v44 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v45/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v45 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v46/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v46 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v47/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v47 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v48/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v48 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v49/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v49 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v5/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v5 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v50/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v50 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v51/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v51 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v52/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v52 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v53/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v53 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v54/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v54 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v55/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v55 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v56/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v56 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v57/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v57 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v58/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v58 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v59/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v59 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v6/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v6 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v60/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v60 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v7/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v7 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v8/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v8 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-v9/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | v9 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-vrheadset/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | vrheadset 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-watch/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | watch 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-wheel/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | wheel 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-widecg/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | widecg 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-xhdpi/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | xhdpi 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-xlarge/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | xlarge 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values-xxhdpi/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | xxhdpi 4 | -------------------------------------------------------------------------------- /app/src/main/res/values-xxxhdpi/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | xxxhdpi 4 | 5 | -------------------------------------------------------------------------------- /app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #212121 4 | #0288D1 5 | #B3E5FC 6 | #a4c639 7 | #212121 8 | #727272 9 | #FFFFFF 10 | #B6B6B6 11 | 12 | -------------------------------------------------------------------------------- /app/src/main/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 16dp 4 | 32dp 5 | 72dp 6 | -------------------------------------------------------------------------------- /app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Developer Tools 3 | Tool Detail 4 | Screen dimensions 5 | Dalvik Explorer 6 | aLogcat 7 | Manifestviewer 8 | Developer options 9 | Dev opt 10 | Apps 11 | Resource qualifiers 12 | System features 13 | Third party apps 14 | Settings 15 | Logo 16 | Permission manager 17 | Install %1$s 18 | Dalvik Explorer is an excellent app by Elliott Hughes that displays Java system properties, environment variables, and more.\n\nYou can download it from Play Store. 19 | aLogcat is a great Android system log file reader by Jeffrey Blattman.\n\nYou can download it from Play Store.\n\nPlease consider his donate version if you find it useful. 20 | ManifestViewer is a great way to get information about installed apps\' AndroidManifest.xml, including intent filters and permissions.\n\nThe app is created by susatthi and you can download it from Play Store. 21 | Clean Status Bar is *the* app to use when taking screenshots of your apps.\n\nUsing this app you get professional screenshots to use in Play Store and presentations.\n\nThe app is created by Emma Guy. It\'s available as open source and in Play Store. 22 | org.jessies.dalvikexplorer 23 | org.jtb.alogcat.donate 24 | org.jtb.alogcat 25 | jp.susatthi.ManifestViewer 26 | com.emmaguy.cleanstatusbar 27 | Fallback (no qualifier) 28 | @string/fallback_no_qualifier 29 | Screen size 30 | Screen aspect 31 | @string/fallback_no_qualifier 32 | API level 4 33 | API level 1 34 | Screen orientation 35 | @string/fallback_no_qualifier 36 | Wide Color Gamut 37 | @string/fallback_no_qualifier 38 | High Dynamic Range (HDR) 39 | @string/fallback_no_qualifier 40 | API level 17 41 | Layout direction 42 | @string/fallback_no_qualifier 43 | API level 8 44 | UI mode 45 | @string/fallback_no_qualifier 46 | Night mode 47 | @string/fallback_no_qualifier 48 | Screen pixel density (dpi) 49 | @string/fallback_no_qualifier 50 | Touchscreen type 51 | @string/fallback_no_qualifier 52 | Keyboard availability 53 | @string/fallback_no_qualifier 54 | Primary text input method 55 | @string/fallback_no_qualifier 56 | @string/fallback_no_qualifier 57 | Navigation key availability 58 | @string/fallback_no_qualifier 59 | Primary non-touch navigation method 60 | Platform version (API level) 61 | @string/fallback_no_qualifier 62 | @string/fallback_no_qualifier 63 | Language and region 64 | MCC and MNC 65 | Collapse view 66 | Expand view 67 | Share configuration 68 | smallestWidth 69 | API level 13 70 | Available width 71 | Available height 72 | API level 23 73 | Round screen 74 | About app 75 | Clean Status Bar 76 | API level 26 77 | 78 | -------------------------------------------------------------------------------- /app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /app/src/main/res/xml/shortcuts.xml: -------------------------------------------------------------------------------- 1 | 2 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | google() 6 | mavenCentral() 7 | } 8 | dependencies { 9 | classpath 'com.android.tools.build:gradle:8.0.2' 10 | 11 | // NOTE: Do not place your application dependencies here; they belong 12 | // in the individual module build.gradle files 13 | } 14 | } 15 | 16 | allprojects { 17 | repositories { 18 | google() 19 | mavenCentral() 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | android.defaults.buildfeatures.buildconfig=true 20 | android.enableJetifier=true 21 | android.nonFinalResIds=false 22 | android.nonTransitiveRClass=false 23 | android.useAndroidX=true 24 | org.gradle.unsafe.configuration-cache=true -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sun Jul 26 21:02:19 CEST 2020 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-8.0-all.zip 7 | w -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /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 | -------------------------------------------------------------------------------- /misc/banner.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/banner.xcf -------------------------------------------------------------------------------- /misc/helper.py: -------------------------------------------------------------------------------- 1 | import os 2 | 3 | dir_start = "/Users/roy/dev/git/java-android-developertools/app/src/main/res/" 4 | 5 | start = 3 6 | end = 60 7 | 8 | for i in range(start, end + 1): 9 | dir = dir_start + f"values-v{i}" 10 | if not os.path.exists(dir): 11 | os.makedirs(dir, exist_ok=True) 12 | f = open(f"{dir}/strings.xml", "w") 13 | f.write(f""" 14 | 15 | v{i} 16 | 17 | """) 18 | f.close() 19 | -------------------------------------------------------------------------------- /misc/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/ic_launcher.png -------------------------------------------------------------------------------- /misc/ic_launcher.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/ic_launcher.xcf -------------------------------------------------------------------------------- /misc/ic_launcher_web_hi_res_512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/ic_launcher_web_hi_res_512.png -------------------------------------------------------------------------------- /misc/promo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/promo.png -------------------------------------------------------------------------------- /misc/promo.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/promo.xcf -------------------------------------------------------------------------------- /misc/release/developertools-1.1.3.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-1.1.3.apk -------------------------------------------------------------------------------- /misc/release/developertools-2.0.0.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-2.0.0.apk -------------------------------------------------------------------------------- /misc/release/developertools-2.0.1.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-2.0.1.apk -------------------------------------------------------------------------------- /misc/release/developertools-2.0.2.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-2.0.2.apk -------------------------------------------------------------------------------- /misc/release/developertools-2.0.3.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-2.0.3.apk -------------------------------------------------------------------------------- /misc/release/developertools-2.0.4.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-2.0.4.apk -------------------------------------------------------------------------------- /misc/release/developertools-2.0.5.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-2.0.5.apk -------------------------------------------------------------------------------- /misc/release/developertools-2.0.6.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-2.0.6.apk -------------------------------------------------------------------------------- /misc/release/developertools-2.0.7.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-2.0.7.apk -------------------------------------------------------------------------------- /misc/release/developertools-2.0.8.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-2.0.8.apk -------------------------------------------------------------------------------- /misc/release/developertools-2.0.9.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-2.0.9.apk -------------------------------------------------------------------------------- /misc/release/developertools-2.1.0.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-2.1.0.apk -------------------------------------------------------------------------------- /misc/release/developertools-2.1.1.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-2.1.1.apk -------------------------------------------------------------------------------- /misc/release/developertools-2.1.2.aab: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-2.1.2.aab -------------------------------------------------------------------------------- /misc/release/developertools-2.1.2.apk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/release/developertools-2.1.2.apk -------------------------------------------------------------------------------- /misc/release/output-metadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": 3, 3 | "artifactType": { 4 | "type": "APK", 5 | "kind": "Directory" 6 | }, 7 | "applicationId": "com.roysolberg.android.developertools", 8 | "variantName": "release", 9 | "elements": [ 10 | { 11 | "type": "SINGLE", 12 | "filters": [], 13 | "attributes": [], 14 | "versionCode": 69, 15 | "versionName": "2.1.2", 16 | "outputFile": "developertools-2.1.2.apk" 17 | } 18 | ], 19 | "elementType": "File" 20 | } -------------------------------------------------------------------------------- /misc/screenshots/Screenshot_2016-04-21-23-19-28.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/screenshots/Screenshot_2016-04-21-23-19-28.png -------------------------------------------------------------------------------- /misc/screenshots/Screenshot_2016-04-21-23-20-07.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/screenshots/Screenshot_2016-04-21-23-20-07.png -------------------------------------------------------------------------------- /misc/screenshots/Screenshot_2016-04-21-23-20-15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/screenshots/Screenshot_2016-04-21-23-20-15.png -------------------------------------------------------------------------------- /misc/screenshots/Screenshot_2016-04-21-23-20-29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/screenshots/Screenshot_2016-04-21-23-20-29.png -------------------------------------------------------------------------------- /misc/screenshots/Screenshot_2016-04-21-23-20-59.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/screenshots/Screenshot_2016-04-21-23-20-59.png -------------------------------------------------------------------------------- /misc/screenshots/Screenshot_2016-04-21-23-21-18.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/screenshots/Screenshot_2016-04-21-23-21-18.png -------------------------------------------------------------------------------- /misc/screenshots/android_tv/device-2016-08-31-204758.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/screenshots/android_tv/device-2016-08-31-204758.png -------------------------------------------------------------------------------- /misc/screenshots/android_tv/device-2016-08-31-204850.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/screenshots/android_tv/device-2016-08-31-204850.png -------------------------------------------------------------------------------- /misc/screenshots/android_tv/device-2016-08-31-204915.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/screenshots/android_tv/device-2016-08-31-204915.png -------------------------------------------------------------------------------- /misc/screenshots/android_tv/device-2016-08-31-204949.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/screenshots/android_tv/device-2016-08-31-204949.png -------------------------------------------------------------------------------- /misc/screenshots/android_tv/device-2016-08-31-205032.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/screenshots/android_tv/device-2016-08-31-205032.png -------------------------------------------------------------------------------- /misc/todo.txt: -------------------------------------------------------------------------------- 1 | on screen ruler drawing on top of other windows 2 | Bare linke til material cue? 3 | https://github.com/Actinarium/Rhythm/wiki/Comparison-of-Rhythm-and-Material-Cue 4 | font info app? 5 | cam info app 6 | sensor info app 7 | network info app 8 | memory filler app 9 | -------------------------------------------------------------------------------- /misc/tv_banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/tv_banner.png -------------------------------------------------------------------------------- /misc/tv_banner.xcf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/roys/java-android-developertools/b34cd2a75c0cb3a4bf71b580e1c87bd13a4cae59/misc/tv_banner.xcf -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- 1 | include ':app' 2 | --------------------------------------------------------------------------------