1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Android Question "DoubleClick" and "LongClick" in B4A as in the mentioned sample

Discussion in 'Android Questions' started by HLI, May 3, 2019.

Thread Status:
Not open for further replies.
  1. HLI

    HLI New Member Licensed User

    I would like to use "DoubleClick" and/or "LongClick" in B4A, similar to this sample:

    https://www.b4x.com/android/forum/threads/b4x-xui-sd-b4xviewevent.92507/#post-660534

    Loading this sample the libraries "Core (Version 9.0)" and "XUI (Version 1.9)" are activated. ManagerEvent and TCoordinate are notified as unkown Types. What is missing? What about Library sd_b4xviewevent? If sd_b4xviewevent is missing, how can I add this Library?

    Sorry about these questions. I am a beginner, using B4A since about 1 month. Many thanks for any detailed answers.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    What are you trying to do?

    I don't think that you don't need any library for this.
     
  3. HLI

    HLI New Member Licensed User

    Thank you for your post. I solved my problem.

    I have an other question: Is it correct to insert additional libraries in ....|Anywhere Software\Basic4android\Libraries or should they placed anywhere else and how?

    I am coding an app for an almost blind person (and for fun). Instead of doubleclick, longclicks etc. I found an other better solution: Using voice recognition for writing text, a catch self defined spoken commands and write code for these commands. This approch is very promising. Some commands have been accomplished.

    B4A is a wonderfull tool. I am happy about it.

    (I hope that my Englih is not too bad!)
     
  4. klaus

    klaus Expert Licensed User

    You should NOTsave additional libraries in Anywhere Software\Basic4android\Libraries!
    You should define a specific folder for the additional libraries and set the folder in Configure paths in the Tool menu.

    upload_2019-5-6_8-47-49.png

    upload_2019-5-6_8-48-20.png

    If you have B4A version 9+ you should define the following substructure in the AdditionalLibraries folder:

    upload_2019-5-6_8-51-36.png

    One subfolder for each product and a B4X subfolder for B4XLibraries.
    I added a B4XlibXMLFiles folder for XML help files for B4XLibraries.
     
    AnandGupta and Erel like this.
  5. jimmyF

    jimmyF Active Member Licensed User

    Just curious because I don't believe I have seen any of these. Are they available anywhere for download?
    e.g. B4XTable or XUI Views

    Thanks
    -j
     
  6. Erel

    Erel Administrator Staff Member Licensed User

  7. klaus

    klaus Expert Licensed User

    For the B4X libraries I have posted the xxx.xml files are included in the thread with the B4XLibrary and the demo program.
    For others, if they are not included, you can generate them with Erel's tool, link in Erels post above.
    The xxx.xml files are useful with the B4X Help Viewer or the B4XObjectBrowser.
     
    jimmyF likes this.
  8. Star-Dust

    Star-Dust Expert Licensed User

    Is the rule that every thread a single question still valid?
    And also that the title must correspond to the topic being discussed?
     
    jimmyF likes this.
  9. DonManfred

    DonManfred Expert Licensed User

    Yes
     
  10. Erel

    Erel Administrator Staff Member Licensed User

    Both are of course valid and important. However we don't need to be 100% strict. 90%+ is fine.

    I will close this thread.
     
    jimmyF and Star-Dust like this.
Thread Status:
Not open for further replies.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice