Skip to content

Instantly share code, notes, and snippets.

@cniw
cniw / build_waydroid_v8.sh
Last active July 3, 2024 09:35
Build Waydroid for Debian or Ubuntu based distro v8
#!/bin/bash
# script name: build_waydroid_v8.sh
# description: Build Waydroid for Debian or Ubuntu based distro v8
# upstream : https://gist.github.com/cniw/98e204d7dbc73a3fa1bf61629b2a2fc1
# author : Wachid Adi Nugroho <[email protected]>
# date : 2022-07-07
NC='\033[0m'
RED='\033[1;91m'
GREEN='\033[1;92m'
@FreddieOliveira
FreddieOliveira / docker.md
Last active November 16, 2024 08:51
This tutorial shows how to run docker natively on Android, without VMs and chroot.

Docker on Android 🐋📱

Edit 🎉

All packages, except for Tini have been added to termux-root. To install them, simply pkg install root-repo && pkg install docker. This will install the whole docker suite, left only Tini to be compiled manually.


Summary

@tiann
tiann / BetterAsyncTask.java
Last active April 3, 2021 13:35
Better AsyncTask: 1. deal AbortPolicy 2. can run in thread 3. run in parallel 4. avoid crash
package com.example.test.app;/*
* Copyright (C) 2008 The Android Open Source Project
*
* 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