Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
A

android-cheat

> 编程语言
Open source

Dozens of minimal Android demo apps, each a example of one single Android API concept. Tested on Ubuntu 17.10 host, Android Studio 3, Android SDK 26, and an And

100 stars0 likes0 views
WebsiteGitHub

About

Dozens of minimal Android demo apps, each a example of one single Android API concept. Tested on Ubuntu 17.10 host, Android Studio 3, Android SDK 26, and an And

Android Cheat

Dozens of minimal Android demo apps, each a example of one single Android API concept. Tested on Ubuntu 17.10 host, Android Studio 3, Android SDK 26, and an Android 6.0.1 device.

  1. Getting started
  2. Examples
    1. UI
      1. XMLLayout
      2. View
        1. TextView
          1. TextViewNewlinew
          2. TextViewBold
          3. TextViewHyperlink
          4. ScrollView
          5. ScrollingMovementMethod
          6. EditText
            1. EditText.getText
          7. Button
            1. Checkbox
            2. RadioButton
          8. setTextColor
        2. setBackgroundColor
        3. setLayoutParams
          1. setLayoutParamsLinearLayout
        4. ViewGroup
          1. RelativeLayout
          2. LinearLayout
        5. Media
          1. ImageView
            1. Bitmap
          2. VideoView
        6. Screen
          1. Fullscreen
          2. Portrait
      3. Activities
        1. TwoActivities
        2. ActivityLifecycle
        3. ChangeView
      4. Notifications
        1. Notification
        2. Toast
        3. AlertDialog
      5. Fragment
    2. BackgroundJobsTheory
      1. Handler
      2. IntentService
        1. IntentServiceTextView
        2. IntentServiceStartStop
      3. AsyncTask
    3. ServerSocket
      1. Socket
        1. SocketAsyncTask
    4. Hardware
      1. Camera
        1. CameraOneShot
        2. CameraPreviewVideo
    5. Location theory 1.Location
    6. Env
    7. Ndk
      1. NdkSyslog
      2. NDKLog
      3. NDKLibc
      4. NDKTwoFiles
  3. Theory
    1. Root
    2. Development
      1. Build AOSP
        1. build-aosp
        2. build-aosp-hikey960
      2. Contribute to AOSP
      3. Internals
        1. Device file hierarchy
        2. Networking
      4. android command
      5. adb
        1. Project file hierarchy
          1. AndroidManifest.xml
        2. ant
      6. Debugging
      7. Gradle
      8. Apps
        1. GAPPS
          1. gmail
        2. WhatsApp
      9. SDK
      10. aapt
      11. Studio
      12. Emulator
    3. AOSP
      1. repo
    4. Desktop
      1. POSIX
    5. Monitor app power consumption
    6. Mods
      1. CyanogenMod
      2. AOKP
    7. Google play
    8. Open source
    9. Trivia
    10. GPU
    11. Security
    12. Close app
    13. Fingerprint sensor

Chats

Mark all as read:

Uninstallable apps

Some bloatware cannot be removed at all:

Bibliography

  • Android Authority
    • https://www.youtube.com/channel/UCgyqtNWZmIxTx3b6OxTSALw
  • https://en.wikipedia.org/wiki/XDA_Developers
    • http://www.xda-developers.com/

Small apps

Stay on top of other apps.

Sample application: take screenshot!

Screenshot

On Xperia Z3, Power key + volume down.

Icons

    • only network symbols:
  • 4G vs H+ vs H
    • completely different WWAN standards: http://android.stackexchange.com/questions/56269/what-are-the-different-signal-indicators-avalable-on-the-notification-bar

UI

Status bar

Topmost bar on the screen, contains several icons like signal .

Lock screen

What you see when you hit the power button.

Lock screen widgets

Removed apparently in Android 5.

Toast

Notification history

Notifications

Transfer data to SD card notification

Disable:

  • https://www.reddit.com/r/SonyXperia/comments/3101yj/how_do_i_disable_the_notification_transfer_data/
  • https://talk.sonymobile.com/t5/Xperia-Z-ZL-ZR/Transfer-data-to-SD-card-notification/td-p/318761

Application updated notification

Disable:

New voicemail notification

Disable:

Bloatware

Shitty software pre-installed by OEMs or carriers to get money from your personal information.

E.g., my Vivo (Brazilian carrier) + Sony Xperia Z3 has bloatware from both Vivo and Sony.

Apple forbids carriers from doing it it seems.

And on top of that, most bloatware cannot be uninstalled without rooting!!

Skins

GUI changes made by OEMs or carriers to steal your data.

  • Samsung:
  • LG G UI
  • HTC Sense UI
  • Sony Xperia UI

Stock device

No bloatware.

Near stock devices:

Google play edition

Certified near stock devices.

Died.

Google Nexus

No bloatware phones.

Strategy:

QR code scan

No built-in apparently:

Panoramic photo

Was installed by default on 5.1.1 Xperia Z3 as a "camera app".

Open the camera, and search for it.

App version

Find:

  • any way
  • adb

Linux file transfer

Media transfer mode

Mass storage mode

SSH method working: http://askubuntu.com/questions/189591/connecting-android-4ice-cream-sandwich-jelly-bean-kitkat-phone#comment1035980_222851

App isolation

Each App runs under a different UID: So it just reuses Linux's security.

HTML GUI

Android uses it's custom GUI API. Some day, maybe.

APK

Packaging format for android apps.

Aligned vs unaligned

AOKP

https://en.wikipedia.org/wiki/AOKP

http://android.stackexchange.com/questions/50491/what-is-the-difference-between-aosp-and-aokp

ODEX

Optimizing apps

Dalvik cache

Replaced by ART in Android 5.

ART

Successor of Dalvik.

No JIT, full AOT is done.

x86

TODO: linked to the Intel partnership? Or that one is yet to be released?

Java 8

Nope:

libc

Bionic, Google-made.

ROM

Read only memory.

Stores the OS.

Mounted under /system

If you root the device, you can change it, and make a custom Android however you like.

USB debugging mode

TODO? What is that?

Enabled from Developer options

Disable the eternal notification:

Tether

Requires root, but available on Google Store.

Carriers may require you to pay for that if you tether from their network instead of LAN, which is why Android disables it by default.

Root allows you to re-enable that.

HBOOT

The Android bootloader?

Smart lock

Unlock in some cases without a password.

On-body detection: Uses accelerometer.

Known WIFI not available it seems:

Piracy

Soft reset vs reboot

TODO?

Apparently soft rest is more superficial, and thus faster, but solves less problems.

Sony Xperia

Xperia Home

Reset home screen to device default:

Settings -> Apps -> All -> Xperia Home -> Clear data -> OK.

Do not disturb

Silent mode

Blocking mode

TODO where is it?? How to turn it on?

Linux run Android app natively

Peripherals

  • joystick root calibration method

aar

Android library project

fugu

Screen pinning

Phone without battery

If you link USB power cables directly to the battery energy entry points, it works:

Secret codes

Vary with Model, OEM and Carrier. TODO: are any built into the core?

Hardware

Enterprises

Open Handset Alliance

Hardware requirements

Memory:

Native libraries available

TODO Which native libraries must be available on all Android systems?

OpenCL: mostly not:

UART

Serial

  • via headphone jack!

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Candroid

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 18, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言