Android Developers,
I am developing a web page that is designed for viewing on an Android
phone.
The width is fixed at 320 pixels.
For some reason, when I view my web page on my Android phone (HT-03A),
it scales the page down, so there is all sorts of extra space on the
right of the viewport.
Android Developers,
I have a drop down menu that uses JavaScript to add some different
styling.
It works as expected when viewed on a desktop browser. (At least on
FireFox).
However, when I view it on Android, it becomes a text input box when I
click on it.
If I use the... what do you call
[SOLVED]
Found the answer here:
http://rossboucher.com/2008/08/19/iphone-touch-events-in-javascript/comment-page-1/#comment-14391
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
My previous thread on this topic seems to have died out, so I'm going
to change my approach and question.
Is there any way, at all, on this planet or any other, to get a
Javascript slider to work on Android?
The key seems to be that the thumb of the slider needs to be
accessible by a touchmove
Um... hello? Is there anyone who has any idea how to implement a
touchmove event? Anyone, anywhere?
I have looked around the internet and asked on a few different forums,
and got zero response. Zero. Nothing. Not even people telling me to
RTFM or what's wrong with my question.
I've tried
After much looking around on the subject, it is far from clear how I
can get my slider to respond to a touch event.
I have attempted to modify the YUI slider code as follows. What might
be going wrong?
Also, please note, I am a total JavaScript beginner. Not only is the
code cobbled together
John, Fred, and Streets Of Boston,
Sorry I stepped away from this conversation for a bit. Work has a
nasty habit of getting in the way sometimes.
Thank you for replying and explaining the situation to me a little
more.
I can now see how touch events might diverge from mouse events in
certain
John,
Thank you for the reply.
Hmm... seems a little odd to me that they went and made a whole
different set of events for using fingers on a touch screen when they
are duplicates of what I do with a mouse. There's nothing about
touching with a finger which, as far as I can see, is
Thank you everyone for the helpful information.
What I have learned so far:
* Android devices are limited in speed and power, so don't expect all
the same functionality of a computer.*
I understand this concept, and my initial suspicion is that this is
not the issue. I have one (1) slider on
Is Android *supposed* to run JavaScript
like any other JavaScript capable browser?
On the whole, yes. Bear in mind that Android uses WebKit, so where you
see browser-specific instructions for Javascript libraries, follow those
for iPhone, Safari, or perhaps Chrome.
If only Chrome were
Here's what I have learned so far:
The following scripts all behave the same on my Android device:
http://developer.yahoo.com/yui/examples/slider/slider-ticks.html
http://developer.yahoo.com/yui/examples/slider/slider_dual_thumb_clean.html
Shawn,
This is much easier than the stuff I know you fiddle with in you linux
box
No... no it's not. Let's not get into broad statements about what my
environment is like or how I handle it. Linux is fine, it's me who has
different abilities, so please leave it for me to decide what I can
and
Hello Android developers,
By way of introduction, please know that I'm a complete newbie when it
comes to JavaScript. I'm a web designer who can program a little. But
I've only just started playing with JavaScript about four days ago.
I made a JavaScript slider with Yahoo's User Interface
13 matches
Mail list logo