Coder Social home page Coder Social logo

Touch device support about zebkit HOT 8 OPEN

barmalei avatar barmalei commented on September 28, 2024
Touch device support

from zebkit.

Comments (8)

barmalei avatar barmalei commented on September 28, 2024

Thanks !

Actually it supports touch devices. It still has some problems and some things still has to be done in zebra. But iOS works almost perfect, Android, because of "zoo" of different browsers require more work, but also support touch screen. Win8 doesn't work. I don't know why since I don't have win8 device to test it. I hope the reason is simple: zebra detects win8 device as a device that doesn't have touch screen.

from zebkit.

glycerine avatar glycerine commented on September 28, 2024

Zebra rocks!

Thank you, @barmalei !

Is there an example of how to get the iphone keyboard to come up? I cannot seem to edit any of the text entry boxes on the mobile examples in my iphone. For example, the text box at the bottom of this demo:
http://repo.zebkit.org/latest/samples/mobile.designer.html that says "dsdsd". I can insert the cursor, and select text on the iphone, but I cannot type any new letters because the iphone keyboard never comes up.

Thanks!!

Jason

from zebkit.

glycerine avatar glycerine commented on September 28, 2024

Interesting: 2 of the 3 text fields being up the iphone keyboard in this demo: http://repo.zebkit.org/latest/samples/embeddedHtml.html

The ones marked html input and html text area work. The one labelled zebra text area does not bring up my iphone keyboard.

from zebkit.

barmalei avatar barmalei commented on September 28, 2024

The problem is zebra text input component (zebra.ui.TextField) cannot be used to initiate virtual keyboard input. On mobile devices only native text input element triggers VM appearing. I have tried to initiate VK showing by adding invisible text input element and than catch keyboard events to understand what has been entered, but on android the key events in most cases don't supply a character (or character code) that has been pressed !

So, a workaround is using original text input element within zebra UI layout. It is done by using "zebra.ui.HtmlTextField" (instead of zebra.ui.TextField ) component that is zebra wrapper for input text element. It has number of restriction (for instance you cannot use it in popup), but in general it fixes problem. I am working to eliminate the restrictions in next zebra version.

from zebkit.

RobertoMalatesta avatar RobertoMalatesta commented on September 28, 2024

Hi @barmalei ,
what about providing a virtual keyboard implemented in Zebra itself?
Impressive work, btw --R

from zebkit.

barmalei avatar barmalei commented on September 28, 2024

At least developer version of zekit has VK component:
http://repo.zebkit.org/dev/samples/vkeyboard.html

from zebkit.

RobertoMalatesta avatar RobertoMalatesta commented on September 28, 2024

Supernice @barmalei !
Although I'm not using Zebra I follow it from time to time because it's really unique and impressive.
Are you still not considering going to Typescript?
Maybe offering at least declarations and type-ahead technologies will give a boost in adoptions numbers, since it will simplify a lot the coding, not considering that a kit like this is a natural fit for traditional enterprise applications.
Thanks for all the good work -- RM

from zebkit.

kmiklas avatar kmiklas commented on September 28, 2024

tested on Windows 8 and Windows Phone 8
@wizzard0, perhaps get an iPhone or Android? 😄

from zebkit.

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.