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

Save Webview in Android Photogallery

Hello, i need help with saving an image to the android photogallery. My Code so far:webView = Titanium.UI.createWebView({ top : 0, willHandleTouches : true, backgroundColor:'#ffffff', visible : true,...

View Article


Strange code when using Webview

I have this code in alloy app:var webview = Titanium.UI.createWebView({url: '/html/index.html'}); $.index.add(webview); $.index.open(); The problem is that when i opened it in ipad some strange code...

View Article


Strange BUG: First time I open webviews, I get alot of extra blank space at...

This isnt a question as much as a bug-report. It seems the Ti Devs want bug to be posted here first? I have a scrollview with about 20 webviews contained within it (stacked on top of each other). The...

View Article

Webview does not load CSS of website

I've been building a css file for a webpage that's being loaded in by a webview in my app. I'm using Chrome's 'device mode' to view the webpage and how the CSS changes the layout when it's being viewed...

View Article

Difference with webview in IOS to Android

Hi All, I seem to be getting a issue with the webview on Android it works perfectly on IOS no problem at all but on Android the menu seems to popup etc almost like click events are firing onload, This...

View Article


Add map url for web view

when i set web view url with map url it not work: var web = Ti.UI.createWebView({url:'https://www.google.com/maps/dir/30.7933951,31.0122212/24.8656663,46.6900963/@12.0709955,-6.1685376,3z'});...

View Article

Webview with jquery mobile not listening to the events.

Hi, I am trying to create an hybrid app using Alloy and jquery mobile and I am facing an issue. Issue: I am not able to send events/data to a webview which has jquery mobile where as I am able to send...

View Article

Unable to zoom

Hi all, I am developing a flipping book application. I have a window that contain a scrollableView. In this scrollableView, I have webViews that contain imageViews and textAreas. The problem is that I...

View Article


Print WebView or view local html file in DocumentViewer and print

I'm trying to generate some dynamic reports in my iPad app that i need to be able to print. The reports will contain images stored on the iPad, as it'll be operated offline on occassion. I've managed...

View Article


Cookie Sharing on Android - HTTPClient to WebView

On Android, HTTPClient and Webview use different cookie stores. I need to authenticate with a POST using HTTPClient, grab my cookie, and then add to the System Cookie store that is used by webviews so...

View Article

How to detect if an app is loading data from the network

mobile, Titanium Studio, build: 3.4.1.201410281727, iOS 8.1.2, iPhone 5c and Simulator, OSX latest. I am trying to do a custom ProgressBar to display when data is loading in a webview. The data is...

View Article

Videos in Android webview

Hello, I have searched a lot abot videos and made many unsuccessfull tries. Then I ask it here. What are the thing I must be aware of in order to make a video playing and displayed in a webview....

View Article

html property of label is not showing properly

HI All, I want show the json data in the form of table format. For this I have used below titanium ui elements html property of label, but it is not showing as table format. html property of webview,...

View Article


Webview on Android and local CSS files

Hi, I would like to ask how can I load a local CSS file in a webview on Android. It works on iPhone just writing for example "/css/style.css". It doesn't work on Android. I've tried with...

View Article

Session /cookies manage with android Titanium

I have application in which using webView i login in one website by providing user id . But when i com back and go ahead than every time webView ask for login only in Android How can i manage login...

View Article


WebView SetHTML not working

Hi, i have a little problem, i'm using a Restful resource, and in the JSON response i have an HTML that i need to put into a WebView, so i created the WebView and use the setHtml method, but nothing...

View Article

WebView Url Issue

I Have issue with url , url redirect to anther page in webview , but if i use it in chrome browser work done. <WebView id="webView" ></WebView> $.webView.url = link;

View Article


MobileWeb - Links attempting to load external links in iframe

On the MobileWeb version of my app, all links are opening in an iframe. How can I disable this inside of a webview? I just want all the links to open in a new window like a normal link with...

View Article

Webview URL returns local path

Hi peeps, I'm having problem with WebView both in Android and iOS. At the moment I have this WebView which shows HTML page from a POST request var xhr = Ti.Network.createHttpClient();   xhr.onerror =...

View Article

Google Maps JavaScript v3 fails in WebView for Android KitKat

Google Maps JavaScript V3 comes up blank when shown in a WebView - nothing renders. I am testing with the exact script as shown in the API documentation (except the API key is added), also copied...

View Article
Browsing all 680 articles
Browse latest View live