[Q][MOD] Implementing Pre gestures w.epic hardware - Epic 4G Android Development

So i as i was sitting outside smoking a cig i got to thinking, how difficult would it be to implement some of the gestures i loved from the pre? the epic has the necessary hardware..it'd just be a matter of writing the code to acknowledge your gestures and implement them into actions
forward/back: theres 4 touch capacitive buttons on the bottom of the screen, if your finger is detected hitting one button then 1-3 more can a forward/back be implemented?
closing app/screen unlock/show notifications: if you move your finger from one of the 4 capacitative buttons in an upward motion onto the very bottom of the screen and up can closing app/screen unlock/show notifications be implemented?

There is no support in android for the "gesture area" so you'd have to write code for all of that, integrate it into android and then create something functional out of it. In laymans terms it's not happening

Be positive
063_XOBX said:
There is no support in android for the "gesture area" so you'd have to write code for all of that, integrate it into android and then create something functional out of it. In laymans terms it's not happening
Click to expand...
Click to collapse
So how do you know this guy isn't the baddest coder you've ever seen? Don't be so negative

Because we gots hardware and capacitive buttons that makes gestures useless... plus every app would need to be coded to respond to the gesture... so, yeah, its not happening.
Sent from my SPH-D700 using XDA App

buy a pre.

Take a look at Gesture by Google in the app market. It works wonderful, but could it be implemented in the OS itself, not in just the app?

Related

Emulate mouse Touchpad using the Touch Sensitive area under screen - Possible?

Any developers or Moderator Developers have any idea of whether this is being developed?
Just thought it would be very useful for controlling the Mouse in RDP on Diamond and Touch Pro Devices!
It would basically function in the same way as a Laptop TrackPad!!
Any takers!
Off Topic!
------------
Am still totally blown away by the Guy at MicroPC Talk that modded his Sony UX from a core 2 solo 1500 to a CORE2DUO!!!!!!!! (u7600)
Wish I had the balls to try something like that on mine!
You might as well use the touch screen? Right?
dreamtheater39 said:
You might as well use the touch screen? Right?
Click to expand...
Click to collapse
Could be usefull for clicking small links in Opera, go there with the mousecursor and click them
I think it would be usefull to be able to use it as a mouse pad.
Was also thinking maybe moving up or down on it on the left and right side could be able to emulate a hard button for the onscreen softbuttons, for using fullscreen apps.
YUP - This could work on the touch screen too - was just thinking that since the touch functionality is built into the buttons too you could manipulate a mouse pointer without obstructing the screen.
I was wondering about a scroll pad too!
Wish I coded in Visual Studio sometimes - do a teeny weeny bit of MySQL and PHP but wouldn't know where to start coding for windows mobile! LOL!
Still nice to know there are other thinking on a similar wavelength!

multitouch onscreen-keyboard

