Community Questions & Answers

Email dialog HTML ignores some tags

I'm currently building an app that has Email sending capabilities. I'm trying to send an Email with the relevant information and includes a link to the original post that is being sent. the original post is created as an HTML code segment, so I have to...

email html with android

Hi, i have this code : ~~~~~~ var emailDialog = Titanium.UI.createEmailDialog(); emailDialog.html = true; emailDialog.subject = 'subject'; emailDialog.messageBody = '.....<img src="remote.png" />....'; emailDialog.open(); ~~~~~~ on...

Android HTML Email Limitations.

I am creating an html email dialog for Android, and trying to include an img tag that points to a remote source. This works fine in iOS, but just shows a little box with the text "obj" inside the Android email client. Am I missing something, or...

HTML parser

Hello, I would like parse html result but I don't know exactly how. I make this code : ` htmlparser.js exports = {}; htmlparser = exports; soupselect.js var domUtils = require("include/lib/htmlparser").DomUtils; var domUtils =...

embed html url parameters

Hi! I need to embed some local html files in a native app (Android and iOS). I've loaded the index in a webview and it works. Then, Html files pass parameters to other html through url (defined in href). It works fine on iOS simulator and Android...

Javascript and HTML

Hi, I write function in app.js and i created a web page, i want to call the functions written in javascript from html it is possible? Thanks in advance

Html and map Problem

I created a web page called index.html and load this web page in my js file like this: ~~~ var webview = Titanium.UI.createWebView ({ top : 0, width : 320, height : 400, url:'index.html' }); ~~~ also in js file i created a map called mapview i...

webView problem

Hi, I'm developing on android using sdk 3.0.0 I'have a problem with a webView here is the code : ~~~ var legalWebView = Ti.UI.createWebView({ top: 66, backgroundColor: 'red', html : '<html><body><h1>Some...

html page

I inserted some data into a database. Then I created a html page. Please provide some sample code to retrive the data from the database and put it into the html page.

Parsing badlly written HTML

Hi all. I'm trying to get some values out of a small piece of HTML in Titanium. I tried to use this library: https://gist.github.com/bob-sims/4406293 as answered in another question but I just can get anything out of it. The fact that it has no...

iFrame in webview

I have a url (http://test/html) that is displayed on a webview. Now i have another url (https://blablabla.html?123872). My question is how do I display the second url within iframe inside of the webview. Both url listed is just an example. I'm using 3.0.2...

Android Webview setHtml and UTF-8 characters

I work on an *Android* project, have a *webview* and would like to set a *utf-8* html content via *setHtml* respective the html property. Currently I work under MacOs 10.8.x and use Titanium Studio 3.0.2 with *SDK 3.0.2.GA*. Encoding for files is set to...

Web app => Hybrid?

Hello all, Right now I'm using a web application with Primefaces (JSF-lib), consuming a web-service using xml. Now I want to make a native app with Titanium for android, iphone, ... I was wondering if there is any guide to doing this? Is there a MVVM...

HTML saved into SQLite

Hi I have a JSON feed that returns some HTML and then I'm trying to save that into my SQLite database, but the HTML seems to be causing issues with my code. Can anyone advise how to save HTML into the database, is there an encoding function or something...

Showing 1-50 of 315 1 2 3 4 5 6 7