Community Questions & Answers

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...

WebView fireEvent from remote web page?

I'm trying to establish communication between items in a WebView and my main code. I'm able to use Ti.App.fireEvent from html pages that are hosted on the phone (are part of the app), but when I do the same from a remote URL (an html page not hosted on the...

Android WebView custom headers

Hi, I got something that needs to be resolved. I am trying to figure out how to add headers to Ti WebView's request. Right now using HTTPCilent is not an option, page must be displayed in requested domain to work, which requires security headers send from...

Webview in a View - Event Handling

I have a WebView in a View. The parent view is required to handing click event. If I click on web view, it trigger parents doThis event. I can handle the e.source but how can I fire the event for web view say I clicked on a linked on web view. ~~~ ...

Unable to open SHTML page

Hey Guys,I am new to Titanium.I have came across a strange problem. I have opened a website in webview although everything goes fine,But it shows problem in opening .SHTML page. Don't know why...?? Can anyone help me out.Thanks in advance

Customize Webviews

I have created a web view in my app. I want to customize this web view to only display things that I want (to hide everything else), and to change the webs background colour and such. Any way to do this?

Get HTML of a WebView

Hello I have a WebView where I load some local html which queries a remote website and show results; the problem is that when the WebView is reloaded with the results is I access the html property is unchanged (has the form code). I tried to load the page...

How can I save website visited by Webview?

How can i save the whole webpage (I mean all css, images, e.g.) to access when the device goes offline? I have been searching for all morning but i found something i thought it would be helpful. - someone told to use the HTML5 manifest // yes, but it can...

html5 offline app feature and WebView

I want to build such app in which webview loads local index.html and resources which this index.html uses like css,js are fetched from remote server.Now I want to leverage html5 offline application feature.How can I do? For details. I try loading remote...

Extending TiWebView

Hello all, I'm trying to modify a TiWebView in an external module. What I'm trying to accomplish is to disable the ~~~ settings.setSupportMultipleWindows(true); settings.setJavaScriptCanOpenWindowsAutomatically(true); ~~~ which are set in the original...

Webview invalid method

version: 3.2.3 ios 7 mac 10.9.3 ~~~ <Webview id="chartView" url="http://www.google.com"></Webview> ~~~ That is causing a problem : ~~~ invalid method (createWebview) passed to UIModule ~~~ I have cleaned the project...

Having issues calling createWebView

here is the error: [WARN] Attempted to load TiUIWebViewProxy: Could not find class definition. [WARN] Exception in event callback. { line = 134; message = "invalid method (createWebView) passed to UIModule"; } here is the...

Showing 1-50 of 1,842 1 2 3 4 5 637