All Projects → saschpe → Android Customtabs

saschpe / Android Customtabs

Licence: apache-2.0
Chrome CustomTabs for Android demystified. Simplifies development and provides higher level classes including fallback in case Chrome isn't available on device.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to Android Customtabs

Permissionsflow
A simple library to make it easy requesting permissions in Android using Kotlin Coroutines.
Stars: ✭ 49 (-87.04%)
Mutual labels:  library, android-development
K4kotlin
A sweet, small set of Kotlin functions to reduce your android boilerplate code
Stars: ✭ 210 (-44.44%)
Mutual labels:  library, android-development
Chocobar
The usual Snackbar with more 🍫 and colours 🎉
Stars: ✭ 110 (-70.9%)
Mutual labels:  library, android-development
Chucker
🔎 An HTTP inspector for Android & OkHTTP (like Charles but on device)
Stars: ✭ 2,169 (+473.81%)
Mutual labels:  library, android-development
Buildapks
Really quickly build APKs on handheld device (smartphone or tablet) in Amazon, Android, Chromebook and Windows📲 See https://buildapks.github.io/docsBuildAPKs/setup to start building APKs.
Stars: ✭ 218 (-42.33%)
Mutual labels:  apk, android-development
Awesome Android
😎 A curated list of awesome Android resources
Stars: ✭ 26 (-93.12%)
Mutual labels:  library, android-development
Foregroundappchecker
Foreground application detection library for android.
Stars: ✭ 167 (-55.82%)
Mutual labels:  library, android-development
Ferret
Declarative web scraping
Stars: ✭ 4,837 (+1179.63%)
Mutual labels:  library, chrome
Streaming
r/freemediaheckyeah
Stars: ✭ 147 (-61.11%)
Mutual labels:  apk, library
Backdoor Apk
backdoor-apk is a shell script that simplifies the process of adding a backdoor to any Android APK file. Users of this shell script should have working knowledge of Linux, Bash, Metasploit, Apktool, the Android SDK, smali, etc. This shell script is provided as-is without warranty of any kind and is intended for educational purposes only.
Stars: ✭ 1,766 (+367.2%)
Mutual labels:  apk, android-development
Venom
A lightweight tool that simplifies testing of the process death scenario.
Stars: ✭ 218 (-42.33%)
Mutual labels:  library, android-development
Super
Secure, Unified, Powerful and Extensible Rust Android Analyzer
Stars: ✭ 340 (-10.05%)
Mutual labels:  apk, android-development
ToDo
Android application to quickly add tasks and reminders.
Stars: ✭ 13 (-96.56%)
Mutual labels:  apk, android-development
Awesome Android Ui
😎 A curated list of awesome Android UI/UX libraries
Stars: ✭ 353 (-6.61%)
Mutual labels:  library, android-development
Go Libtor
Self-contained Tor from Go
Stars: ✭ 368 (-2.65%)
Mutual labels:  library
Undetected Chromedriver
Custom Selenium Chromedriver | Zero-Config | Passes ALL bot mitigation systems (like Distil / Imperva/ Datadadome / CloudFlare IUAM)
Stars: ✭ 365 (-3.44%)
Mutual labels:  chrome
Gb
gb single-file public domain libraries for C & C++
Stars: ✭ 363 (-3.97%)
Mutual labels:  library
Reason Tools
Adds Reason to the browser
Stars: ✭ 366 (-3.17%)
Mutual labels:  chrome
Riposte
Python package for wrapping applications inside a tailored interactive shell
Stars: ✭ 376 (-0.53%)
Mutual labels:  library
Server
A FTP server framework written by Golang, moved to https://gitea.com/goftp/server
Stars: ✭ 373 (-1.32%)
Mutual labels:  library

Android CustomTabs

Download Android Arsenal License Build Status

Chrome CustomTabs for Android demystified. Simplifies development and provides higher level classes including fallback in case Chrome isn't available on device.

Usage

How to create a new custom tab intent and start it with a keep-alive service as well as a fallback to plain old WebView should Chrome not be available on the device:

CustomTabsIntent customTabsIntent = new CustomTabsIntent.Builder()
        .addDefaultShareMenuItem()
        .setToolbarColor(this.getResources().getColor(R.color.colorPrimary))
        .setShowTitle(true)
        .setCloseButtonIcon(backArrow)
        .build();

// This is optional but recommended
CustomTabsHelper.addKeepAliveExtra(this, customTabsIntent.intent);

// This is where the magic happens...
CustomTabsHelper.openCustomTab(this, customTabsIntent,
        Uri.parse("https://github.com/saschpe/android-customtabs"),
        new WebViewFallback());

Preload CustomTabs in your Application.java to warm-up early and reduce start-up time:

// Preload custom tabs service for improved performance
// This is optional but recommended
registerActivityLifecycleCallbacks(new CustomTabsActivityLifecycleCallbacks());

Screenshots

Screenshot 1 Screenshot 2 Screenshot 3

Download

compile 'saschpe.android:customtabs:2.0.0'

Snapshots of the development version are available in Sonatype's snapshots repository.

In use by

License

Copyright 2017 Sascha Peilicke

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].