Git Product home page Git Product logo

unity-android-live-wallpaper's Introduction

Unity Android Live Wallpaper

Run your Unity game as live wallpaper on Android. Used in production by the app Fluid Simulation.

The main reason I open source it is because this implementation has several major bugs that I can't fix and I need help with:

  • When you launch lwp preview, press home button and then go back to preview. Whoops... it crashes.
  • On many launchers instead of fullscreen, it runs only in small portion of the screen.
  • Also not rendering in fullscreen when in landscape mode.

So my goal is to fix these problems and to make this library the best Unity's lwp Android implementation ever, that is also the simplest and free.

Usage

Export your game as Android Studio project. Then you need to make next steps:

  1. Copy content from AndroidManifest.xml to the project's AndroidManifest.xml, after main activity tag. Should look like this:

  1. Add WallpaperActivity.java script into the project. You probably would need to change the package name at the top of the script.

  2. Make xml folder in res and add wallpaper.xml file there.

Now you can build and run. Go into wallpaper settings of your phone to see it. If you are using Samsung device then you need to install Google Wallpapers app to set it as a wallpaper.

unity-android-live-wallpaper's People

Contributors

paveldogreat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

unity-android-live-wallpaper's Issues

Unity producing a lot of analytics files and not cleaning up

It appears Unity is producing some analytics files, but mainly, not cleaning them up. 46k files on my phone out of 59k of total (77%) on my shared storage.

This in my case significantly slows down full backup of my phone which I run regularly as the bottleneck becomes file creation instead of USB transfer speed.

# /data/media/0/Android/data/games.paveldogreat.fluidsimfree/files/Unity/29018317-00d5-499b-87d2-5177b9d551c9/Analytics/ArchivedEvents # find . |wc -l
46201

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.