I have played around with some of the multitouch apps (browser, maps, image-gallery examples) and found them quite impressive. My question is, can the onscreen-keyboard be hacked to allow for multitoutch?
i know the keyboard is pretty useful but it would be better to have the multi touch features. The screen supports multutouch and it is a bit stupid that apple can copyright multitouch. alot of my friends mock the android cos it doesnt have mutitouch (stupid iphone snobs)
so, is it possible?
I'm sure it would be possible. There honestly should be multi-touch support for the virtual keyboard. Not to display 2 letters at a time obviously, but to just que the second letter to allow for faster typing rather than have it skip between 2 letters. The iphone does have multi-touch support on its VK for the same exact reason of faster typing.
wardy277 said:
I have played around with some of the multitouch apps (browser, maps, image-gallery examples) and found them quite impressive. My question is, can the onscreen-keyboard be hacked to allow for multitoutch?
i know the keyboard is pretty useful but it would be better to have the multi touch features. The screen supports multutouch and it is a bit stupid that apple can copyright multitouch. alot of my friends mock the android cos it doesnt have mutitouch (stupid iphone snobs)
so, is it possible?
Click to expand...
Click to collapse
so where are you seeing all of this stuff with the multi touch?
Yeah, I don't think multi-touch is available for Maps and Gallery. If I'm wrong could someone shoot me a link please?
Multi touch is only available in the browser. There were some demos you could install on your phone of the maps and gallery but they were just demos not the actual program.
As for the VK not sure why you would need it. Maybe type faster but other than that I see no need for it.
He's talking about the multitouch examples here: http://lukehutch.wordpress.com/2009/01/25/get-multi-touch-support-on-your-t-mobile-g1-today/
I don't really see what all the hype is about multi-touch. The only reason I can see it being useful is for games, and maybe if a shift key was inserted in the VK. Other than that, I feel it just becomes more difficult. Sure, it's cool technology, but isn't it easier to zoom using your thumb, holding the phone with one hand, than having to use two fingers or two separate hands? I've been running JF builds for months which multi-touch, and barely use it at all.
Multi touch allows for faster typing. Especially if you're typing in landscape mode with your thumbs going at it. I've noticed it would skip letters for me on various occasions because of it not registering hits that are too close to each other.
Why wouldn't you just open the keyboard...
I don't get it
I agree about typing. I also think the iphone's way of zooming in/out on the map is easier, too. It is all preference, but I really want the multi-touch map. Having it as an option would satisfy the masses.
To be honest, after the novelty of having multitouch on the browser wore off I found myself using the "+" and "-" buttons on the screen anyway!
fdisk81 said:
To be honest, after the novelty of having multitouch on the browser wore off I found myself using the "+" and "-" buttons on the screen anyway!
Click to expand...
Click to collapse
Personally, I hate those freaking on-screen zoom in/out buttons with the white hot intensity of a thousand suns. They're always popping up in the way of links that are placed at the bottom of web pages and I constantly hit that stupid button in the bottom right of the screen, opening that useless panning box. IMHO on-screen menus should never be placed in front of content. Am I the only one that thinks that's completely retarded?
multitouch
frankly i like the circle zoom!! i thnk tht wud b more convinient then the multi touch unless ur in landscape mode for some reason or another but yes i wud really like multi touch vk!! i need to b able to type faster but i still use my hardware keyboard for fast typing!
i prefer using two fingers to zoom in and out. I feel that by using two fingers you see where you are zooming and dont have a finger in the way. As multitouch is enabled in the rom, using two fingers emulates a finger press in between them, which can get quite enoying if you type fast ir knock a key by accident, u get a random key in the middle.
I know its not essential but these little things give it a nicer feel.
Chris
d0nkey said:
Why wouldn't you just open the keyboard...
I don't get it
Click to expand...
Click to collapse
It's a matter of personal preference. Is that not why we like open source so much? Some of us don't want to open keyboards every 4 seconds. Some of us have magic's sans hardware keyboards.
I for one welcome any improvements that I may or not use but in the end they are improvements.
d0nkey said:
Why wouldn't you just open the keyboard...
I don't get it
Click to expand...
Click to collapse
Because, I text a LOT. Between work and twitter and friends... I'm texting all the time. sometimes it's just faster to start typing.. plus I'm sure it's better on the hinges to not keep snapping the thing open every minute.

Concept multitasking wp7

