Camera Color Picker is an Android application that lets you capture, in real time, the colors around you using the camera of your device

Overview

Camera Color Picker

Camera Color Picker is an Android application that lets you capture, in real time, the colors around you using the camera of your device.

Product Flavor

Last project release introduce the new flavorDimension "user" with two values:

  • kids
  • adult

This dimension main idea is to target who is gonna use the built apk. Is it a child or an adult?

The "adult" productFlavor is the historic app with previous user experience whereas the "kids" productFlavor introduce some changes in order to allow kids to use the app despite the lack of reading skills.

This better experience for kids was initiate by Jo Grimstad who validated each improvements from an UX point of view thanks to his precious knowledges of digital contents for young children.

Contributing

Contributions are welcome (: You can contribute through GitHub by forking the repository and sending a pull request.

When submitting code, please make every effort to follow existing conventions and style in order to keep the code as readable as possible. For this project, we tries to follow the code style guidelines of the Android open source project.

Credits

Credits go to Thomas Barthélémy https://github.com/tbarthel-fr and Vincent Barthélémy https://github.com/vbarthel-fr.

License

Copyright (C) 2014 tvbarthel

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Comments
  • [Tabs] replace text by icons for kids.

    [Tabs] replace text by icons for kids.

    Fab button as been changed to a '+' icon for not using same icons at different place. In addition, it could help to understand the action behind the FAB.

    for kids : icons

    default :

    text

    reviewed validated 
    opened by tbarthel-fr 12
  • implement org.openintents.action.PICK_COLOR

    implement org.openintents.action.PICK_COLOR

    I was looking for a color picker in F-Droid for an app I'm writing, and it would be perfect to use CameraColorPicker, so I implemented the OpenIntents PICK_COLOR action for the ColorPickerActivity. Hopefully this can be useful to others as well.

    http://www.openintents.org/action/org-openintents-action-pick-color/

    reviewed 
    opened by travisfw 5
  • [Palette list] Adapt the palette list to the kids/adult falvors.

    [Palette list] Adapt the palette list to the kids/adult falvors.

    This MR adapt the palette list for kids.

    In the kids version of the app, the palettes are now displayed in a grid. The names of the palette are no longer shown.

    Here is a screenshot of the default version: device-2016-07-24-150847

    Here is a screenshot of the kids version: device-2016-07-24-150915

    @tbarthel-fr Compared to my last MR for the color items, I managed to share more code between product flavors. If this is OK for you, I will probably factorize the code for the color items =)

    reviewed validated 
    opened by vbarthel-fr 4
  • [Color items] Adapts the color item list to the kids/adult flavors.

    [Color items] Adapts the color item list to the kids/adult flavors.

    This MR is an attempt to adapt the color item lists for kids.

    In the kids version of the app, the color items are now displayed as a grid. The hexadecimal codes are no longer shown. And long press actions for copying the hexa codes to the clip board has been disabled.

    Here are some screenshots of the default version: device-2016-07-24-111220 device-2016-07-24-111301

    And here are some screenshots of the kids version: device-2016-07-24-111332 device-2016-07-24-111406

    Once this MR is validated, I will adapt the palette lists in the same way =)

    reviewed validated 
    opened by vbarthel-fr 4
  • Tb/action emphase

    Tb/action emphase

    Animations has been added for every users.

    In addition, drop figure has been added for kids and used in the ic_launcher as well as empty view indicator.

    icons: device-2016-07-23-192027

    for kids : device-2016-07-23-192111

    default : device-2016-07-23-192157

    reviewed validated 
    opened by tbarthel-fr 3
  • [Color Details] Adapt the color details to the kid flavor.

    [Color Details] Adapt the color details to the kid flavor.

    In the kid version, the color details display the quantity of red, green and blue in the selected color.

    device-2016-07-31-204211

    In the adult version, the color details display the hexadecimal, rgb and hsv code.

    device-2016-07-31-204321

    to-validate reviewed 
    opened by vbarthel-fr 2
  • [Palette creation] Adapt the palette creation to the kid flavor.

    [Palette creation] Adapt the palette creation to the kid flavor.

    In the kid version, the instruction is represented as an image, and a default name is used.

    In the default version, the instruction is in plain text, and the name of the palette is choose by the user from a dialog.

    Note: the floating action button is now only displayed when at least one color has been added to the palette creator.

    to-validate reviewed 
    opened by vbarthel-fr 2
  • [Delete dialogs] Adapt the delete dialogs to the kids flavor.

    [Delete dialogs] Adapt the delete dialogs to the kids flavor.

    In the kid version of the app, the dialog displayed to confirm the deletion of a color or of a palette are now text free.

    Default version:

    device-2016-07-31-164556 device-2016-07-31-164631

    Version for kids:

    device-2016-07-31-164730 device-2016-07-31-164756

    to-validate reviewed 
    opened by vbarthel-fr 2
  • Implement openintents PICK_COLOR action

    Implement openintents PICK_COLOR action

    Using your camera to pick a color is a great capability that could be utilized by other apps. The pull request https://github.com/tvbarthel/CameraColorPicker/pull/32 is one way to do that implementation that does not get in the way of the existing behavior of CameraColorPicker. Should that be merged in, or is there a better solution?

    opened by travisfw 1
  • [Tool bar] Implement a mechanism for specific flavor behaviour for the activity tool bars

    [Tool bar] Implement a mechanism for specific flavor behaviour for the activity tool bars

    The xxxActivityFlavor are hooked to the activity methods to change the title or the menu.

    For the kid version, the activity (except the MainActivity) have no titles. For the kid version, the ColorDetailActivity and the PaletteDetailActivity no longer display a share action nor an edit action.

    reviewed 
    opened by vbarthel-fr 1
  • Tag for release 0.0.7 missing

    Tag for release 0.0.7 missing

    There is a release of version 0.0.7 of Camera Color Picker in Play Store that has no tag here on GitHub. In order to release the app on F-Droid it would be nice to have tags for every version that should be released (every stable version). The process could then be automated.

    Thanks!

    opened by keeba0 1
  • When I turn on the flash in the dark and then do color sampling, it can only collect black

    When I turn on the flash in the dark and then do color sampling, it can only collect black

    Describe the bug I found that when I put the phone on the table and turn on the flash before sampling the color, I can only collect black

    Context

    • Device: [galaxy a6s]
    • OS version: [Android 8.1.0]
    • App version: [0.0.7]

    How to reproduce Steps to reproduce the behavior:

    1. Install CameraColorPicker and open
    2. Click the sampling button in the lower right corner
    3. put the phone on the table
    4. Turn on the flashlight
    5. Sampling color

    Expected behavior The color should be sampled as normally as when the flashlight is not on.

    Screenshots Recorded video see attachment (This is a comparison video. The first half is when the flashlight is not on, and the second half is when the flashlight is on) 20191218152301.zip

    opened by sjl872964789 0
  • How do I get left top color.

    How do I get left top color.

    I wrote below code for getting top left color but it is not working as expected.

    addColorFromYUV420(data, mSelectedTopLeftColor, (i * POINTER_RADIUS + j + 1), POINTER_RADIUS, POINTER_RADIUS, mPreviewSize.width, mPreviewSize.height);

    opened by rahulkapoor1 0
  • Gradle compilation fails

    Gradle compilation fails

    :app:compileFossAdultReleaseSources
    :app:lintVitalFossAdultRelease
    /CameraColorPicker_tvbarthel/CameraColorPicker/app/src/main/res/values/strings.xml:6: Error: "main_activity_title" is not translated in "fr" (French) [MissingTranslation]
        <string name="main_activity_title">@string/app_name</string>
                ~~~~~~~~~~~~~~~~~~~~~~~~~~
    
       Explanation for issues of type "MissingTranslation":
       If an application has more than one locale, then all the strings declared
       in one language should also be translated in all other languages.
    
       If the string should not be translated, you can add the attribute
       translatable="false" on the <string> element, or you can define all your
       non-translatable strings in a resource file called donottranslate.xml. Or,
       you can ignore the issue with a tools:ignore="MissingTranslation"
       attribute.
    
       By default this detector allows regions of a language to just provide a
       subset of the strings and fall back to the standard language strings. You
       can require all regions to provide a full translation by setting the
       environment variable ANDROID_LINT_COMPLETE_REGIONS.
    
       You can tell lint (and other tools) which language is the default language
       in your res/values/ folder by specifying tools:locale="languageCode" for
       the root <resources> element in your resource file. (The tools prefix
       refers to the namespace declaration http://schemas.android.com/tools.)
    
    1 errors, 0 warnings
    :app:lintVitalFossAdultRelease FAILED
    
    FAILURE: Build failed with an exception.
    
    * What went wrong:
    Execution failed for task ':app:lintVitalFossAdultRelease'.
    > Lint found fatal errors while assembling a release target.
      
      To proceed, either fix the issues identified by lint, or modify your build script as follows:
      ...
      android {
          lintOptions {
              checkReleaseBuilds false
              // Or, if you prefer, you can continue to check for errors in release builds,
              // but continue the build even when errors are found:
              abortOnError false
          }
      }
      ...
    
    * Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
    
    BUILD FAILED
    
    to-fix 
    opened by jo-elimu 0
  • publish to F-Droid

    publish to F-Droid

    I have no idea how publishing to F-Droid works, but I just noticed that the resolution of #33 is not published there. It would be nice to have that in F-Droid.

    opened by travisfw 2
Releases(v0.0.7)
Facebook-Styled-Image-Picker - Facebook Styled Image Picker

Facebook-Styled-Image-Picker Facebook Styled Gallery Files picker. One or multip

Hashim Tahir 11 Sep 27, 2022
Android time range picker

TimeRangePicker TimeRangePicker is a library which can be used to select a time range. WARNING Requires android-support-v4 Description This library pr

Titto Jose 422 Nov 10, 2022
A date time range picker for android written in Kotlin

DateTimeRangePicker A date time range picker for android Usage Firstly, grab latest release of the library via JitPack. And note that, it utilizes Jod

SkedGo 501 Dec 31, 2022
A customizable, easy-to-use, and functional circular time range picker library for Android

A customizable, easy-to-use, and functional circular time range picker library for Android. Use this library to mimic Apple's iOS or Samsung's bedtime picker.

Joery Droppers 251 Dec 30, 2022
Monet color system with Material You

Monet Google's Monet color system (Android 12 Beta 2) library. Usage Jetpack Compose Generate Monet color palette monetColorsOf(Color, darkTheme) Loca

null 5 Feb 16, 2022
Color-My-View-App - Layouts - ColorMyViews app

Layouts - ColorMyViews app This is the second toy app for lesson 2 of the Androi

null 0 Jan 7, 2022
[NO LONGER MAINTAINED] Android library for better Picker DialogFragments

/!\ This Project is no longer maintained /!\ DialogFragments modeled after the AOSP Clock and Calendar apps to improve UX for picking time, date, numb

Code-Troopers 2.7k Dec 29, 2022
[NO LONGER MAINTAINED] Android library for better Picker DialogFragments

/!\ This Project is no longer maintained /!\ DialogFragments modeled after the AOSP Clock and Calendar apps to improve UX for picking time, date, numb

Code-Troopers 2.7k Dec 29, 2022
Appleader707 1 Aug 9, 2022
Android Compose wheel picker library based on LazyColumn in vertical and LazyRow in horizontal.

About Android Compose wheel picker library based on LazyColumn in vertical and LazyRow in horizontal. Gradle Sample Default Item size Unfocused count

null 6 Dec 22, 2022
Nepali Date Picker library in Jetpack compose for android with Date conversion from BS to AD and vice-versa

Nepali Date picker Converter - Re in Compose This is a re-work of Nepali Date Picker Converter in jetpack compose and kotlin. English Locale Nepali Lo

Kiran Gyawali 4 Dec 23, 2022
A material Date Range Picker based on wdullaers MaterialDateTimePicker

Material Date and Time Picker with Range Selection Credits to the original amazing material date picker library by wdullaer - https://github.com/wdull

Supratim 1.3k Dec 14, 2022
A material Date Range Picker based on wdullaers MaterialDateTimePicker

Material Date and Time Picker with Range Selection Credits to the original amazing material date picker library by wdullaer - https://github.com/wdull

Supratim 1.3k Dec 14, 2022
Simplge ImageGallery Picker

SimpleImagePicker add camera and files permissions to manifest file <uses-permission android:name="android.permission.CAMERA" /> <uses-permiss

null 0 Nov 27, 2021
JetCountrypicker - Country code bottomsheet picker in Jetpack Compose

JetCountryPicker Country code bottomsheet picker in Jetpack Compose How to add i

Canopas Software 30 Nov 17, 2022
A simple compose weight picker drawn with canvas.

CanvasWeightPicker A simple compose weight picker drawn with canvas. Features Drag scale to select weight Haptic feedback on weight selected Video of

Timothy Serem 5 Dec 2, 2022
Pick a date or time on Android in style

Material DateTime Picker - Select a time/date in style Material DateTime Picker tries to offer you the date and time pickers as shown in the Material

null 4.7k Jan 4, 2023
A material-styled android view that provisions picking of a date, time & recurrence option, all from a single user-interface.

SublimePicker A customizable view that provisions picking of a date, time & recurrence option, all from a single user-interface. You can also view 'Su

Vikram 2.3k Jan 4, 2023
Amazing Dynamic Time UI :clock1030: :hourglass: and More

FlatTimeCollection Amazing Dynamic Time UI ?? ⌛ for Android To help you design your Layout. it is Not just a UI, But it contains a CountDownTimer with

Anas Altair 72 Apr 28, 2022