Skip to content

Latest commit

 

History

History
262 lines (219 loc) · 18.1 KB

README.md

File metadata and controls

262 lines (219 loc) · 18.1 KB

Important Android Open-Source Resources and Blogs

Best android materials link and resource websites and repos.

Image color(hex) lighter website:

QR CODE

Scanning:

Generating:

Image compression for decreasing resource file size

SVG to XML Converter online

PNG to SVG

Circular Image View

Architectures

MVP:

Android Patterns

Android Printing

Icons for free

Time Picker

OpenID Authorization

Time Related

System.out.println(d.toDateMidnight().isEqual(e.toDateMidnight()));

or

System.out.println(d.withTimeAtStartOfDay().isEqual(e.withTimeAtStartOfDay()));

25 BEST Android Library collections blog

GreenDAO ORM database

SnakBar Library

  • a very customized and elegant snackbar on github from Tonny

int vs Integer -> most basic question

Fragment Back stack

  • github from Chintan Rathod ; if you're checking by cloning his project like I did, you're going to face gradle problem becuase of his project being done on eclipse. So check this out this is how I fixed it.

Handling Networking

TIPS ON UI/UX DESIGN - BY Nick Babich

File Browser Intents & Providers

Excel sheet Generator

Sharing file with Intent

RecyclerView

CodeStarter

RxJava

Snippet of code from the first best blog.

 public void handleApiError(Throwable error) {
      if (error instanceof HttpException) {
          switch (((HttpException) error).code()) {
              case HttpsURLConnection.HTTP_UNAUTHORIZED:
                  mView.onError("Unauthorised User ");
                  break;
              case HttpsURLConnection.HTTP_FORBIDDEN:
                  mView.onError("Forbidden");
                  break;
              case HttpsURLConnection.HTTP_INTERNAL_ERROR:
                  mView.onError("Internal Server Error");
                  break;
              case HttpsURLConnection.HTTP_BAD_REQUEST:
                  mView.onError("Bad Request");
                  break;
              case API_STATUS_CODE_LOCAL_ERROR:
                  mView.onError("No Internet Connection");
                  break;
              default:
                  mView.onError(error.getLocalizedMessage());
          }
      } else if (error instanceof WrapperError) {
          mView.onError(error.getMessage());
      } else if (error instanceof JsonSyntaxException) {
          mView.onError("Something Went Wrong API is not responding properly!");
      } else {
          mView.onError(error.getMessage());
      }
  }

Language change

`* 1st best blog with github and 2nd best blog and finally best stackoverflow answer by Ricardo

Network security policy on the Latest API with http and https issue (Cleartext HTTP traffic not permitted)

Android - TESTING

Dynamic Form Handling

https://codinginflow.com/

Collapsing Toolbar

Bottom Navigation

Offline - First Architecture

ProGuard

Chrome Custom Tab

Change file to base64 encoding before uploading

Sweet dialog library for better library

Color Alpha

Here’s a correct table of percentages to hex values. E.g. for 50% white you’d use #80FFFFFF.

  100% — FF
  95% — F2
  90% — E6
  85% — D9
  80% — CC
  75% — BF
  70% — B3
  65% — A6
  60% — 99
  55% — 8C
  50% — 80
  45% — 73
  40% — 66
  35% — 59
  30% — 4D
  25% — 40
  20% — 33
  15% — 26
  10% — 1A
  5% — 0D
  0% — 00 

In App Purchase - IAP