User Tag List

Results 1 to 7 of 7

Thread: How do You enter a number into the webView focus box with your added number button?

  1. #1
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)

    Join Date
    Sep 2019
    Posts
    65
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Question How do You enter a number into the webView focus box with your added number button?

    This is to solve the problem: browsing specific work pages on Android requires a lot of digital data input. It is very inconvenient to use the pop-up soft keyboard, so I want to use the control button to make a digital keyboard, so as to input data more easily.

    Include the following questions:
    1. How do I get the ID of the focus input box?
    2. How to get a number into the input box?

    Extension questions:
    Can data from Fusion's array controls be automatically filled into the web input field with one click?

  2. #2
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)

    Join Date
    Sep 2019
    Posts
    65
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Through research and study, I have learned!
    ======================


    * Button login is clicked
    WebView2 : Execute Snippet="document.getElementsByTagName('input')[1].value='loginname'" with Arguments=""
    WebView2 : Execute Snippet="document.getElementsByTagName('input')[2].value='pass'" with Arguments=""
    WebView2 : Execute Snippet="loginIn()" with Arguments=""

  3. #3
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)

    Join Date
    Sep 2019
    Posts
    65
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    But this only works in the Android emulator, it compiles the APK, runs it on the phone, hits it and doesn't respond.
    Later, I used Web Control Object, which was written differently and also ran successfully.
    However, I need to be able to run in Android phone, "Web Control Object" does not support Android environment.
    Does this syntax need to be changed to the Android environment?

  4. #4
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,709
    Mentioned
    294 Post(s)
    Tagged
    4 Thread(s)
    what are running a HTML block or a https?
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  5. #5
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)

    Join Date
    Sep 2019
    Posts
    65
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Fernando View Post
    what are running a HTML block or a https?
    http://
    jsp page

  6. #6
    Clickteam Clickteam
    Fernando's Avatar
    Join Date
    Dec 2006
    Posts
    6,709
    Mentioned
    294 Post(s)
    Tagged
    4 Thread(s)
    mm maybe you are having security issues with the http, try https
    Regards,


    Fernando Vivolo

    ... new things are coming ...

  7. #7
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)

    Join Date
    Sep 2019
    Posts
    65
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    It is not accessible using HTTPS.
    The web page is accessible in a mobile browser.
    I now suspect that some kind of plug-in is needed, and Web View2 does not.
    I've moved on to the Web Control Object

Similar Threads

  1. Replies: 4
    Last Post: 18th June 2017, 07:23 AM
  2. Replies: 0
    Last Post: 15th March 2014, 07:36 AM
  3. What kind of color codes are being use when I enter simple number in Calculation?
    By Blizna in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 29th June 2013, 01:47 PM
  4. Enter a phone number...
    By Sevennemesis in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 13th November 2012, 04:39 PM
  5. mmf 2 - Text Button Have Focus Condition Added
    By droberson in forum Multimedia Fusion 2 - Technical Support
    Replies: 1
    Last Post: 8th December 2006, 07:28 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •