Community Questions & Answers

Cros Origin issue on web view

Hi , Used HttpUrlFormatter code snippet to avoid Cros Origin issue on web view but still getting below error , Same webservice call code works fine for android emulator but when i packaged to mobile web got below error. Origin http://127.0.0.1:8020 is...

Open website QR in a webView

Hi! I need (again) help. I'm using the Scandit module to scan QR codes. It works well, but when you scan a QR code only open an alert: Alert success (QR): http://www.google.com OK And what I want is to open the url in a browser. I tried this, but the...

Can you remote debug a WebView

I have an app that includes a WebView on iOS. Apparently, it should be possible to enable remote debugging on such apps from Safari on Mountain Lion. Can this be enabled with a webview in Appcelerator? It seems it can be done in native code like this:...

web view not fitting with screen

Hi all, I am using below code to display the pinterest share, but the pinterest web view is not fitting with screen, the width of the screen is too long. How to reduce the width of the webview ? ~~~ var pinterest =...

xhr POST and display the results in webview?

I am doing a POST using xhr to a login page that will redirect the page once the variables are passed. It looks like the POST is working but I am unable to get the page to display in a webview. I apologize if this is a rudimentary question but I am...

Android Webview content size is too large

I created a simple webview like below: ~~~ var webview = Ti.UI.createWebView({ width: Ti.Platform.DisplayCaps.platformWidth, bottom: 100, top: 0, scalesPageToFit:false, html: 'Hello world' }); ~~~ But when I test it on Android emulator...

How to release a webview

Hi everyone, I came across a seriously problem about the webview on android. Because the webview occupys a lot of memory so I want to release it after close the window which contains it. The structure of code is...

Exact Web View Content Height

~~~ loader_func = function() { /* * Disable Touch for now. */ web_content.touchEnabled = false; if(web_content.evalJS("document.height;") > the_screen.getDeviceHeight()) { ...

Android webview - PDF links don't work

Hi, I have a webview which loads an external webpage. The webpage happens to have a link on it to a PDF. The link opens fine in iPhone/iPad but on Android the link highlights but does not open. If I open the webpage directly in the Android browser the...

link in webview

Hi, i have a webview in my android app. is it possible to get the link i click inside the webview and execute a specific native code ? thanks

Showing 1-50 of 1,440 1 2 3 4 5 629