Git Product home page Git Product logo

android-docker-search's Introduction

android-docker-search

๐Ÿณ Docker Search on Android

Android CI GitHub release

Overview

This Android application enables you do perform a Docker Search on your device, like if you did it on a computer in a terminal, with docker-engine installed.

The results should be the same than docker search with command line interface (see reference doc) :

docker search [OPTIONS] TERM

Features

  • Search images on Docker Hub
  • Display all tags for an image, including the date and size
  • Display the web page for an image, in a separate Chrome Custom Tab
  • Share the URL of the image
  • Minimum supported version : Android 8.0 (Oreo)

Screenshots

screenshot 1

Install the app

Download and install the APK on GitHub.

Docker API

Uses Registry Hub REST API v1 or v2.
In particular :

See reference documentation.

REST Client

Uses Retrofit 2 and Jackson 2

Build the app

With Gradle (doc) :

gradlew assembleDebug

Or (needs signing the APK - Sign your app)

gradlew assembleRelease

Check the code quality with Lint

With Gradle (doc) :

gradlew lint

Then open the report generated at ./app/build/reports/lint-results.html.

More on Android Lint :

android-docker-search's People

Contributors

dependabot[bot] avatar ghusta avatar

Stargazers

 avatar

Watchers

 avatar  avatar

android-docker-search's Issues

Replace internal WebView by Chrome Custom Tabs

As an alternative to solution to #2

See :

Extract :

What are Chrome Custom Tabs?
App developers face a choice when a user taps a URL to either launch a browser, or build their own in-app browser using WebViews.

Both options present challenges โ€” launching the browser is a heavy context switch that isn't customizable, while WebViews don't share state with the browser and add maintenance overhead.

Chrome Custom Tabs give apps more control over their web experience, and make transitions between native and web content more seamless without having to resort to a WebView.

custom_tabs_performance

Upgrade Target SDK version to 27

See Lint :
Target SDK attribute is not targeting latest version

Log :

When your application runs on a version of Android that is more recent than your targetSdkVersion specifies that it has been tested with, various compatibility modes kick in. This ensures that your application continues to work, but it may look out of place. For example, if the targetSdkVersion is less than 14, your app may get an option button in the UI.

To fix this issue, set the targetSdkVersion to the highest available value. Then test your app to make sure everything works correctly. You may want to consult the compatibility notes to see what changes apply to each version you are adding support for: http://developer.android.com/reference/android/os/Build.VERSION_CODES.html
More info: http://developer.android.com/reference/android/os/Build.VERSION_CODES.html
Note: This issue has an associated quickfix operation in Android Studio and IntelliJ IDEA.
To suppress this error, use the issue id "OldTargetApi" as explained in the Suppressing Warnings and Errors section.

Reference :

Remove deprecated in Gradle 4.x

Fix deprecated in build.gradle

Log :

Configure project :app
Configuration 'compile' in project ':app' is deprecated. Use 'implementation' instead.
Configuration 'androidTestCompile' in project ':app' is deprecated. Use 'androidTestImplementation' instead.
Configuration 'testCompile' in project ':app' is deprecated. Use 'testImplementation' instead.
The CompileOptions.bootClasspath property has been deprecated and is scheduled to be removed in Gradle 5.0. Please use the CompileOptions.bootstrapClasspath property instead.

See :

ImageWebViewActivity : add menu item -> Open in Chrome or Open in Browser

Actual ImageWebViewActivity embed a WebView.

It would be nice to have another option (via menu item) to open this URL in the browser or in Chrome.
Like in GMail app for example.

Example code (from https://developer.android.com/reference/android/webkit/WebView.html) :

public void openUrlInBrowser(Uri uri)
{
    Objects.requireNonNull(uri);
    Intent intent = new Intent(Intent.ACTION_VIEW, uri);

    startActivity(intent);
}

See also :

Fix Docker tags list layout

Fix actual RelativeLayout disposition containing TextViews

  • Test with image : microsoft/dotnet containing long tag names

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.