Android :: Mapping Gestures To Buttons - Possible?
Aug 26, 2009
I have a love-hate relationship with my G1, with the inability to remap keys at the top of the list. I've looked high and low for information, going so far as to try to decipher pages like this:http://www.kandroid.org /android_pdk/keymaps_keyboard_input.html and even reading the android platform code on github. I don't see things like page_up and page_down defined in the android keymappings. And I suspect that the original scancodes are being assigned to touch gestures.Since the number keys don't have a third component could an enterprising developer map to the unused caps for missing keys? Not that it would be all that useful at this point but it would give someone a hook to build on. Or if that isn't possible, how about a virtual floating task bar kind of thing (maybe mostly transparent overlay?) that maps gestures like the swipe up/swipe down and more traditional arrows and enter type keys for the trackball? This isn't entirely a nit-picky kind of request. I have a medical condition that in the winter makes my fingertips extremely painful and the trackball hurts. I'm guessing that there weren't many arthritis sufferers on the Android development team, either. You would think that the touch screen should make things easier, not harder. Even my old, old Omnigo and HP100LX had utilities to remap keys, so it seems odd that there isn't some kind of app that could be developed. I think if I had enough time (which I don't) I might be able to eventually puzzle out a crude version of the task bar thing but I'd much rather pay a couple of dollars in the market.
View 2 Replies
Aug 7, 2011
I've a HTC Sensation and a few days ago i did a long press on the search button (bottom right). A pop up asked me what application to launch, i choose google voice and tick the case by default. I would like to come back on this choice...
Is there a way to modify which application or function is launched by default with a hardware button?
View 3 Replies
View Related
Jan 8, 2013
I am wanting to create CWM recovery for a device that doesn't currently have it, the EK-GC100 to exact, trouble is I can get it to boot, but because the device doesn't have volume buttons, only "Zoom in/out" the recovery cannot be navigated, what to do, to remap the keys in the recovery to buttons the device actually has?
View 1 Replies
View Related
Nov 17, 2009
WebView can scroll on both axis. That makes it hard to integrate with the 1.6 gestures. At the same time a WebView is often used as the main and huge content area, so either there is a way to work with gestures properly or gestures can't be used in lots of places.
Did anybody do this and has recommendations on how to do that properly?
The main problem I see is that a scrolling in any direction can be interpreted as a gestures and which keeps the user from scrolling. And because this is an issue for any direction I can't workaround the problem with only using horizontal or vertical gestures.
The best solution I found so far is canceling the gesture when no new onGesture events occur for 200ms. And with the finger still on the screen the user can then scroll. But that sounds better than it is, as scrolling often requires to pull up the finger again, when the end of the screen is reached, and put it down again on the opposite side, to keep on scrolling. But then the next touch down needs to wait the delay again, which is not very intuitive and as it can lead to a gesture being executed this is even less cool.
View 2 Replies
View Related
Dec 4, 2009
Need some information on Gestures. How does android treat Operations like Fling which are at device level? Are they treated as Gestures? I am not able to see any gesture listner code in Launcher (Home screen ) application. If i want to change ( add/remove/modify ) the behaviour of Fling operations where i should start looking in the android code base?
View 2 Replies
View Related
Nov 5, 2009
I'm trying to scroll the ListView up/down actions by pressing a button, instead of using finger gesture. It looks like the super class AbsListView.onTouchEvent(MotionEvent ev) handles all the scrolling up/down motion and animation. So if I want to scroll the list by pressing a button, I don't really have a MotionEvent to pass onto onTouchEvent method for it to work. I tried ListView.scrollTo(x,y), it kind of works but the hidden part of the ListView is not rendered when shown on the screen. I am trying to re-draw the list by using: ListView.invalidate(), ListView.invalidateViews(), list.adapter.notifyDataSetChanged()
View 3 Replies
View Related
Jan 27, 2010
Was wondering if there's any way to test Gestures (eg: Fling) on the Emulator.
I saw a project on google code that lets people simulate the accelerometer, but none of Gestures.
View 2 Replies
View Related
Nov 5, 2010
I would like to define an ImageView in Xml, and then listen to gestures which occur only on that ImageView. But, it appears that the constructor for GestureDector requires an Activity as a parameter, and then responds to gesture events on all components in that Activity. Is there any way to limit this such that events are only generated for gestures upon the pre-defined ImageView?
View 1 Replies
View Related
Nov 9, 2010
I want my app to recognize when a user swipes from right to left on the phone screen.
How to do this?
View 1 Replies
View Related
Jun 16, 2010
there im looking at gettin g a new phone, and this is really the deciding figure between a blackberry, iphone or android device. What im looking for is a gps app sorta like gpsed that can map my tracks and put photos on them, but that stores these maps on my phone not the internet. Also what i would like is to ba able to take a picture with my phone and quickly be able to attatch it to my map. So when i go to this map in zoomed out mode i can see all these tracks (possibly in different colors) and these pins which i can click on and see pics of that location.
View 5 Replies
View Related
Jun 24, 2010
I'm trying to get the lat/long values, from the corners of the screen. But my getProjections don't make any sense.. I mean ... mymap.getProjection().fromPixels(0, 0) or mymap.getProjection().fromPixels(screenWidth, screenHeight) just delivers me unreal numbers..
I'm trying to set up an algorythm that would avoid cluster of graphics in the map and for that, the app needs to know which area of the screen is being showed latitude/longitude wise.
For example:
CODE:..............
View 1 Replies
View Related
Mar 4, 2010
Just wondering if there are any shortcuts in the browser for things like new window, bookmarks, reload, etc without needing to use the menu button and then the options listed.
View 10 Replies
View Related
Jul 29, 2009
I am not able to find out the perfect layout(viewgroup) to place four buttons as shown in the attached image. Basically, i want to place four buttons near the top/left/bottom/right edge of the screen. AbsoluteLayout helped, but it is deprecated (It is also better to avoid AbsoluteLayout as it is not very flexible for orientation changes)
View 2 Replies
View Related
Feb 9, 2009
Is it possible at this time to get normal mapping to work on android? I'm asking because it would involve the use of GL_DOT3_RGB, which is in the GL11 specs, not GL10. But GL11 is indicated as not completely supported.Is there an official list of GL11 features that do not work, or is it simply unstable and I should just avoid it for now?
View 2 Replies
View Related
Nov 25, 2009
I've tried casting shadow following this tutorial (which uses Stencil Buffer method): http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=27 The result is a cool shadow effect. But it depends too much on geometry and thus not very flexible. Then I found a much easier way to do shadowing here: http://www.paulsprojects.net/tutorials/smt/smt.html But it uses ARB_depth_texture and ARB_shadow extension. So I bet it can't be used with Android's OpenGL ES 1.0. I've tried googling for "Shadow Mapping" and "OpenGL ES" but still can't find a good tutorial. Can anyone recommend me a good place/site I can study for this please?
View 3 Replies
View Related
Aug 7, 2010
Ok so here's the deal guys and gals, I am trying to have my phone assist me with my running. There are plenty of apps that will track my run via gps if I bring my phone on the run with me, but I don't wanna do that. I want to be able to map a course out, enter how long it took me, save the map and even share it with friends. Ideally the app would have the gps running features I mentioned above just on case I ever do start bringing my phone with me. Here is an example of what I mean in website form (unfortunately they make a sweet app for the iphone but their android version is pretty awful right now.MapMyRun.com -
View 9 Replies
View Related
Aug 16, 2010
I am looking for an application that can create a map by me carrying the phone and walking a certain path.There is a 300 acre park near where I live. The maps they provide are way off base. I would like to walk all of the trails and have the Droid record where I am walking.You know, this may be easier than I think using ASE and writing a Python script. I'll just get the location every half second and write it out to a file. It'll be interesting to see how the maps turn out, seeing the low resolution of the GPS receiver.
View 5 Replies
View Related
Apr 16, 2014
, you can swipe either from the top or the bottom to reveal the status- and navbar in Immersive Mode. Now would it be possible (preferably with Xposed) to disable one of these gestures? For example, you don't want to accidentally.
View 1 Replies
View Related
Apr 7, 2012
I am in love with the swipe gesture that exdialer has, that is swipe left for sms swipe right for call. But there are a lack of themes for exdialer and also it lacks contacts export and import, ability to set specific ringtone for one contact, etc. So what I wanna know is there any other dialer with the swipe gestures? Or is there anyway to bring it to the MIUI dialer?
View 1 Replies
View Related
Feb 2, 2010
I am writing an Android AR application and have my engine working but it contains a strange behaviour that I can't seem to get fix. I am overlaying an OpenGL surface on the camera image and am placing 3D objects in the view accordingly. If I use dummy data for the location of my AR objects, i.e. LAT 10 LON 10 become x=10 y=10 on the OpenGL surface, then the overlay works perfectly. However, if I use direct GPS coordinates for my LAT and LON (e.g. LAT 12.34567890 LON 100.23456789) then all my objects either move around their location or don't appear at all. I know there are issues around using floating points and the OpenGL framework, but I've been reading around and am still having trouble stopping this behaviour. Has anyone else had this problem? Should I be using a scaling factor between my GPS and openGL surface, if so what values are good? I tried scaling my LAT and LON by 1000000 to eliminate the floating point, but it didn't help and the performance was terrible.
View 1 Replies
View Related
Dec 29, 2009
Currently I'm using a HashMap to map the strings to int and the int values need to be frequently accessed. I'm looking for a better way to do this if possible with minimal object creation, and preferable being able to store the values as primitive ints without wrapping them with the Integer class. (Basically, the reverse of the SparseArray's int->object mapping.)
View 4 Replies
View Related
Aug 28, 2010
i have a list view and custom list adapter for it. There are various other fields in it and a Checkbox. The problem is that it is not able to map Checkboxes properly. I mean if an entry is already present in database it should come checked.When i put a log in the View function it shows some of the entries that are repeated, i think this is the main reason.
View 3 Replies
View Related
Oct 1, 2010
I am newbie to OpenGL programming. I was going through the code of API demos.I understood how to map a single image resource on to all the 6 faces of the cube,but i want to know how can i map 6 faces of the cube with 6 different images. I searched in the web without any luck.Can any one give me some ideas links , pointers on the same.
View 5 Replies
View Related
May 5, 2010
I have an Android application that displays VGA (640x480) frames using OpenGL ES. The application reads each frame from a movie file and updates the texture accordingly. My problem is that, it is taking almost 30 ms. to draw each frame using OpenGL. Similar test using the Canvas/drawBitmap was around 6 ms on the same device. I'm following the same OpenGL calls that VLC Media Player is using, so I'm assuming that those are optimized for this purpose.
View 1 Replies
View Related
Oct 9, 2009
How do I run the emulator with WVGA854 skin so I get a 1-1 mapping of device to screen pixels? The WVGA854/layout file has "width 480 height 854" but when I run the emulator, I get these values for DeviceMetrics: density = 1.5 densityDpi = 240 scaledDensity = 1.5 heightPixels = 569 widthPixels = 320 xdpi = 240.0 ydpi = 240.0 I'd like to run the emulator so that I see heightPixels/widthPixels values of 854/480 in the code. I tried playing with the -dpi-device option but doesn't seem to help.
View 3 Replies
View Related
Sep 1, 2010
I am looking for a mapping application that will let me browse maps offline, as well as plot points onto the map. Does anyone have any ideas which app might let me do that? According to the MapDroyd app, it won't let me plot points
View 1 Replies
View Related
Mar 6, 2010
Trying out Google Gestures (very cool app!) with SWII. I would like to dedicate one of my five SWII screens to this app as an opened app. In other words, I'd like to slide the main home page to the left and have the Google Gestures app open automatically. Sweeter Home is so configurable, I figure there must be a way. I just don't know what it is.
View 19 Replies
View Related
Jan 13, 2010
I have had a good hunt around but am unable to find the gestures for the Steel browser.
View 2 Replies
View Related
Aug 9, 2012
any word on porting galaxy s3 motion gestures?
View 1 Replies
View Related
Jun 25, 2010
I have just began opengl programming in android and i am fairly new to opengl as well. I've been using nehe's opengl tutorials as well as insanitydesign's android ports.I successfully managed to create a cube with a single texture mapped to all its 6 faces. I even mapped multiple textures to different faces of the cube.But the way I did it was to create 6 faces seperately, have 6 seperate index and texture buffers and then using glBindTexture() with the selected texture for each face and then calling glDrawElements. Isn't there an efficient way around this. Should i use a cube map texture instead of a GL_TEXTURE_2D?
View 4 Replies
View Related