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

Webview best practice example

Hey, Could anyone give some advice or reference where I can find some tips on how to properly use webview component in Titanium/Alloy. Except for the recomendations in docs and wiki - they weren't too...

View Article


How to load local javascript files into WebView?

__index.html:__ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta charset="utf-8" /> <!-- Always force latest IE rendering engine (even in...

View Article


Window opening multiple time

Hi All, I am developing Shopping related application. For that in Shop page i am showing multiple item images through web view. And i am using ~~~Ti.APP.addEventListener()~~~ for open the Item...

View Article

WebView crashes Android Emulator

Very simple code. index.xml: <Alloy> <Window> <WebView id="myWebView" /> </Window> </Alloy> index.js: $.index.open(); $.myWebView.url = 'http://www.google.com'; Google...

View Article

Javascript execution pauses when WebView not in foreground

Hey all, I have an app that uses Scandit (simple barcode scanner module), and a WebView in iOS. Whenever the window containing the Scandit camera view is active, javascript in the WebView stops...

View Article


webView causes Android to crash right after loading the content

Application type: mobile Titanium SDK version: 2.0.3 (08/06/12 15:16 4d99a43) Device: Android emulator Operating System: OSX 10.7.3 Titanium Studio: 2.1.1.201207271312 The page is rather big so I've...

View Article

HTML Select Tag not Displaying in WebViews on Android Heavyweight Windows

Hi I have an interactive chart in my Alloy app which is displayed in a WebView. There is a HTML select tag which displays options for the chart data when clicked upon. This works fine on iOS but on...

View Article

Encoding Issues in Webview for Android

Hi There, We are using Titanium 3.0.2 SDK version and we are building an app for Iphone and Android. Part of the app we are using Web view to display web content. The target devices are Iphone from 4.x...

View Article


Youtube player on my Android App

Hi how can I implement a youtube player for my App using a webview? I've done this before but when I press the back button the youtube player/webview should also close. Here's my current code: var...

View Article


open downloaded image into webivew,, app://Documents ?

hi all i can open file in resource directory from a webview using app://Resources/ ecc.. how i can access files (image) downloaded into data directory? app://Documents didn't work suggesition?

View Article

HTML FontFace working in safari not in stimulator and device

Hi, I have a HTML page which uses fontface for japanese font. It worked perfectly in browsers. when I checked on html5 mobile application in Appcelerator Titanuim, it failed in both Stimulator and...

View Article

webView content height

Hi in a window in IOS i have a button, a label and bellow a webView with content. I can see all good but the problem is in the webView height, the height it's not only the content it's more. How can i...

View Article

Export native iOS app code to a website

I have created a native iOS app in Titanium. Now I want this app to run on a website. For example : If I go to a website there will button. When the button is pressed the app will be launched in a the...

View Article


Fit content of WebView on android

I've got some in-line html formatted data that I display with the help of a webview. It renders the content perfectly fine, however it does surround it with alot of whitespace, which makes it possible...

View Article

Using evalJS to call function inside webview

I am having trouble calling a function inside my webview from my code in titanium. I simply want to pass a value from my slider to my google charts functionality to redraw my chart. Anybody ever tried...

View Article


Webview scroll to position x:y

hi all i have one webview with a html map inside it how i can scroll the window (or better the center of window) to x:y coord ? i can archive it inside titanium or inside js in the html, some help?

View Article

subscribe to faye server when app is in background or phone is locked

Hi We are currently developing an app which should receive messages from the faye messaging service. When implementing the subscription and faye.js file in a Webview everything works fine. But it won't...

View Article


Swipe event on webView

We have a webview where the scrolling worked fine. But when we add this code: web_content.addEventListener('swipe', function(e) { var swipe_town_name; swipe_town_name = central.nextSwipeTown(name,...

View Article

Transform not working on second load for Android

I'm trying to rotate a webview that has some html in it on my Android app and it seems everytime the page loads a second time, the rotate transform does not work. Is this a bug? var flip =...

View Article

evalJS not working with passing variables

I am using evalJS to attempt to call a function in a webview and pass a parameter to that function. It will work perfectly if I pass a string but if I try to pass a variable nothing happens.var...

View Article
Browsing all 680 articles
Browse latest View live


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