html

  1. 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 ?
  2. 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
  3. 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...
  4. 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...
  5. 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...
  6. MitchBu

    Android Question Access pics in file.dirassets from an html page.

    My help file is an html in File.DirAssets, which uses a dozen or so pictures and video. I don't seem to be able to address them in HTML, although they are in files.dirassets together with the html page. I suspect they are in compressed form, and need to be extracted somehow. I searched the...
  7. chris_selkis

    Android Question to read html with okhttputils 2 - character encoding

    Hello, sorry for my bad English. I'm using OkHttputils2 to download a text file and read it. this file contains html code. I display this code in a webview. it works well except for the characters "éèà% .." is there a library to read this encoding correctly? or how can I do it. thank you
  8. P

    B4J Question HTML data to SQL

    Hi everyone, I'm possibly being very slow here but web dev isn't something i've done much/any of... The aim is to try and get 2 text box inputs to be written to a database when a button is clicked. Dim tabParam As ResultSet = Main.IntSQL.ExecQuery("SELECT * FROM TabletParameters;") Dim...
  9. Brandsum

    Android Tutorial Load HTML to Label

    (Here is the iOS version) This is how you can set HTML data to Label (works only in release mode), Dependencies: StringUtils, jSoup, LabelExtras Here is the code, Dim extraHeight As Int = 0 'global variable (height of images) Dim htmlParser As Html 'global variable Dim jSoup As jSoup 'global...
  10. Brandsum

    iOS Tutorial Load HTML to Label

    (Here is the Android version) This is how you can set HTML data to Label, Public Sub SetHTML(l As Label, htmlString As String) Dim NaObj As NativeObject = Me NaObj.RunMethod("SetHTML::",Array(l,htmlString)) End Sub #if OBJC - (void)SetHTML: (UILabel*) Label :(NSString *) htmlString{...
  11. walterf25

    B4J Question BaNano JavaScript

    Hello everyone, first of all i apologize if this question is somewhat stupid, i honestly don't have much experience with HTML or JavaScript, i started playing around with BaNano library, I started wrapping the WebRTC library for android, but I wanted to see if i could create the WebRTC server...
  12. F

    B4A Library HtmlToPdf

    Hello everybody, I've created this library that converts an html file (or string) to a pdf file programmatically. A couple of important notes: it only works on devices with SDK versions >= 21 and it cannot read files from the asset folder (you can either copy the file to the internal folder...
  13. MMORETTI964

    Android Question HTML to PDF - Offline - <page_break_inside: avoid>

    We've a need trying to convert HTML document to PDF. I know, there is a way to convert HTML to a bitmap (using a webview) and then convert in PDF (like an image). However we need some more control over PDF created (for example using page_break_inside: avoid). Obviously this is not possible...
  14. Patent

    B4J Question HTML and JS for dynamic autocomplete datalist ???

    Dear Community, i am messing with a small app, which should do a youtube-like (or other web-searches) search box. See my try. I am endig up at 95%. :mad: Maybe a JS Expert could give an advice. What is missing: I got the JSON String from the YT Server and get them also on the B4J side (do a...
  15. oldeast

    B4J Question B4J write image path in HTML

    Hi, how to write the full image path that contains spaces in html If File.exists(txtImageFolder,txtID&"-1.jpg")Then Image1= txtImageFolder&"\"&txtID &"-1.jpg" Report=Report &"<tr><td>&nbsp</td><td><img border='1' height='80' src="& Image1 &"></td></tr>" End...
  16. L

    Spanish cargar texto con caracteres latinos a webview

    Buenas tardes, tengo una duda a mi webview estoy cargando un html que contiene un texto, lo muestra sin problemas sin embargo no me muestra los caracteres latinos, me aparece como un recuadro con un signo de interrogación donde debería ir una vocal con acento. este es mi HTML <!doctype html>...
Top