GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Miouyouyou/Android-framebuffer-Direct-Example: Demonstrates how to access and write into the framebuffer directly, in Android native applications.

BranchesTags
Open more actions menu

Latest commit

 

History

7 Commits
7 Commits

Folders and files

NameName
Last commit message
Last commit date
apk @ 35b8ebe
apk @ 35b8ebe
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
CMakeLists.txt
CMakeLists.txt
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
android_native_app_glue.c
android_native_app_glue.c
 
 
android_native_app_glue.h
android_native_app_glue.h
 
 
fill_pixels.c
fill_pixels.c
 
 

Repository files navigation

If you appreciate this project, support me on Patreon or Liberapay !

Patreon ! Liberapay ! Tip with Altcoins

About

This project demonstrates how to access and write into a "window" framebuffer in Android.

As it stands, it just lit every line of pixel of the window with a color randomly selected in a palette of 4 colors.

The useful part of the example is inside fill_pixels.c.
android_native_app_glue.c is, as the name implies, just a way to connect Android's NativeActivity code to this native code.

Testing

If you want to test this code, you'll need :

  • An Android SDK with the right build tools (27.0.0);
  • An Android NDK (used by the Android build system to get the right compilers for each architecture);
  • An Android terminal (Phone, tablet, emulator, ...).

Then you will need to execute, from a terminal workig in this folder :

git submodule init
git submodule update
cd apk
./gradlew installDebug

About

Demonstrates how to access and write into the framebuffer directly, in Android native applications.

Topics

androidandroid-examplecexampleexample-appexample-codeexample-projectframebuffernativenative-libraries

Resources

Readme
License
Activity

Stars

10 stars

Watchers

1 watching

Forks

2 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.