Community Questions & Answers

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

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

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

one load event trigger both WebView event

Environment: mac Titatium ios i had created two WebView in a window when the WebView loaded, every WebView transfer data to Html'js to draw a chart. however, only one WebView can draw a chart, another WebView noticed that find can't the html's js...

Webview opens keyboard on Android

Hi All I am using a webview to load a large image because imageview just doesn't work with large images. Here is my setup for the window. ~~~ exports.create = function(model) { var self = Ti.UI.createWindow({ fullscreen : false, navBarHidden :...

Local JQuery in Android

Hi everyone. I'm currently working on an app for both iOS and Android. The app needs to work without an internet connection. In my project I have a folder that contains the HTML pages, the javascript pages that load the HTML in a webview and a folder...

Can't remove window title bar in Android

I am porting an iOS app to Android and after creating a new window and webview to browse Internet, the name of the app is at the top of the display. This only happens on Android. I don't know how to remove this bar across the top. Here is my...

Open webview address in browser

I want to create a button that opens the current web view address in browser. Following is my code. Please let me know the issue ~~~ var self =Ti.UI.createWindow({ title:'Google' ]); var webview =...

Uncaught ReferenceError: TiApp is not defined

Hi, I'm getting the following error: I/TiWebChromeClient.console: (main) [41,13411] Uncaught ReferenceError: TiApp is not defined (1:) This error appears when i'm loading an url in a webview by de setUrl function. I searched the whole project for TiApp,...

Android WebView play video

Dear all, I need your help if you know how to solve it please kindly let me know. My app will launch a webview that linked to some video sites. From the counter party side there will be some javascrpts and a video play in the middle. However, I only...

evalJS not working on remote page

I can't get evalJS to work on ios iphone simulator. It returns nothing. Here is my code ~~~ var webView = Ti.UI.createWebView({ url : lien, top : 20 }); webView.addEventListener('beforeload', function(e) { alert(e); }); var...

Running remote JS code

I have a PHP file which returns some JS code like ~~~ var someVar= <script type="javascript"> some script..... </script><noscript> ...... </noscript>; document.write(someVar); ~~~ which I have been able to get from a...

how free memory webview alloy

Hello I have made an application that needs to use webview, because in a store page to display a lot of information, and have different formats. Furthermore the content is dynamic, and consult a local database. Every time I go to a different page I...

Play MP3 local file using webview

Guys, I think that this is a simple matter but I need play MP3 file embedded with app from a HTML page opened by webview. Anyone know what is the best practice best simple way to do it? Thanks in advance.

Communicating from a WebView to Titanium in MobileWeb

Is it possible to communicate asynchronously from a WebView to Titanium? I have done this successfully in the past, using Ti.App.fireEvent(), but in a new Alloy project in Titanium 3.0, it no longer works. Yes, I've read these docs, but they seem to be out...

View .dcm files or use of DICOM web viewer

Hi All, I am using Titanium sdk 3.2.2 and Alloy 1.3.1. I will try the app on the both platforms. I have been trying to view .dcm files. But till now no success. You can't view them on imageview. I have got the references like...

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