Android :: Disable WebKit JavaScript Security For XMLHttpRequest?
Sep 16, 2009
Is there any way to disable the WebKit JavaScript security for XMLHttpRequest? I need an HTML file in the local assets to access remote URLs for AJAX style calls.
View 5 Replies
Jan 24, 2009
I'm building (for lack of a better description) a mobile web app targeting Android users. I need to know what JavaScript events are available to me. I have been able to make the following work
View 3 Replies
View Related
Nov 16, 2010
I am trying to pass 2 parameters to a javascript function.This code webview.loadUrl("javascript: function_to_call();"); works fine without parameters but i couldn't use it with parameters. code...
And this is how i call it from java . code...
View 1 Replies
View Related
Feb 26, 2010
I have built a website for mobile webkit browsers, there is an interval update to refresh data. But it turns out that the pooling refresh will stop at some time after run for a while (some minutes or hours, different by each time).I thought there may be something error occurred in my refresh data functions, but it works well in my laptop browser. I also tried to listen window.onerror event, but webkit browser seems do not support that event. What else can I do?And I am also doubting is there any problem with setTimeout and setInterval functions in mobile webkit browser?
View 1 Replies
View Related
Nov 17, 2009
I would love to use the Web Inspector development tools that come with webkit on a mobile browser.Does anyone know if it is possible to enable web inspector on say the Android web browser?
View 2 Replies
View Related
Aug 18, 2009
If an html file is locally loaded from the assets directory into the webkit and if that html has an "alert" on it, what could be a reason it won't show a dialog?
View 2 Replies
View Related
Feb 7, 2010
I have a question regarding the meta viewport declaration in HTML pages. Please tell me if this is not the correct group to post to. I have been doing quite a few iphone specific websites and I always use: <meta name = "viewport" content = "width = device-width; minimum- scale=1.0; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;" /> Now I tried a site that is using that declaration in the android emulator with a 854 x 480 resolution. Even with the declaration above its scaling graphics and text. I would assume that I have 854 x 480 at my disposal. Can somebody explain how I can disable any resizing? Never had any of those issues in the 1.x Android OS devices and iPhone OS.
View 2 Replies
View Related
Aug 5, 2010
I would like to disable the context menu that appears after a long tap (touch and hold) on images in my web application. I've seen posts with different ideas how to do it, but none of them seem to work for me.
Is there a way to do this on Android via HTML/CSS/Javascript?
View 3 Replies
View Related
Jun 20, 2013
I found disabling javascript on my dolphin web browser make navigation really really fast almost 3 times faster and use a lot less data to charge a web and battery last longer...
The thing is most of the website i browse during the day i don't really need javascript plus if i use roaming i can browse a lot of more with my restricted data plan but some times for certain site i really need javascript or they don't even work or work really bad.
I tought would be really useful a shortcut wich enable/disable javascript on demand with just one click instead of going in setting every time.Do you think is possible trought a bookmarklet enable or disable js?Do you know other browsers at the same level of dolphin with this feature?
GT-I9505 on Tapatalk 2
View 1 Replies
View Related
Feb 24, 2010
I am doing a security Lock system for my project. I am interested to know how to disable the HOME key or handle it at framework layer, in order to prevent user to by pass the security lock by pressing Home. I know that I am not able to do it at android application layer, so thinking to get some tips in handling it in framework layer.
View 12 Replies
View Related
Mar 19, 2012
I'm using phonegap with Ajax to call external xml file using XMLHttpRequest. I send the request but response not come.The ready.status comes 403 in android device. what is the problem.... below is the my code. this code work in emulator but not work in android 3.1 tablet...
function appReady(){
var ajax = new XMLHttpRequest();
ajax.open("GET"," [URL]...",true);
ajax.send();
[Code]....
View 3 Replies
View Related
Sep 2, 2009
Android platform and actually mostly interested in the browser. I created http://www.jqtouch.com/ in hopes of developing a web-based cross-device application framework — but I'm running into a lot of issues with Android. Does anyone know of any good resources which describe the features/implementation of WebKit on Android? At first glance, it appears it doesn't support HTML5, nor certain -webkit CSS3 extensions like gradients or transitions. Does support certain other WebKit features like opacity, etc.
Most of my searches are coming up futile, because I end up seeing generic info about Android having WebKit, or technical pieces specific to embedding WebKit in native apps — but no good documentation on general WebKit features available. Again, I'm new to the platform, so I apologize if this information is in the clear...
View 3 Replies
View Related
Nov 27, 2009
Is there a way to get webkit running in the background , or even small enough for the user not to know that the webkit browser is running? Basically i want to use this to have java and javascript integration while using the android UI.
View 1 Replies
View Related
Jun 13, 2010
I'am looking for a way to have a webview content selectable in the very same way as the stock browser does.
I should note that Dolphin HD shows exactly the same text select functionality as the default browser (same icons, animation, etc), so it really should be possible. But I can't figure out how.Until now, all i found was this function, which kind of work, but doesn't allow the user to expand/shrink the selection.I just discovered that long touch copy/paste is part of HTC Sense, not Stock android. Still, it'd be useful to find out how to enable that on a webview, even just for HTC users. Anybody knows ?
View 1 Replies
View Related
Oct 21, 2009
I wonder if it's possible to use webkit/webview for UI instead of using the native UI (view,layout,activity,etc). Is there a way to catch/propagate intents to internal app when we use webkit/webview ui (probably through javascript)? The advantage of doing this is to provide a cross platform client that works in various mobile devices.
View 5 Replies
View Related
Jun 30, 2009
How can I find out what is the version number of Webkit (the one from www.webkit.org) that is android's Webkit (the one in external/webkit) is based on?
View 2 Replies
View Related
Aug 25, 2009
I am interested in displaying web pages with more than the 3 installed fonts. I tried the demo of installing fonts as assets and changing the typeface, but I am not sure if it applies to a Webview. I was able to modify the sdk and install more fonts in frameworks/base/ data/fonts. I can see those additional files when using the shell in / system/fonts. However, the fonts were not used in the internal web browser.
View 2 Replies
View Related
Jun 24, 2010
This doesn't seem to work in jqTouch or iUI. But I know it's possible because it works on my Droid when I go to deviantart.com . Anyone know how to do it?
View 2 Replies
View Related
Jan 21, 2009
When viewing Web pages either in the built-in Web browser or in a WebView canvas, focusable items get the orange highlight ring as you navigate the page with the D-pad/trackball. A design team I am working with wishes to create some Web content, specifically for Android, where they handle their own focus highlighting via Javascript/CSS and wish to disable the built-in Android focus highlighting. In this case, the content is being viewed through a WebView, so I have some measure of control. I see some posts describing how to use ColorStateList, <selector>, and android:background to affect this sort of change, for a single View. How would one go about affecting this change for the contents of a WebView?
View 10 Replies
View Related
Dec 14, 2009
Is there a way to extend Webkit on Android? Can we write plug in for webkit in android? Can we do things like creating our own renderer for a particular type of data embaded in the webpage? Can we track user session or modify data stored in the browser cache/memory?
View 2 Replies
View Related
Jul 22, 2009
What is the schedule for HTML5 support in WebKit? Specifically - offline web applications and storage.
View 2 Replies
View Related
Oct 15, 2009
how to enable SVG support when building Webkit for Android? I saw an earlier thread from back in March about SVG being slow for the UI of apps, but I'd like to experiment with web content containing SVG, DOM manipulations, etc to see what the speed is like. Is it just a matter of turning on the compile flags for SVG support in Webkit or would there be a significant porting task?
View 2 Replies
View Related
Mar 20, 2009
All, How can we enable LOG messages in Webkit.
I wanted to enable some debug prints using log utility of Android in Webkit I added the following statements in my code.
#define LOG_TAG "webkit" include <utils/Log.h>
And the following line to test LOGV("Constructor CachedImage.cpp");
I am unable to get the logs. Should I enable with the following define. I even added liblog as one of the shared libraries during compilation.
#define LOG_NDEBUG 0 /* Is this required to get logs? */
View 3 Replies
View Related
Jul 6, 2010
When my site renders in WebKit on Android, addresses are parsed and an OnClick intent is assigned to them, but this behavior gets in the way of javascript I want to act when the text is clicked. Is it because my site uses MicroFormats for the address? Is there a way to disable this on the browser, so no automated parsing occurs?
View 2 Replies
View Related
Jul 21, 2010
Is it possible to update WebKit behind the Android 1.5/1.6/etc (prior to 2.2) browser? I know latest nightly WebKit builds has great HTML5 support. So, my intention is to provide html5 video streaming (and other features) support on all those droids. Previously I was able to update WebKit engine on different devices with older Safari to meet my requirements (on any mac os x distros it's easy as updating WebKit.framework).
View 1 Replies
View Related
Oct 27, 2010
i am trying to get the following code to work on an androind 2.1 phone (HTC Sense UI):
h1 {font-size: 14px;
font-weight: bold;
color: #FFF;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden; however, the text-overflow property does not seem to work. has anybody else had this problem, or found a way to work around it?
View 1 Replies
View Related
Dec 29, 2009
Has anybody tried to access Java class from Android Webkit plugin?
I am trying to do but there is no reliable way to access with JNI. So if anybody has tried please reply.
here is example of what I want - JS in webage access plugin and plugin accesses JAVA class/application to access Android platform.
View 3 Replies
View Related
May 14, 2010
I recently tried out the applicationCache / offline web apps on Android 2.1's WebKit and unfortunately it does not work exactly like on a webkit on the iPhone. I was wondering how I can easily see what features should be implemented and if there is something like a roadmap?
Does that information somewhere exist?
View 1 Replies
View Related
May 25, 2010
I'm trying to force Webkit to use proxy definde in APN.
My proxy configuration:
APN: wap
PROXY: 192.168.6.102
PORT: 8080
USER: wap
PASSWORD: wap`
Currently all connections made by Webkit are blocked on firewall. Is there way to use proxy from phone profile?
View 1 Replies
View Related
Jun 13, 2009
Is there any way to manipulate form-data of a specific website (for example fill in information in a login-field and hit the login- button).
View 3 Replies
View Related