Hello everyone,
I went recently to a device and more specifically to a wp7 7 omnia,
I created this video concept on the management of a multitasking wp7 keeping the style of the loose tiles without too many effects, such as MS has created a minimalist.
It works like this:
holding down the "back" button for 1-2 seconds, under a bar will appear with your open applications represented with the same tiles, dragging down the application quits, while clicking on it opens the'applicazione selected.
What do you think?
I like the idea of dragging down to close the program
Just very nice concept, yes.
Thats very good!
Multitasking (or should I say 'appswitching') on iOS is, imo, worse than that on Android and winmo.
On iOS, hate how you have to first double click the home button, then hold on one of the background-running apps on the taskbar until it gives you the option to close it. I liked iOS before that implememntation, because the 'taskbar' just easily gets filled up with apps.
On Winmo, once you tap the taskbar drop down menu and the list of background running apps appear, you have an x right next to it already. Alot more efficient.
Nice Concept :] I would like that too
Too much like iOS. I am sure MS can come up with the nicer way.
digger1985 said:
Too much like iOS. I am sure MS can come up with the nicer way.
Click to expand...
Click to collapse
Well, It is good, it doesn't interrupt your work and it's easy to use.
spippo said:
Hello everyone,
I went recently to a device and more specifically to a wp7 7 omnia,
I created this video concept on the management of a multitasking wp7 keeping the style of the loose tiles without too many effects, such as MS has created a minimalist.
It works like this:
holding down the "back" button for 1-2 seconds, under a bar will appear with your open applications represented with the same tiles, dragging down the application quits, while clicking on it opens the'applicazione selected.
What do you think?
Click to expand...
Click to collapse
it would be perfect if M$ do it like This way propose it to Redmond company
hd2leo_fusion said:
it would be perfect if M$ do it like This way propose it to Redmond company
Click to expand...
Click to collapse
Really? M$? 1995 called and want their meme back!!
As someone in the UI design field, non obvious actions are actually bad design. Holding down a button for 2 seconds is not obvious, a simpler more intuitive solution would be to have an arrow (or icon) at the bottom to do the same.
Like the bars at the bottom tho, and the dragging down thing (also non obvious)
pillsburydoughman said:
As someone in the UI design field, non obvious actions are actually bad design. Holding down a button for 2 seconds is not obvious, a simpler more intuitive solution would be to have an arrow (or icon) at the bottom to do the same.
Like the bars at the bottom tho, and the dragging down thing (also non obvious)
Click to expand...
Click to collapse
so holding down the home button to voice command is also bad design???
You would prefer more icons on screen to do what a hard button can accomplish?
thank you all!
If you give the other suggestions I can make another video concept and maybe send it to Microsoft like an idea! What do you think?
I looks very nice, but the icons are too big.
pillsburydoughman said:
As someone in the UI design field, non obvious actions are actually bad design. Holding down a button for 2 seconds is not obvious, a simpler more intuitive solution would be to have an arrow (or icon) at the bottom to do the same.
Like the bars at the bottom tho, and the dragging down thing (also non obvious)
Click to expand...
Click to collapse
holding down the start key for voice controls isn't obvious to users as well...unless they mistakingly do it, or read the booklet! Its fine! Humans are smarter than you think.
Seriously, this is almost exactly how iOS's appswitching works. And it's not a bad thing.
But probably Microsoft wouldn't use that layout for obviously reasons.
Android switcher sux. I would like to see something as easy as iOS. This one is nice, though smaller icons would be better
What a nonsense. Don't forget in WP7 navigation looks like this:
- Open software1
- Navigate to software page1.
- Navigate to software page2.
- Press Win
- Open software2
- Navigate to software page1.
So, after last step, let's assume i switch app to software1, then press back 2 times, and after that if i press back one more time, where i will go?
In Android, if you press 'Back' several times it just takes you to Home launcher. Do the same here.
Good
my congratulations to spippo, this is the first video that I see on a WP7 multitaskink...
I hope that Microsoft may look and begin to think on it!!!!
I love your idea but i think, that multi tasking should look like the Zune HD's pin/history section where you swipe to the right and that pane come up.
Barbbachello said:
I like the idea of dragging down to close the program
Click to expand...
Click to collapse
This works in WebOS and Blackberry Tablet OS because those systems use a gesture to "minimize" the application to a card that can be swiped up to be closed. WP7 doesn't do this. Apps are full screen. If I'm in Twitter, 50 results down in my feed; you want me to go all the way to the top so that I can drag the program down to close it? How exactly will I drag this program down to close it? What's wrong with an X in the upper right corner to close it, or simply backing out of it?
I think pre-emptive Multitasking has its usage, especially for stock applications. But I think the need for them in third party applications is limited to some pretty obvious use cases and Microsoft should be uber strict when it comes to allowing applications to do it.
Tombstoning + Push Notifications should be the de facto standard for third party applications, IMO.

