Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (webview)
Browsing all 680 articles
Browse latest View live
↧

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 Article


Load 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 Article


WebView 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 Article

Touch 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 Article

Couldn'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 Article


Webview 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 Article

Prevent 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 Article

Load 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 Article


webview 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 Article


Titanium 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 Article

crashing 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 Article

WebView 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 Article

I 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 &lt;!doctype html&gt;...

View Article


Web 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 Article

3d 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 Article


Page 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 Article

URL 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 Article


Download 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 Article

Lock 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 Article

Error 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
Browsing all 680 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>