Android : Java Access From Droid Webkit Plugin?
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
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
Apr 18, 2012
I try to make android java app that uses webkit browser component but in slight different way. My primary goal is to modify the webkit WebViewCore java class method so my android application uses my own WebView which derived from modified WebViewCore and acts as I wish. The problel is that WebViewCore and entire bunch of related classes is not part of public SDK.
So far I tried:
- replaced android.jar from SDK in my project with "full" version (framework.jar)
- copied entire webkit java classes from Android OS to my project and modified the method as I need.
- included in lib/armeabi the libwebcore.so and libchrome_net.so (these I grabbed from rooted phone which I gonna to use for experiments)
- compiled and created apk file with libs included (in the code java layer calls my own libs using System.loadLibrary(..))
- application crashes on launch on device with:
Code:
04-18 10:39:23.451: D/dalvikvm(8214): Trying to load lib /data/data/com.tester.webtest/lib/libwebcore2.so 0x2bb4a1c8
04-18 10:39:23.511: D/dalvikvm(8214): Added shared lib /data/data/com.tester.webtest/lib/libwebcore2.so 0x2bb4a1c8
04-18 10:39:23.521: D/dalvikvm(8214): Trying to load lib /data/data/com.tester.webtest/lib/libchromium_net2.so 0x2bb4a1c8
04-18 10:39:23.531: D/dalvikvm(8214): Added shared lib /data/data/com.tester.webtest/lib/libchromium_net2.so 0x2bb4a1c8
04-18 10:39:23.541: D/dalvikvm(8214): No JNI_OnLoad found in /data/data/com.tester.webtest/lib/libchromium_net2.so 0x2bb4a1c8,
[code]....
What should I do for making my own independent version of webkit, so I can install it with my application on specific phone without breaking other apps (browsers) behaviour?
View 3 Replies
View Related
Feb 5, 2014
I am trying to install the ADT Plugin. It is not working.
Tried:
This is after Hello->Install New Software
Name: ADT Plugin
Location: https:[code]....
How do I install ADT Plugin?I am using Java 6 instead of Java 7 per recommendation of posts elsewhere. It didn't work.
View 1 Replies
View Related
May 7, 2010
Do Android devices have a unique id, and if so, what is a simple way to access it via Java?
View 3 Replies
View Related
Mar 25, 2010
I want to access files in the /sys, to be exact in the /sys/class folder. I just need to read some values there. I tried the Context.openFileInput method, but got only exceptions and I understand this is not the right way.
View 1 Replies
View Related
Aug 2, 2010
Is there a JAVA app available in order to access this webcam sites that require it?
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
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
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
Mar 27, 2009
I wish to get the environment variable which is set by a daemon in native but failed. Some details: in the daemon, which is started by root setenv("MY_NAME", name, 1); in java code, which is started by system String name = System.getenv("MY_NAME);
View 3 Replies
View Related
Jul 29, 2010
Is it possible, from within my android java app, to capture an image of what is on the screen, even if it was written using native (ndk)? I do not wish to take screen shots of other apps, just my own. I can already capture and image of a canvas that I am aware of, but is there a view or canvas or something like it that always represents what is on the screen, so that a) I don't have to capture the separate views images and recompile them, and b) I can see what my native (jni) code is doing with the graphics too?
View 1 Replies
View Related
May 25, 2010
I am making a app which takes photo on button click i have camera.java which operates camera and takes photo
how to i call it on the below event? Code...
View 1 Replies
View Related
May 12, 2010
I have got HTC Desire yesterday . Phone is really amazing! However , I went to couple of websites like
British Pound Quotes British Pound Rates Charts British Pound Forecast Pound Broker and it was not displaying any charts etc . and I recive an message on the page to install and enable Java Plugin.
I have checked in my browser settings , Java script is enabled. I have tried with both Dolphin and Opera browser.
View 1 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
May 19, 2010
I got 2 java files app.java and gallaery.java
CODE:.....................
View 1 Replies
View Related
May 11, 2009
Is it possible to get the calendar's entries from the phone offline? It seem the only way is to use gdata-java-client.
View 4 Replies
View Related
Feb 4, 2010
Can I access the values defined in a java manifest from code?
View 3 Replies
View Related
Jul 28, 2010
I want to access the build type [release/debug] in java code and xml file to enable or disable the particular feature at the run time.
Please let me know if we have any environment variable defined for it which can be accessed in java code and in xml file also.
View 3 Replies
View Related
Aug 24, 2013
So i've been trying to flash modules from within the phone without having to boot into the recovery, and i found that i can just extract the update-binary and execute it through shell and it will do the trick!!
However, know im trying to do that through my app, I successfully got root access using Chainfire's libsuperuser, however, whenever i send the commands to run update-binary i get "segmentation fault(core dumped)" Error.
the command i using in both shell and from within the app is "./update-binary 3 stdout ./modules.zip".
This might be irrelevent but when ever i add a number before stdout (e.g 7stdout) i get segmentation fault during shell as well, other than that, i can't find the problem.
This is a logcat of the process through strace, if we have a linux debugger here
Code:
08-24 17:06:43.568 8703-9188/com.thunder.kernel.lighter D/libsuperuser: [libsuperuser][SU*] execve("./update-binary", ["./update-binary", "3", "recovery", "./KernelLighter.zip"], [/* 24 vars */]) = 0
08-24 17:06:43.573 8703-9188/com.thunder.kernel.lighter D/libsuperuser: [libsuperuser][SU*] gettid() = 9202
[Code] .......
View 5 Replies
View Related
Jul 10, 2010
I'm new to android programming.
Does anyone know how to listen for actions that other applications do?
View 1 Replies
View Related
May 8, 2009
I have seen a plugin in android under the following path
/data/data/com.android.browser/app_plugins/browsertestplugin.so
Please anyone tell me how to test this plugin
View 2 Replies
View Related
Apr 15, 2010
Is it possible to write "extensions" for the webkit based browser found on Android devices?
i.e. extensions akin to Google Chrome's ?
View 1 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
Oct 28, 2010
Is there any way to access the value (any constants) from Android.mk file to my java file.
View 3 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