Code Monkey home page Code Monkey logo

Comments (3)

Zinggi avatar Zinggi commented on September 23, 2024

The Android code is pretty minimal and there are probably only a few calls to functions that are only available on some API Level. However, there was probably a reason why I didn't go lower than what it currently is. Maybe one of the functions I used requires a higher API level. Or maybe I just would have had to use more of the compatibility libraries, I don't really remember..

Couldn't you just use the web version (https://nokey.xyz/main.html) instead?
This way you only need a somewhat recent firefox or chrome on your phone.


Unfortunately I'm really not finding any time to develop this anymore. With a full time job programming, I just cant find any time and motivation to do more programming in my free time.

from nokey.

seekr avatar seekr commented on September 23, 2024

@Zinggi thanks for getting back. I'm trying my luck with Android Studio...

How does web version keep the session? I worry that it could lose the pairing status

from nokey.

Zinggi avatar Zinggi commented on September 23, 2024

The web version stores the shared state in localStorage.
As far as I know, it should pretty much stay there forever. I just checked on a browser on my phone that I probably haven't used since 2 years and everything was still there as it was. I think if you add it to your home screen, browsers will also make sure you don't accidentally clean browser storage for it.
Also, since the web version is a PWA, you can visit the site even when you're offline.

The android version actually also stores the state in localStorage. It's just a simple wrapper around a WebView.
To be honest, I think the Android version is actually worse than the browser version. In hindsight, I probably wouldn't do an Android version again the way this one was done. The WebView approach is brittle and I've seen a few bugs that only happen on Android. The only advantage it has is the QR scanner to make pairing quicker.

You are of course still welcome to try to get it to build for an older Android phone, but I really think you're probably better served with the web version.

from nokey.

Related Issues (20)

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.