Building app deletes local html file
OS: Windows 7 Titanium API: 3.5.1 Mobile App I make the following webview in my app: var win = Ti.UI.createWindow(); var webview = Ti.UI.createWebView({ url: 'local.html' }); win.add(webview);...
View ArticleLoad URL with custom iOS schema in webview
I have a login page that returns a redirect URL in the form of myschema://. It was originally intended to be used in Safari to redirect the user back to the application after successfully login. Now I...
View ArticleWebView in Ios
Hi All, i am developing an ios app using titanium studio, in that i am showing multiple webviews, those webviews are added to the tableView but at the time of showing the content only one webview is...
View ArticleTouch event in wrong place
Hi, all. I have a problem with my app on android. On webview I have horizontal scroll and list of blocks one by one. Every event has the same class on which I add event handler on click. But when I...
View ArticleCouldn't find module on some iOS devices for architecture: x86_64
I need a user agent module to modify the user agent of my webview in titanium on iOS. Only iPhone 5 and iPad 2 are able to load this module correctly. Other iOS devices output this error: > "Script...
View ArticleWebview not allowing for file upload
On Android I created a web view to utilize a submission form of my site/app When navigating to the page on an Android device the Location Picture button works as expected. A dialog opens to select a...
View ArticlePrevent Double-Tap Zoom in Web View
Hi! I try to prevent the double-tap-to-zoom-function of a Web View but without losing all other (custom) events defined in the js of the webpage (like pinch to zoom, 2finger to scroll etc) . As far as...
View ArticleLoad data from response into webview
Hello, I want to load the response obtained from request into webview. Following is the code function transmit(){ var request = Ti.Network.createHTTPClient({ onload: function () { //...
View Articlewebview inject code
Hello, i have an html form under this url http://www.mysite.com, anyone knows if there is a way to load this url via a webview and inject some js code to fillup my remote form? thank you
View ArticleTitanium Android : Passing data to Webview using EvalJs is not working.
Hi, I have a titanium js file(Alloy controller) from which I need to pass data to a webview (Html file).I have been using this method. webview.addEventListener('beforeload', function(e) { var obj = {...
View Articlecrashing when I switch bag to a tabviewgroup tag which has a TI event...
Please can someone help me. I have no idea why this code is crashing. I run it once and it works exactly as expected however if I click from my graphs tab to another tab and then come back to the...
View ArticleWebView problem: Desktop view instead of Responsive view for Wordpress template
Hello everyone, I have a problem with a simple webview. I have a Responsive Wordpress template. If I open the site in a normal mobile browser it shows as responsive. If I create a webview using android...
View ArticleI can't load javascript files into local html file for use by webview
I am trying to use the <script> tag to load rapheal-min.lib (note I did read the docs and have changed the extension) into my local html file like this: local.html <!doctype html>...
View ArticleWeb View Not Scrolling
Hi, I am trying to put a webview inside a normal View in my app, but it's resulting with a non scrollable Webview.. I can't scroll vertically neither horizontally..<Alloy> <View...
View Article3d panoramas in Titanium
Is there any way to display pano2vr panoramas in titanium webview? I am trying to show panoramas in my app from remote sit using iframe. But it doesn't work on any device at all. However it does even...
View ArticlePage to fit on webview
How can I set property page to fit as true and disable scaling at all. Now user can zoom in/out my webview (it has horizontal scroll because of wide content). Tianium sdk 4.5.0.GA Android sdk 21 device...
View ArticleURL Parameter Not Showing In WebView
Hi, I have a web view that i'm successfully able to load using: <View class="rightSection"> <WebView id="webview" url="radar-basic.html" /> </View> However when i pass some variables...
View ArticleDownload files in Titanium
Hello, all. I am trying to download files from webview. As I understood the only way to do it is to open download link through the browser. But is there any way to do it if I have a remote web site in...
View ArticleLock orientation when app starts
I want to set landscape orientation to my app, but even if I set possible orientations as landscape it doesn't work properly. When my app is starting there is a portrait orientation for a moment and...
View ArticleError when load webview
Hello! I am using webview in my app. Every time when I open a new page I see the error in console: [ERROR] : webview: onPageFinished: URL_OF_MY_WEBVIEW Who knows how to fix this? I use: Titanium sdk:...
View Article