Android :: Enabling LOGD Messages In Webkit
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
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
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
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
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
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
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
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
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
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
Mar 19, 2010
Is there any plans to support the onGestureXXX set of events like the iPhone's webkit has?
View 3 Replies
View Related
Aug 13, 2010
for(var myLine = 0; myLine < 100; myLine++)
document.getElementById("myDiv").innerHTML += "line " + myLine + "<br>";
...............
<div style="position:...etc; overflow:auto;" id="myDiv"></div>
this works without a glitch in every browser on all non mobile platforms. However... when this is implemented on iPhone (Safari) or Android (webkit) the div gets filled up with the text but no scrollbar is generated when the text runs past the height of the div and the user can't "push" the content down either. So effectively overflow is always "hidden" no matter what. I'm curious if there's some alternative approach that I'm overlooking or if this is just a bug I have no way to get around at the moment.
View 3 Replies
View Related
Jan 28, 2010
I could display the box around the URL link, but if my URL link spans over more than one line, then my code shows the one rectangle on 1 line. But, in android-browser, in the same case, whole URL (still if it spans over multiple lines) gets surrounded by single large rectangle. I am not getting how this is achieved in android ?
Can anyone please give me some pointer on this ? I could not able to find out exact code for this in android-webkit code.
View 2 Replies
View Related
Sep 20, 2010
How do you turn on sync in the emulator. I'm already using Google APIs level 8 and I've already created a Google account. But under "Manage Accounts", my Google account says "Sync is OFF".
View 4 Replies
View Related
Jun 19, 2009
I've just noticed that launching the Camera and Camcorder (in the emulator) would result in a black screen (instead of the famous moving small boxes), i've looked for why this happening on the net, apparently that the camera is disabled by default when you create an AVD. Decided to create another AVD with the camera enabled and launched it and still getting that black screen. Anyone has any idea how to fix this ?
My problem in the first place is that my application is using the default camera application using intents just like in the following: Intent imageCaptureIntent = new Intent (MediaStore.ACTION_IMAGE_CAPTURE); imageCaptureIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(new File("/sdcard/imageCaptureIntent.jpg"))); startActivityForResult(imageCaptureIntent, WHATEVER_REQ_CODE); I thought that there's a problem in my intent request but like i said before, running the camera on the emulator itself is the problem. By the way, You can run the "camera preview" in the API demos with no problems, how come!
View 5 Replies
View Related