html

  1. T201016

    Share My Creation [Project Template] JAR3_ShowPDFinB4J.exe [B4J]

    Link: JAR3_ShowPDFinB4J You can: 1. Look through the PDF file of any size, 2. Convert the HTML file to PDF, 3. Separate all graphic files to the JPG format from the PDF file, 4. Convert the PDF file to TXT (all pages), 5. Extras from the PDF file all graphics files to the PNG format, 6. Save...
  2. b4x-de

    Android Example Load HTML files from DirInternal to a WebView with UltimateWebView2 and WebViewAssetLoader

    I would like to contribute to the never-ending question of how to load local HTML files into a WebView. The reason are the following recently asked questions (here and here by @Justmer Rivera ), which I found unanswered. Therefore I would like to give an example of how the library...
  3. W

    Android Code Snippet [Class] [B4X] wmHtml - remove html tags and replace html entities with their corresponding characters

    Posted in the B4J Code Snippets forum: https://www.b4x.com/android/forum/threads/class-b4x-wmhtml-remove-html-tags-and-replace-html-entities-with-their-corresponding-characters.162596/
  4. W

    B4J Code Snippet [Class] [B4X] wmHtml - remove html tags and replace html entities with their corresponding characters

    See title. The html entities' data were obtained from https://symbl.cc/en/html-entities/ and some additional ones were added. The attached demo project contains the class; there are no library dependencies. Example code from the project: Private wmHtml1 As wmHtml wmHtml1.Initialize...
  5. walterf25

    B4J Question ABMaterial Charts

    While searching for a library that can be used to display data on a chart using ABMaterial framework, I came across this post here I tried the example provided and it seems to work fine for my purpose, however I need to be able to change the width and height of the chart, I tried changing the...
  6. jroriz

    Android Question [SOLVED] Creating a Server for HTML/JS Application Using B4A

    I created a page using an html/js framework (https://aframe.io). I will create an application from the html page. It turns out that the framework expects a server serving the page, as it uses relative paths, otherwise it won't work. To create the server I will use a third-party app...
  7. S

    Android Question Run local javasxcript file with html button

    Hello, I have a hard about my project. Only I get display in webview html file (not include javascript, css). In my Webview(Html code), the data input and a button include. When I click button, It does not work.So plese help and guide me. (The html, css and jacvascript file within same folder...
  8. M

    Can someone help me with B4PPC project (Webpage scraping)?

    I am aware that Windows Mobile and B4PPC are 'dead' for many years. Yet I still have a wonderful and fully operational Pocket PC Loox from Fujitsu that I would like to revive for a small project (instead of a Rasberry based one). In a separate thread ("Weather web service using HTTP") someone...
  9. aeric

    B4J Library [B4X][Web] MiniHtml

    Version: 0.09 Yet the potential or use cases of this library may be unknown as you can literally write plain HTML and save it as a file. Example 1: H1.Text("Hello, World!") Output: Hello, World! <h1>Hello, World!</h1> Example 2: Paragraph.up(main1) _ .Text("This is a ") _ .add(Span.Text("red...
  10. walterf25

    B4J Question miniHtmlParser help

    Hi all, I have never used this library but I would like to try and parse the following URL here what I am trying to do is parse Opera Librettos, if you guys can check the URL you'll notice that there's the Original language and the translated which both are placed in a table, I am having a hard...
  11. Hackito

    Android Question WebView Error: ResponseError. Reason: , Response: <!DOCTYPE html>

    Hello. I'm trying to extract parts of web pages and load them into a webview, but for some reason it doesn't work. Please help! Error: ResponseError. Reason: , Response: <!DOCTYPE html> Private Sub CargarReparto Dim http As HttpJob http.initialize("", Me)...
  12. Patent

    B4J Question Difference in JS click() to mouseclick

    Hi community, wanna ask whats the difference (in a B4J WebView) in a real Mouseclick on a Button to one fired programmatically with Dim a as String = $"document.getElementsByClassName("myButton")[0].click();"$ myWebengine.RunMethod("executeScript", Array As String(a)) If i am clicking with...
  13. T201016

    B4J Question Creating MS Word Documents

    Hello everyone, Can Anyone help me convert the code of the four HTML text formatting tags to MS WORD format - I present below examples. It is supposed to be applied later, e.g .: Creating MS Word Documents shows @Erel as a great example ? 1.EXAMPLE: <html dir="ltr"> <head></head>...
  14. G

    Android Question [Solved] Webview local html + css + js + images

    What I am trying to achieve: - download a zip file from a known URL - that zip file contains a html file + js + css + images (all files in the same folder) - I will then unzip the archive in : rp.GetSafeDirDefaultExternal("MYPAGE") or File.DirInternal - then I would like to open/show that...
  15. Guenter Becker

    B4A Library CustomView RichTextEditor

    OUTDATED! New Version to, have look here: RTFeditor Version 2021 | B4X Programming Forum Hello to all forum Members, I hope all of you are well. Looking through the forum I find the library SMMRichEditor. Playing around with it I started a new project to use this lib to build a custom view...
  16. MitchBu

    Android Question Printing PDF and HTML content on the same page ?

    I use the print library to print PDF content, as described at the post below. It works just fine. https://www.b4x.com/android/forum/threads/76712/#content Now, I need to print PDF on one part of the page, and HTML on the same page. Would it be possible to do that with the print library ?
  17. MitchBu

    Android Question Display pictures in an HTML iFrame

    I know how to display pictures in HTML, using code such as : <img src="file:///File.DirInternal/Default.jpg"> It works just fine, except when the same code is in an iFrame. It seems the HTML does not see the file. Any idea ? TIA
  18. P

    Android Question Very poor webview performance

    Hi I'm loading a local html in a webview, but the webview is extremely slow. I tried adding hardware accelerating to manifest, and everything else found in forum. But none of them worked. I uploaded my project. if that helps. Also there's only a webview in my activity. nothing else This is...
  19. KMatle

    Android Code Snippet HTML-Standalone QR-code generator for websites

    I placed it here as I use it with a B4A app... Sometimes you need a QR-code generator in your website (which is working together with B4x). I searched for a standalone creator which is easy to handle. I came to this site: QR-code generator. I uses Javascript to generate the QR-code. I've...
  20. bububrln

    Android Question How to clean invalid HTML to process with DOM parser?

    Hello everyone, I am a brandnew user and dare to ask my first question here. Please bear with me as I am a total beginner with all things regarding Android and B4A. :) I am trying to find my way into B4A by trying a few things out. Among them is this: I want to download a HTML file from the...
Top