Giter Club home page Giter Club logo

Comments (9)

andydotxyz avatar andydotxyz commented on May 3, 2024 1

Great hint. Once we resolve #239 then we could look at mobile platforms properly.

from fyne.

andydotxyz avatar andydotxyz commented on May 3, 2024 1

There is a new branch named feature/android where we have early versions of an android driver running.
It’s using gomobile for now until we hit its limits. The nice thing is that you can use “go build” to compile a desktop app or “gomobile build” to build a mobile app. Exact same app code :). This will be released in 1.2 later in the year.

from fyne.

andydotxyz avatar andydotxyz commented on May 3, 2024

Mobile is on the cards for the framework in the future.
As well as the compilation we would need to add some platform support - iOS and Android will handle certain things differently to desktop systems and we want to work seamlessly :)

from fyne.

hubyhuby avatar hubyhuby commented on May 3, 2024

There is also android-go project that could be a good fite. They have managed to launch Nuklear already.
https://github.com/xlab/android-go

from fyne.

hubyhuby avatar hubyhuby commented on May 3, 2024

Hi @andydotxyz ,
I have asked on Max's project and he seems looking forward to give it a try :
xlab/android-go#29

from fyne.

andydotxyz avatar andydotxyz commented on May 3, 2024

Trying too capture those things required to complete mobile support:

  • Add display driver for iOS and Android
  • Set up a tap handler for mobile (including secondary = tap-hold)
  • Support of tap-to-scroll gesture
  • Add device API covering the type of device, it's orientation and whether it has a keyboard
  • Update tabcontainer design to match expectations on mobile (top or bottom in vertical and something clever in landscape)
  • Reconfigure the view and refresh on rotation
  • Correct padding around the screen to accomodate iOS and android device hardware
  • Handle multiple windows by adding a back / title bar that will close the window when tapping back

from fyne.

andydotxyz avatar andydotxyz commented on May 3, 2024

Removed TODO item duplicated in #413

from fyne.

andydotxyz avatar andydotxyz commented on May 3, 2024

Moved theme detection to #472 as the APIs are it required brand new devices so not very common yet.

from fyne.

andydotxyz avatar andydotxyz commented on May 3, 2024

That’s all the items in this ticket in.
Still no keyboard support but that is in a separate ticket

from fyne.

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.