Android :: Plans To Support OnGestureXXX Set Of Events Like IPhone's Webkit Has?
Mar 19, 2010Is there any plans to support the onGestureXXX set of events like the iPhone's webkit has?

Is there any plans to support the onGestureXXX set of events like the iPhone's webkit has?
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 RelatedWhat is the schedule for HTML5 support in WebKit? Specifically - offline web applications and storage.
View 2 Replies View Relatedhow 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 RelatedI 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 Relatedfor(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.
Wondering here if there is a way I could trigger an event, so that any library listening for these events (e.g. jQTouch, Sencha touch, iUI, ... ).
If I could extend or use jQuery for such task e.g. $(...).trigger('event') that would be great to know.
Usage example:
I need to debug a few web apps by simulating multi touch with my mouse. This seems a little complicated, so if I could trigger the multi-touch events using Javascript I could therefore test the app more efficiently.
On iPhone, iPod touch and (presumably) iPad, Apple has multi-touch event handling available via JavaScript in Mobile Safari. I know the Nexus One recently added multi-touch support via an update, and I believe webOS is also multi-touch enabled. Do Android 2.1 and/or webOS have access to multi-touch in the browser, or is this currently exclusive to Apple devices?
View 6 Replies View RelatedAlright, at the risk this has been discussed before, let me alert everybody that there are customers on metered data plans out there (metered as opposed to "unlimited"). This is the first time I've heard of it: http://groups.google.com/group/android-discuss/browse_thread/thread/2... So heads-up when you use wake locks to keep data connectivity alive.
I develop with such a scenario in mind, but nonetheless will include a note in my manual(s) to not use my app on a metered plan, just to err on the safe side.
Android 2.2 Froyo Update: HTC Release Date Plans in 2010 : Product Reviews Net. Hopefully this holds true and at the beginning of Q2 like June 4th!
View 6 Replies View RelatedI have been finishing off the port of one of my games to Android, with the last two things being music and sound effects. I have implemented the music system now, using a series of MediaPlayer instances, and that all seems to be working fine (I only need to do limited things with music, just playing, pausing and stopping really). I am now trying to finish of the sound effects, but I am struggling.
1. I am targeting Android 1.6+ and therefore do not have access to the setOnLoadCompleteListener function. What is my best way to wait until all sound effects are loaded? I am thinking my best bet is to load all my sounds, then load a dummy (short, silent) sound, and then sit in a loop attempting to play that sound (and then sleeping for 1ms) until the play returns non zero. Does this sound reasonable? Would it be crazy to do this process for every sound effect I load, as the calling code expects the load function to stall as long as it takes for the load to complete - I am not interested in the sound pool trying to do any async stuff for me, all of my background loading is done in a separate thread, and this thread can stall as long as it likes, as long as it actually loads what I am asking it to.
2. Is there anyway I can find out when a sound effect has finished playing? The games I am porting might have code along the lines of 'play sound effect, wait for it to complete, then fade the screen out and load next context' which on other platforms is easy enough to implement. In OpenAL for example, at the end of each frame I check if the OpenAL state for a given SFX is now stopped, in which case I update the game side sound handle to let it know it's now in the stopped state. But I just can't seem to find a way to achieve the same thing on Android. I am beginning to think my only option would be to (somehow) work out the length of the sample, and then when play is called, set a timer to trigger 100ms after the sample time (100ms to account for any delay in the sound starting), and in the timer function set the game side sfx state to be stopped. Does this sound reasonable? Are there any better ways of handling this?
3. Will a sound pool run out of ids? It seems it have been designed so you have one sound pool per 'level' and after each level you release the pool. This doesn't really fit too well with all my code so I am trying to avoid it. But I notice the documentation states a lot of functions will work even after a sound id is no longer valid (it has stopped for example), the functions won't do anything, but they want break anything. This to me says that id's are never recycled. So are there limits? If so what are the limits?
4. Finally, are there any plans for improving the sound pool system? Ideally I'd like to see it work in a similar way to the other main sound APIs. The reason being I target multiple platforms on the engine side, and have 100% generic game code, so I need to establish a base level interface to the API which will work across the board. This is made very difficult by the SoundPool API being set up to work in a specific way, as opposed to just having reasonable low level functions, and allowing the end user to wrap this up how they see fit. I like the fact there are high level classes around to handle this work of work, and I agree these should remain, but I'd like to see something perhaps lower level exposed, which the SoundPool could wrap around perhaps.
I just spoke to a rep and was told that for four people, the price was: $140 for first two lines (includes $10 EVO premium)$40 for two other lines.Wth tax, this is almost $200 and not counting any insurance you might want to add. The reps stated if you buy the EVO and more than one line, you must get the 1500 minute plan. My family of four rarely breaches 600 minutes of our 700 minute plan (my family are mainly text maniacs).Since I would be forced into a 1500 minute plan and pay the $10 premium, the Sprint plan would be about $40 more than VZW. If you use the minutes, it would be fine, but not only are you forced into $10 more, you also are forced into the 1500 minute plan- even if you do not need it.Is this what others are being told? I was going to get the EVO to test it out, but may just wait for all the testers here to report back, through the next few weeks.
View 41 Replies View RelatedIt's hard to believe that Android would be lacking the following features from its own creator:
-remote wipe
-backup
-file/photos sync
-lost phone tracking
-"itunes" sync
Just wondering if Google mentioned they would be making one.
Are there any benefits to having a family plan over 2 individual lines? If we are both used to using up to 450 minutes, that's going to bump us to the 1400 minute plan, which is more than 2 individual lines. either that or suck it up and try to use less minutes to save ten bucks. Anything I am missing here. For some reason I was under the impression that these were a good deal over having 2 individual lines.
View 7 Replies View RelatedWould the process just require using the RUU to flash back to stock and waiting for the update? I am currently all the way rooted and running the Cyanogen nightly.
View 19 Replies View Relatedthey are splitting the company. The making of wireless-telecom equipment is being sold to Nokia Siemen's Networks. Does that concern any of you who just purchased the Droid X?
View 3 Replies View RelatedAndroid 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...
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 RelatedNow that Google Earth has been released for Android 2.1, does anyone know what, if any, plans there are to extend the Google API's to support it in a future version?
View 2 Replies View RelatedI'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 ?
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 RelatedHow 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 RelatedI 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 RelatedThis 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 RelatedIf I change my plans minutes, will I lose my unlimited data package I have on my Droid?
View 5 Replies View RelatedWhen 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 RelatedIs 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 RelatedI 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 RelatedAll, 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? */
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