[Q] Keyboard dock customizations

Anyone know how to do the following:
1. Change the color of the mouse pointer. I can only see it if the screen brightness is turned all the way up.
2. Is there way to map a key to the recent programs screen?
3. Is there anyway to "Alt+Tab" through open programs? I know the concept of open programs is different than in Windows but even a single key to cycle through would be awesome.
Thanks
as of right now, no no and no.
sorry.
You could possibly change the mouse pointer color if you root and could find the image extract it, edit it and then replace it, but as far as i know no one has tried.
there is noway to remap keys so for now you have to actually touch the screen for this. and yes i find it annoying too.
honeycomb dosn't support a function like that. maybe ice cream this fall.
Apps and recent apps are two glaring omissions to the keyboard considering all the crap shortcut keys I'll most likely never go near. A long press on the home key would be nice to bring up recent apps. Control x/c/p would be nice shortcuts as well.
Sent from my SPH-D700 using XDA App
dbpaddler said:
Control x/c/p would be nice shortcuts as well.
Click to expand...
Click to collapse
I know Ctrl+p works. Does ctrl+c/x not work?

[Q] what is most responsible for IME cursor precision?

Hi there, not sure what is the confluence of factors....
But I find it horribly nasty in Lollipop with the google keyboard to place my cursor by tapping text I am editing. It just doesn't go where my thumb and eye thinks it should. It is getting more and more annoying.
I used Smart Keyboard Pro in KitKat, and it had a "calibration" subroutine that I thought was responsible for hitting the actual keys, but do you think it also helped text entry selection?
Do IME rules govern the text cursor placement? I am now used to the google keyboard layout but find the precision horrid.
Thanks for any thoughts on subject.
Hah. Just tested Smart Keyboard Pro again... after calibrating. It feels like I can enter text again right away. It was very buggy during the Android version bump, but updates have made it work great again!
Now just another layout reconditioning....d'oh
nednednerb said:
Do IME rules govern the text cursor placement?
Click to expand...
Click to collapse
Nope. All an IME can do is read what is in the text field (for correction) and what type of text field it is (plaintext, password, username, number-only, etc) through the system (not the text field itself), and tell the system to input keystrokes (it doesn't input them itself).
It has no direct contact with the text field itself.
A keyboard app is really just a UI and sometimes also a text corrector.
Hmmm. I wonder about how Smart Keyboard Pro works its "calibration"... and then I wonder why without fail, switching keyboard is letting me navigate the text field better.
Something in the story you give is missing perhaps. Text correction for instance indicates going "into" the text field...
I notice the little handle to drag the cursor also feels way less buggy. I was having trouble even grabbing the handle in Google Keyboard. It also looks like a different handle.
Maybe things have changed from KitKat to Lollipop....perhaps somehow related to not being able to use any alternative IME if the default IME was removed. I saw others complaining about that. Some input method functions that were "deeper than the IME apk" are now placed differently...
I am not a dev though and wouldn't know where to begin to look in version manifest to see this described.
It makes sense a keyboard app dev would try to make entry work better if they COULD somehow fool the screen to better "read my mind" which is totally the aim of Smart Keyboard Pro's calibration function.
Not saying you're wrong exactly, but curious because I'm always learning and enjoy understanding and my test has seemed to work in my favour!
nednednerb said:
Hmmm. I wonder about how Smart Keyboard Pro works its "calibration"... and then I wonder why without fail, switching keyboard is letting me navigate the text field better.
Something in the story you give is missing perhaps. Text correction for instance indicates going "into" the text field...
I notice the little handle to drag the cursor also feels way less buggy. I was having trouble even grabbing the handle in Google Keyboard. It also looks like a different handle.
Maybe things have changed from KitKat to Lollipop....perhaps somehow related to not being able to use any alternative IME if the default IME was removed. I saw others complaining about that. Some input method functions that were "deeper than the IME apk" are now placed differently...
I am not a dev though and wouldn't know where to begin to look in version manifest to see this described.
It makes sense a keyboard app dev would try to make entry work better if they COULD somehow fool the screen to better "read my mind" which is totally the aim of Smart Keyboard Pro's calibration function.
Not saying you're wrong exactly, but curious because I'm always learning and enjoy understanding and my test has seemed to work in my favour!
Click to expand...
Click to collapse
The only thing a keyboard app can "calibrate for accuracy" is on the keyboard view itself, not the text field. Both the text cursor and text field are 100% handled by the system and in some cases the app you're typing in, never the IME application.
Okay, thanks.. hmm. What kind of system features may be responsible for precision?
There are "responsiveness" differences between kernels and ROM combos... but assuming I like my ROM and kernel, what kind of potential tweaks to settings might make the touch screen more snappy and stable for text editing?
I notice thermal throttling when using phone when charging definitely worsens ability to type. Way more lag.. for example, cursor will jump around. Key presses will hang.
Thank you @Lethargy for your time spent thinking.
nednednerb said:
Okay, thanks.. hmm. What kind of system features may be responsible for precision?
Click to expand...
Click to collapse
I don't know what you mean here. It uses InputMethodManager/InputMethodService, and text fields are managed by TextView.
nednednerb said:
There are "responsiveness" differences between kernels and ROM combos... but assuming I like my ROM and kernel, what kind of potential tweaks to settings might make the touch screen more snappy and stable for text editing?
Click to expand...
Click to collapse
ROMs have no influence unless one has a terribly written feature which lags the entire thing. Kernels don't affect anything themselves either - the kernel settings do, which are also user tunable anyways (default settings on a kernel are usually just what the builder prefers themselves). Neither have anything to do with text cursor placement accuracy, and no ROM should be messing with how the IME works anyways as it'll cause problems for more people than solve.
And there isn't anything you can do to make it more accurate other than physically (via using a stylus or having smaller fingers), since each touch is registered on an individual pixel, not the entire surface area being touched.
nednednerb said:
I notice thermal throttling when using phone when charging definitely worsens ability to type. Way more lag.. for example, cursor will jump around. Key presses will hang.
Click to expand...
Click to collapse
Not necessarily thermal throttle. An IME will run fine on a Nexus 5 even if you underclock to 1GHz. More likely its just your CPU usage being high and the IME isn't as high a priority as what is keeping up lets say 75% of your CPU.
So perhaps I might have less lag if I overclocked a bit? I guess that is obvious...
Do you know of not too invasive methods of altering the IME priority or tweaking the touch responsiveness in general?
Also, I am being more careful about my large thumb's "one pixel" touch point, and I am noticing an improvement already.... although I had already switched back to the 3rd party keyboard which seemed to help right away with input accuracy.
I also found a google android issue with 51 stars regarding generally buggy input issues in the Nexus 5 on Lollipop... so I am not too crazy about noting my issue perhaps!
Thanks for your help in understanding IME, @Lethargy.
nednednerb said:
So perhaps I might have less lag if I overclocked a bit? I guess that is obvious...
Do you know of not too invasive methods of altering the IME priority or tweaking the touch responsiveness in general?
Also, I am being more careful about my large thumb's "one pixel" touch point, and I am noticing an improvement already.... although I had already switched back to the 3rd party keyboard which seemed to help right away with input accuracy.
I also found a google android issue with 51 stars regarding generally buggy input issues in the Nexus 5 on Lollipop... so I am not too crazy about noting my issue perhaps!
Thanks for your help in understanding IME, @Lethargy.
Click to expand...
Click to collapse
Overclocking might not help that much, and I don't know of an easy way to force priority.
I don't have such issues with any sort of IME, so it's likely a per-user issue rather than affecting everybody. I also use the AOSP and Google keyboard.

Categories

Resources