Community Questions & Answers

android blank web view

I am using Titanium Classic, 3.3.0. I have a couple of web views in a tabbed based application which work well on iOS but on Android, it seems that the webview is blank until the user touches the screen (sometimes), so it is inconsistent. I have tried...

Choosing between Alloy and HTML5

I realize this is very much a loaded question but I am very interested in the opinions of the community. My background: I've built a few titanium apps using the standard SDK (not alloy), most have been utility style apps. I'm looking to build a...

How to use a value attained from a webview

I have a titanium app that is a combination of web views and titanium views. I know how to get a value from a web view but I can not seem to figure out how to use the value in a function in the titanium app. Basically I have a list that needs to be...

Pass Details to Remote 3rd Party Form

Hey folks, I'm doing some research on trying to pass data to a form. What I am hoping to do is pass some data from my app into a remote webpage that I don't control. The remote page is a third party booking form which I would like to prefill with some of...

Problems with Localization

I am using the exact same project as my colleagues, however, when I get to the step in the compiler of generating i18n files, it skips the "Compiling Localization Files" step. I have the latest dev version of alloy which we originally thought was...

how to change font size in webview

how to change font size in webview, i itred changing font size but its not working here is the code ~~~ var currentWin = Ti.UI.createWindow({ backgroundColor: '#fff', }) ; var view = Titanium.UI.createView({ layout : 'vertical', }); var view1 =...

Exact Web View Content Height

~~~ loader_func = function() { /* * Disable Touch for now. */ web_content.touchEnabled = false; if(web_content.evalJS("document.height;") > the_screen.getDeviceHeight()) { ...

Detect video play in webview

I am showing a web page in webview which includes a video. The video is playing fine on both iOS and android. What I need is a way to know when the video streaming starts in the webview? I need to do something when this happens. Is there some kind of...

Android Webview blank

Trying to build an in-app viewer for external documents (url supplied by an API) ~~~ <Alloy> <Window id='docView'> <View class='header'> <Label class='headerLabel' id='title'>MY...

Open a PDF in a webview

Hey! I'm trying to display a pdf within an app. I've tried a couple of things which work in the simulator, but don't when displaying on a device. Which I think may be something to do with file paths? Maybe a file needs to be moved into...

webView

I have some strange bug in the Titanium... I have a window, I added a webview to the window. Now,when I close the window & then coming back to the window the webview is gone

navigation pages html in webview

bonjour j'ai un problème avec webview je veux intégrer mon site web dans un webview mais webview affiche just page index et les autre pages ne sont pas afficher je veux savoir pouquoi cette erreur

web view html navigation

hello I have a problem with webview I want to incorporate my website but in a webview webview just displays index page and other pages are not displaying I want to know this error please

pupup remote url in webview

i'm using webview for just link my mobile url. when i popup window ( window.open() ) for find address or find id, webview not handling this. **Uncaught ReferenceError: TiApp is not defined** below code maybe automatically inject to remote loading...

Open external urls within webview with remote content

I have created an app which basically just wrapps a whole web site which is responsive. Everything works great except one thing! External links will open in the webview,but I need them to open in Safari. I thought that I could just trigger an event on the...

Error Building Android Module

I'm trying to extend the android WebView so I can enable file dialogs. Here's my Proxy class. ~~~ /** * This file was auto-generated by the Titanium Module SDK helper for Android * Appcelerator Titanium Mobile * Copyright (c) 2009-2010 by...

IOS & ANDROID charts

Hi, Can anyone point me in the right direction for adding charts to both Android and IOS. I haven't been able to have much success. ```I followed this http://www.techjunkie.com/displaying-charts-with-titanium-appcelerator/ ```It works on ios but android....

adding a webview causing a crash

Hi I have a very basic app at the minute. There are 3 web views. When there is wifi from the start all three web views will load fine. I have a check in my code where the webview is only added if there is an internet connection. If there isn't, I add a...

Navigation in in a <WebView>

SDK 3.3.0GA / iOS 7.1.2 I have an html page with an iframe. The iframe src is a non-local website with a login form. If I view the html page in desktop browsers including Safari, the website shows and I can login and use it normally. But if I load the...

Trigger Event from Webview Event

Hi, I have a web application that I control. It has a page that is displayed in my app via a remote webview. On the page is a button that says "map this". On the web the button displays Google Maps via JS. When displayed in my mobile app I...

Webview Load Event Inconsistency (iOS vs. Android)

Hi I have a simple webview with an event listener: ~~~ webview.addEventListener("load",function(e){ Ti.API.info("webview load event "+e.url); }); ~~~ On iOS this event runs once per page load, on Android it runs multiple times (and a...

Showing 1-50 of 1,864 1 2 3 4 5 638